text
stringlengths
3.52k
24k
/** * AESCipherOld * *This class holds all of the necessary means for us to do our AES conversion * Cipher */ public class AESCipherOld { /** * This S Box contains all of the values needed for our substitution portion * of the cipher */ private static final String[] sbox = { "63", "7C", "77", "...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands; import java.util.ArrayList; import edu.wpi.first.math.controller.HolonomicDriveController; ...
// =============================================================================== // Authors: AFRL/RQQD // Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division // // Copyright (c) 2017 Government of the United State of America, as represented by // the Secretary of th...
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
package cn.codepub.algorithms.similarity.cilin; import com.google.common.base.Preconditions; import lombok.extern.log4j.Log4j2; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.junit.Test; import java.io.IOException; import java.io.InputStream; import java.util.*...
/******************************************************************************* * Delta-Simulink * Copyright (c) 2013, RIDT, All rights reserved. * * This project is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free...
package eu.smartdatalake.simjoin.fuzzysets.alg; import java.util.PriorityQueue; import java.util.concurrent.ConcurrentLinkedQueue; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import eu.smartdatalake.simjoin.fuzzysets.FuzzyIntMatchingPair; import eu.smartdatalake.simjoin.fuzzys...
/* * Copyright (C) 2014 <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 to ...
/* * Copyright 2012 FrostVoid Software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
package com.xuwangcheng.html2word.handler; import cn.hutool.core.bean.BeanUtil; import com.deepoove.poi.NiceXWPFDocument; import com.deepoove.poi.data.MiniTableRenderData; import com.deepoove.poi.util.TableTools; import com.xuwangcheng.html2word.HandlerInParams; import com.xuwangcheng.html2word.HandlerOutParams; impor...
package de.uniwue.VNFP.algo; import de.uniwue.VNFP.model.Link; import de.uniwue.VNFP.model.NetworkGraph; import de.uniwue.VNFP.model.Node; import de.uniwue.VNFP.model.TrafficRequest; import de.uniwue.VNFP.model.solution.NodeAssignment; import de.uniwue.VNFP.model.solution.TrafficAssignment; import java.util.*; /** ...
package com.koch.ambeth.cache.interceptor; /*- * #%L * jambeth-cache * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * 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 net.infinityrooms; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder; import net.fabricmc.fabric.api.item.v1.FabricItemSettings; import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; import net.fabricmc.fabric.api.tag.FabricItem...
package com.lenovo.safecenterwidget; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.os.Handler; import android.util.Log; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOExcep...
package io.github.jython234.matrix.bridges.discord; import io.github.jython234.matrix.appservice.Util; import io.github.jython234.matrix.appservice.event.presence.PresenceMatrixEvent; import io.github.jython234.matrix.appservice.event.room.RoomMemberMatrixEvent; import io.github.jython234.matrix.appservice.event.room....
/* * This software is distributed under following license based on modified BSD * style license. * ---------------------------------------------------------------------- * * Copyright 2003 The Nimbus Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
/*- * * Copyright 2018 Edge Hill University * * Copyright 2016 Skymind, 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...
package postprocessing; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import com.fasterxml.jackson.dataformat.yaml.YAMLGenerator; import fluentSolver.Fluent; import fluentSolver.FluentNetworkSolver; import htn.HTNMetaConstraint; import htn.HTNOperator; import htn.HTNPlanner; import htn.PlanReportroryItem; ...
package ooga.view; import javafx.animation.PauseTransition; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.image.Image; import javafx.scene.input.MouseEvent; import javafx.scene.layout.GridPane; import javafx.scene.layout.VBox; import javafx.util.Durati...
package klaue.furrycrossposter.sites; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.TreeMap; import java.util.TreeSet; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openq...
package io.particle.android.sdk.devicesetup.ui; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.SpannableStringBuilder; import android.text.style.RelativeSizeSpan; import android.view.View; import android.widget.EditText; import android.widget...
/* * The MIT License * * Copyright 2017 <NAME>. * * 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, ...
package com.amazonaws.sns.samples.mobilepush; /* * Copyright 2013 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.a...
/******************************************************************************* * Copyright 2009 OpenSHA.org in partnership with * the Southern California Earthquake Center (SCEC, http://www.scec.org) * at the University of Southern California and the UnitedStates Geological * Survey (USGS; http://www.usgs.gov) *...
/* * Copyright (c) 2021 Maritime Connectivity Platform Consortium * * 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 b...
package diy.capmana.game; import android.content.Context; import android.graphics.Point; import android.graphics.PointF; import android.opengl.Matrix; import android.os.Parcel; import android.os.Parcelable; import android.util.Log; import java.io.DataInputStream; import java.io.IOException; import java.io...
package com.nathan818.polus.protocol.util; import java.util.Random; import java.util.concurrent.ThreadLocalRandom; import lombok.experimental.UtilityClass; @UtilityClass public class GameCodeUtil { public static int gameCodeFromString(String value) throws IllegalArgumentException { if (value.length() == 6...
package ch.hevs.aislab.magpie.android; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Binder; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android...
package org.scache; /* * Smart Cache, http proxy cache server * Copyright (C) 1998-2003 <NAME> * * Smart Cache is Open Source Software; you may redistribute it * and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2, or (a...
package sPreprocess.sCliqueGeneration; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fil...
package com.vyw.rephotoandroid; import static org.opencv.core.Core.meanStdDev; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.Matrix; import android.media.ExifInterface; import android.net.Uri; import androi...
package io.amient.affinity.core.storage; import io.amient.affinity.core.state.ObservableState; import io.amient.affinity.core.util.EventTime; import io.amient.affinity.core.util.MappedJavaFuture; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; import java.nio.ByteBuffer; import java.nio.fil...
/* * Licensed to ElasticSearch and <NAME> 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...
package com.example.uberclone; import android.Manifest; import android.content.pm.PackageManager; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.net.Uri; import android.os.Build; import android.os.Handler; import android.sup...
package nl.andredewaal.home.juluspace; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.pi4j.io.serial.Baud; import com.pi4j.io.serial.DataBits; import com.pi4j.io.serial.FlowContro...
package datamining1; import java.util.ArrayList; import java.util.List; //import datamining1.fpTree.*; import datamining1.DataMining1.*; public class extractTree { Node root;int prefix; List<Node> stk = new ArrayList<Node>(); List<Node> sp_stk = new ArrayList<Node>(); List<Node> create_stk= n...
package colorfix.app.controls.picker; import colorfix.app.ExtendedColor; import colorfix.app.util.Assets; import colorfix.app.util.ColorUtil; import colorfix.app.util.Maths; import javafx.beans.binding.Bindings; import javafx.beans.binding.DoubleExpression; import javafx.beans.property.SimpleDoubleProperty; i...
package org.testcontainers.junit; import com.google.common.util.concurrent.Uninterruptibles; import com.mongodb.MongoClient; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoDatabase; import com.rabbitmq.client.*; import org.bson.Document; import org.junit.BeforeClass; import org.junit.ClassRu...
package io.github.ruedigerk.contractfirst.generator.client; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonParseException; import io.github.ruedigerk.contractfirst.generator.client.internal.BodyPart; import io.github.ruedigerk.contractfirst.generator.client.internal.MediaTy...
package com.algos.stockscanner.services; import com.algos.stockscanner.beans.ContextStore; import com.algos.stockscanner.data.entity.Generator; import com.algos.stockscanner.data.entity.MarketIndex; import com.algos.stockscanner.data.entity.Simulation; import com.algos.stockscanner.data.service.GeneratorService; impor...
/* * Copyright 2009-2013 <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 net.arctics.clonk.util; import static net.arctics.clonk.util.ArrayUtil.iterable; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.util.Iterator; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; import java.util.str...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package edu.kit.aquaplanning.grounding; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import edu.kit.aquaplanning.model.lifted.AbstractCondition; import edu.kit.aquaplanning.model.lifted.Argument; import edu.kit.aquaplanning.model.lifted.Condition; import edu.kit.a...
package cse332.chess.gui; //package com.chessclub.easychess; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.LinkedList; import java.util.Observable; import java.util.Observer; ...
/** (C) Copyright 2014 Chiral Behaviors, 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 ...
package imj3.tools; import static java.lang.Math.min; import static multij.swing.SwingTools.getFiles; import static multij.swing.SwingTools.scrollable; import static multij.tools.Tools.array; import static multij.tools.Tools.debugPrint; import static multij.tools.Tools.unchecked; import java.awt.BorderLayout; import ...
/* * 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 ...
/* * MIT License * Copyright (c) 2018 <NAME> * * 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 medigram.medigram; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; impo...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.Servo; import com.qualcomm.robotcore.util.ElapsedTime; import org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix; import org.firstinspires.ftc.robotcore.external.navi...
/* * LensKit, an open-source toolkit for recommender systems. * Copyright 2014-2017 LensKit contributors (see CONTRIBUTORS.md) * Copyright 2010-2014 Regents of the University of Minnesota * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentati...
package threesixty.hr.management.server.services.employee; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import org.eclipse.scout.rt.platform.BEANS; import org.eclipse.scout.rt.platform.holders.BeanArrayHolder; import org.eclipse.scout.rt.server.jdbc.ISqlService; import org.eclip...
package com.themaster.quizzer; import android.animation.Animator; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.ColorStateList; import android.graphics.Color; import android.os.Bundle; import andr...
package ca.uhn.fhir.jpa.starter; import java.security.PublicKey; import java.util.List; import org.apache.commons.lang3.ObjectUtils; import org.hl7.fhir.r4.model.IdType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpHeaders; import com.auth0.jwt.JWT; import com.auth0.jw...
package jp.gr.java_conf.ya.timetablewidget; // Copyright (c) 2018 YA <<EMAIL>> All rights reserved. import android.Manifest; import android.app.AlarmManager; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android...
/* * 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.google.android.gms.internal; import android.content.Context; import android.os.Bundle; import android.os.Looper; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GoogleApiAvailability; import com.google.android.gms.common.api.Api; import com.google.android.gms.com...
package com.climbwithyourfeet.clustering; import java.util.Arrays; /** * * @author nichole */ public class BackgroundSeparationHolder { /* There are two states of data present here. (1) the PDF is in the scaled axes reference frame (if no scaling is performed the scaled is the original d...
package game; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Image; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.ArrayList; import javax.swing.JPanel; import entities.*; @SuppressWarnings("serial") public class Sc...
package pers.louisj.Zwm.Bar; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.logging.log4j.Logger; import pers.louisj.Zwm.Core.Context; import pers.louisj.Zwm.Core.Global.Message.Message; import pers.louisj.Zwm.Core.Global.Message...
package com.example.admin.pokemongo; import android.content.Intent; import android.content.pm.ActivityInfo; import android.hardware.Camera; import android.graphics.PixelFormat; import android.location.Location; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Surf...
/* * UFF Project Semantic Learning */ package br.uff.dl.rules.drew; import it.unical.mat.wrapper.*; import org.semanticweb.drew.dlprogram.format.DLProgramStorer; import org.semanticweb.drew.dlprogram.format.DLProgramStorerImpl; import org.semanticweb.drew.dlprogram.model.DLProgram; import org.semanticweb.drew.dlprog...
package me.legit.api.game.reward; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutureCallback; import com.google.api.core.ApiFutures; import com.google.cloud.firestore.*; import com.google.common.util.concurrent.MoreExecutors; import com.google.firebase.auth.FirebaseAuth; import com.google.fireb...
/* * Copyright (C) 2012 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...
/* * Copyright (c) 2005 SibInco Inc. All Rights Reserved. */ package ru.sibinco.scag.backend.routing; import org.apache.log4j.Logger; import ru.sibinco.scag.backend.endpoints.svc.Svc; import ru.sibinco.scag.backend.endpoints.SmppManager; import ru.sibinco.scag.backend.endpoints.meta.MetaEndpoint; import ru.sibinco.s...
/* BSD 3-Clause License Copyright (c) 2019, Tomas All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of con...
/*- * ===============LICENSE_START======================================================= * Acumos * =================================================================================== * Copyright (C) 2017 AT&T Intellectual Property & Tech Mahindra. All rights reserved. * ==========================================...
/* * Copyright (C) 2012-2015 DataStax 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 app...
package com.google.android.gms.internal.ads; import android.annotation.TargetApi; import android.content.Context; import android.graphics.SurfaceTexture; import android.opengl.GLES20; import android.util.Log; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.util.concurren...
/* * Copyright (c) 2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fo...
/***************************************************** * * ShippingActivity.java * * * Modified MIT License * * Copyright (c) 2010-2015 Kite Tech Ltd. https://www.kite.ly * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the...
/* * Copyright (c) 2021 - <NAME> - https://www.yupiik.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 applica...
package me.songbx.mains; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.regex.Matcher; import java.util.regex.Pattern; import me.song...
package me.saharnooby.qoi.benchmark; import lombok.NonNull; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.awt.image.IndexColorModel; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.util.List; import java.ut...
/* * Copyright 2014 JBoss, by Red Hat, 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 ...
package org.security.crypt.digest; import java.io.InputStream; import java.security.SecureRandom; import java.util.HashMap; import java.util.Map; import org.security.crypt.util.Base64Converter; import org.security.crypt.util.Converter; import org.security.crypt.util.HexConverter; import org.slf4j.Logger; import org.sl...
package com.sample.dimens; import android.Manifest; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; impo...
package com.neueda.etiqet.core.json; import com.google.gson.JsonArray; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonNull; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import co...
/******************************************************************************* * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
/* * Copyright (c) 2017, LeanFrameworks * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of cond...
/* * ALGORITMOS Y ESTRUCTURAS DE DATOS * TAREA INTEGRADORA 3 * DIAZ - MARTINEZ - RODAS */ /* * Kruskal algorithm taken from https://youtu.be/RIayaaOCllU */ package collections; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collection; import java.util.Hashtable; import java.util.Lis...
/* GUIClient.java */ package org.xlattice.protocol.stun; import java.awt.*; import java.awt.event.*; import java.awt.image.BufferedImage; import javax.naming.NamingException; import javax.swing.*; import java.io.IOException; import java.net.InetAddress; import java.net.Inet4Address; import java.net.UnknownHostExcepti...
package chess.ui; import chess.Options; import chess.engine.Game; import chess.engine.Side; import chess.engine.byteboard.Position; import chess.engine.byteboard.PositionBuilder; import chess.engine.byteboard.PositionWriter; import chess.ui.popup.GameOverPopup; import chess.ui.popup.PromotionPopup; import chess.ui.win...
package com.threedr3am.bug.feature; import java.util.regex.Pattern; /** * @author threedr3am */ public class XStream { static Pattern pattern = Pattern.compile("<map>\\s*?<entry>\\s*?<[\\w$\\.]+?>"); public static void main(String[] args) { printAndMatch(payload); printAndMatch(payload2); printAn...
/** ==================================================================== PokeStat Speechlet class, containing most of the logic for PokeStat ==================================================================== */ package pokestat; import java.util.Map; import java.io.IOException; import java.net.URL; import java.uti...
/* * UpgradeUtilities.java * * 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 ...
package strict.graph; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import javax.swing.JFrame; import org.jgraph.graph.DefaultEdge; import org.jgrapht.DirectedGraph; import org.jgrapht.graph.DefaultDirectedGraph; import org.jgrapht.graph.DefaultWeightedEdge; impo...
package jp.crestmuse.cmx.commands; import java.util.ArrayList; import java.util.Collections; import java.util.List; import jp.crestmuse.cmx.filewrappers.MIDIXMLWrapper; import jp.crestmuse.cmx.filewrappers.MIDIXMLWrapper.MIDIEvent; class TimeInSecForSMF { MIDIEvent[] tempolist; int currentTick0 = 0; MIDIEvent[]...
package engd_abm; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; import javax.swing.JFrame; import sim.display.Console; import sim.display.Controller; import sim.display.Display2D; import sim.display.GUIState; import sim.portrayal.DrawInfo2D; import sim.portrayal.FieldPortrayal2...
package com.pump.awt.geom.mask; import com.pump.awt.geom.*; import java.awt.*; import java.awt.geom.*; import java.io.Serial; import java.io.Serializable; import java.util.*; import java.util.List; /** * This is a composition of rectangles. * <p> * The Area class can (in rare cases) throw memory errors or take an...
/***************************************************************************** * Copyright (c) <NAME>, Monash Uni & UQ, All rights reserved. * * * * Redistribution and use in source and binary forms, with or without * * modific...
package cspace.scene; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.NoSuchElementException; import jgl.math.vector.Vec2d; imp...
/* * Copyright 2017 Crown Copyright * * 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...
/* * The MIT License * * Copyright 2017 michael. * * 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,...
package bt.speech.tts; import marytts.Version; import marytts.datatypes.MaryDataType; import marytts.exceptions.MaryConfigurationException; import marytts.features.FeatureProcessorManager; import marytts.features.FeatureRegistry; import marytts.modules.MaryModule; import marytts.modules.ModuleRegistry; import marytts....
/** * The MIT License * Copyright (c) 2003 <NAME> * * 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,...
package shef.main; import com.beust.jcommander.JCommander; import edu.gatech.xpert.dom.DomNode; import edu.gatech.xpert.dom.JsonDomParser; import edu2.gatech.xpert.dom.layout.AGDiff; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.time.StopWatch; import org.openqa.selenium.Dimension; import or...
/** * Copyright (C) 2011 Talend Inc. - www.talend.com */ package oauth2.thirdparty; import java.net.URI; import java.util.HashMap; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import java.util.logging.Logger; import javax.ws.rs.FormParam; import javax.ws.rs.GET; import javax.ws.rs.POST; i...
package dev.jshfx.fonts; import java.util.Map; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.control.Label; import javafx.scene.text.TextAlignment; public class Fonts { public static final String FONT_AWESOME = "FontAwesome"; public static final Str...