text
stringlengths
3.08k
15.2k
/** * Wegas * http://wegas.albasim.ch * * Copyright (c) 2013-2020 School of Business and Engineering Vaud, Comem, MEI * Licensed under the MIT License */ package com.wegas.core.rest; import ch.albasim.wegas.annotations.ProtectionLevel; import com.wegas.core.ejb.GameModelFacade; import com.wegas.core.ejb.PlayerFa...
/* * 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 com.example.pizzeria; import java.io.Serializable; import java.util.Arrays; public class Pizza implements Serializable { private String size; private String cliente; protected int total = 0; private int precioSize = 0; private boolean tieneCarne = false; private boolean tienePeperoni...
/* * Copyright 2015 <NAME>. (iamovrhere) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/******************************************************************************* * Copyright (c) 2017, 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, ...
/* * $RCSfile: MlibRotateRIF.java,v $ * * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.2 $ * $Date: 2005/11/21 22:49:40 $ * $State: Exp $ */ package com.lightcrafts.media.jai.mlib; import java.awt.RenderingHints; import java.awt.geom.Affi...
/******************************************************************************* * * Copyright FUJITSU LIMITED 2017 * * Author: zhaohang ...
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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 com.androidufo.ufo.api.compiler.processsor; import com.androidufo.ufo.api.annos.Api; import com.androidufo.ufo.api.annos.inject.Autowired; import com.androidufo.ufo.api.compiler.consts.DepsClazzPath; import com.androidufo.ufo.api.utils.GenerateRules; import com.google.auto.service.AutoService; import com.squar...
package Locations; import Armors.Armor; import Monsters.Monster; import Player.Player; import Weapons.Weapon; import java.util.Random; public abstract class BattleLoc extends Location { private Monster monster; private String award; private final int maxMonster; private final Random rand = new Random...
package com.curtisgetz.popularmoviesppt1.data; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.provider.MediaStore; import android.support.annotation.NonNull; import android.support.v7.widget....
package com.swe.zz_deprecated; import com.swe.scene.EditorSceneFilter; import com.jme3.app.Application; import com.jme3.app.SimpleApplication; import com.jme3.system.AppSettings; import com.jme3.system.JmeCanvasContext; import com.jme3.util.JmeFormatter; import com.swe.EditorBaseManager; import com.swe.Edito...
import java.util.ArrayList; import java.util.Stack; public class Parser { enum Stage { Whitespace, Identifier, Operator, Number, DoubleQuote, SingleQuote, BeginRegex, RegexPrefix, Regex, RegexPostfix, FinishStage } public Parser() { } public Object execute(String line, boolean wrap)...
package card; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.IntStream; import static org.junit.jupiter.api.Assertions.*; class Card...
/* * Copyright 2012-2013, <NAME> * Copyright 2017, <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...
import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import jav...
/** * 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...
/* * GphWorkingDlg.java * * Created on May 5, 2009, 10:00 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package wingph; import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; ...
// ======================================================================== // Copyright 2009 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. ...
package com.temple.web.rest; import com.temple.repository.PersonalDetailsRepository; import com.temple.service.PersonalDetailsService; import com.temple.service.dto.PersonalDetailsDTO; import com.temple.web.rest.errors.BadRequestAlertException; import java.net.URI; import java.net.URISyntaxException; import java.util....
package com.xyoye.dandanplay.app; import android.annotation.TargetApi; import android.content.ContentValues; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.os.Build; import android.os.Handler; import android.os.Looper; import com.blankj.utilcode.util.LogUtils; import 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 ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.lee.jackie.chatroom.svrs; import android.support.annotation.NonNull; import com.lee.jackie.chatroom.MainActivity; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.net....
package game_object; import static user_interface.GameScreen.GRAVITY; import static user_interface.GameScreen.GROUND_Y; import static user_interface.GameScreen.SPEED_Y; import static util.Resource.getImage; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.image.BufferedImage; import manager.Mana...
/* Copyright 2014 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
package com.cabapp.deep; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.provider.MediaStore; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Vie...
package com.happy3w.persistence.excel.demo; import com.alibaba.fastjson.JSON; import com.happy3w.persistence.core.rowdata.ExtConfigs; import com.happy3w.persistence.core.rowdata.IRdConfig; import com.happy3w.persistence.core.rowdata.RdAssistant; import com.happy3w.persistence.core.rowdata.config.DateFormatCfg; import ...
package edu.scripps.yates.utilities.util; import java.awt.Graphics; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.HeadlessException; import java.awt.Image; import java.awt.Transparency; import java.awt.image.BufferedImage; import java.awt.im...
package tools.snapshot.nodes; import com.oracle.truffle.api.Truffle; import com.oracle.truffle.api.dsl.GenerateNodeFactory; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.frame.FrameDescriptor; import com.oracle.truffle.api.frame.FrameSlot; import com.oracle.truffle.api.frame.Materiali...
/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2002-2008, Open Source Geospatial Foundation (OSGeo) * * This library 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 ...
/** * */ package br.com.dbsoft.log; import java.sql.Date; import java.text.SimpleDateFormat; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.log4j.HTMLLayout; import org.apache.log4j.spi.LoggingEvent; /** * Classe criada para formatar a data do arquivo HTML de log ...
/* * Copyright 2021 EPAM Systems, Inc * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the Li...
package com.inicu.cassandra.hapi; import java.io.IOException; import java.net.Socket; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import ca.uhn.hl7v2.ErrorCode; import ca.uhn.hl7v2.HL7Exception; import ca.uhn.hl7v2.app.Initiator; import ca....
package development.assistant.project.s_assistant; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar...
/*- * ===============LICENSE_START======================================================= * Acumos * =================================================================================== * Copyright (C) 2017 AT&T Intellectual Property & Tech Mahindra. All rights reserved. * ==========================================...
package practice.javafx.opencv; import java.awt.image.BufferedImage; import java.awt.image.DataBufferByte; import java.net.URL; import java.util.ResourceBundle; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import org.opencv.core.Ma...
package uk.ac.cam.cruk.fglab; import java.awt.Rectangle; import java.util.ArrayList; import ij.IJ; import ij.ImagePlus; import ij.gui.Roi; import ij.gui.ShapeRoi; import weka.core.Attribute; import weka.core.DenseInstance; import weka.core.Instance; import weka.core.converters.ArffLoader; import weka.core.converter...
/* ***** BEGIN LICENSE BLOCK ***** Version: Apache 2.0/GPL 3.0/LGPL 3.0 CCT - Computational Chemistry Tools Jamberoo - Java Molecules Editor Copyright 2008-2015 Dr. <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
package cn.alumik.parsetree; import cn.alumik.parsetree.exception.AnalysisException; import cn.alumik.parsetree.exception.ParsingException; import cn.alumik.parsetree.lexer.Lexer; import cn.alumik.parsetree.lexer.fsm.DFA; import cn.alumik.parsetree.lexer.fsm.FSMState; import cn.alumik.parsetree.lexer.fsm.NFA; import c...
package edu.utfpr.xbi.merger; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.util.regex.Pattern; import java.math.BigInteger; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; public class BrowserRow { private String URL; private int id; privat...
/* * This software is available under Apache License * Copyright (c) 2020 */ package org.pixel.graphics.render; import org.pixel.commons.DeltaTime; import org.pixel.commons.logger.Logger; import org.pixel.commons.logger.LoggerFactory; import org.pixel.content.Texture; import org.pixel.graphics.Color; import org.pi...
package org.sheepy.lily.vulkan.nuklear.ui; import org.joml.Vector2ic; import org.lwjgl.nuklear.NkColor; import org.lwjgl.nuklear.NkImage; import org.lwjgl.nuklear.NkRect; import org.lwjgl.system.MemoryUtil; import org.logoce.adapter.api.Adapter; import org.sheepy.lily.core.api.adapter.Dispose; import org.logoce.extend...
/* * Controlador Java de la Secretaria de Estado de Administraciones Publicas * para el DNI electronico. * * El Controlador Java para el DNI electronico es un proveedor de seguridad de JCA/JCE * que permite el acceso y uso del DNI electronico en aplicaciones Java de terceros * para la realizacion de proceso...
package view; import java.awt.Color; import java.awt.Font; import java.util.ArrayList; import javax.swing.JPanel; import javax.swing.border.LineBorder; import javax.swing.border.TitledBorder; import com.jgoodies.forms.layout.FormLayout; import com.jgoodies.forms.layout.ColumnSpec; import com.jgoodies.forms.layout.Ro...
package gc.regular; import flexsc.Flag; import flexsc.Mode; import gc.GCGenComp; import gc.GCSignal; import network.Network; public class GCGen extends GCGenComp { Garbler gb; public GCGen(Network channel) { super(channel, Mode.REAL); gb = new Garbler(); for(int i = 0; i < 2; ++i) { labelL[i] = new GCSign...
package bio.singa.structure.algorithms.superimposition.fit3d; import bio.singa.structure.algorithms.superimposition.fit3d.representations.RepresentationScheme; import bio.singa.structure.algorithms.superimposition.fit3d.statistics.StatisticalModel; import bio.singa.structure.model.interfaces.Atom; import bio.singa.str...
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package picard.analysis.directed; import htsjdk.samtools.SAMException; import htsjdk.samtools.SAMFileHeader; import htsjdk.samtools.SAMFileWriter; import htsjdk.samtools.SAMFileWriterFactory; import htsjdk.samtools.SAMReadGroupRecord; import htsjdk.samtools.SAMRecord; import htsjdk.samtools.SAMRecordSetBuilder; import...
/* * Derived from com.android.mms.ui.ComposeMessageActivity * (tag android-4.4.4_r2.0.1) */ package ca.bmaupin.merge.sms.ui; import java.util.ArrayList; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.database.Curso...
// This file contains material supporting section 3.7 of the textbook: // "Object Oriented Software Engineering" and is issued under the open-source // license found at www.lloseng.com import java.io.*; import java.util.Arrays; import java.util.Objects; import ocsf.server.*; /** * This class overrides some of the ...
package es.upm.woa.group3.agent.agworld.buildingcreation; import es.upm.woa.group3.agent.BaseAgent; import es.upm.woa.group3.agent.agworld.AgWorldService; import es.upm.woa.group3.error.AgentException; import es.upm.woa.group3.model.BuildingType; import es.upm.woa.group3.model.GameBoard; import es.upm.woa.group3.model...
/******************************************************************************* * 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) *...
/* * 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 2020 WeBank * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package com.github.unidbg.ios.dmg; import com.dd.plist.NSDictionary; import com.dd.plist.NSString; import com.dd.plist.PropertyListFormatException; import com.dd.plist.PropertyListParser; import com.github.unidbg.Emulator; import com.github.unidbg.Module; import com.github.unidbg.arm.backend.BackendFactory; import com...
package Negocio.aStar; import java.util.ArrayList; public class Nodo implements Comparable<Nodo> { /* Nodes that this is connected to */ Mapa map; Nodo north; Nodo northEast; Nodo east; Nodo southEast; Nodo south; Nodo southWest; Nodo west; ...
/* * Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria) * * 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 requir...
package com.askew.net.call; import android.text.TextUtils; import com.google.gson.reflect.TypeToken; import com.askew.net.ApiHider; import com.askew.net.IHttpProcessor; import com.askew.net.OkException; import com.askew.net.callback.OkHttpCallback; import com.askew.net.disposable.FutureDisposable; import com.askew.ne...
/* * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package ru.concerteza.util.buildnumber; /** * User: alexey * Date: 11/16/11 */ import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.project.MavenProject; import javax.script.ScriptEngine; im...
package services; import java.time.Duration; import java.time.temporal.ChronoUnit; import java.util.Iterator; import java.util.concurrent.CompletionStage; import javax.inject.Inject; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datab...
/* * Copyright 2020 KIT * * 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 writ...
import edu.colorado.nodes.Node; import edu.colorado.nodes.Lister; /****************************************************************************** * An LinkedBag<E> is a collection of references to E objects. * * @note * (1) Beyond Int.MAX_VALUE elements, countOccurrences, * size, and grab are wrong. * <p> * ...
package com.lordjoe.comet; import com.lordjoe.blast.JSonClusterRunner; import com.lordjoe.blast.NetClientGet; import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; import javax.servlet.RequestDispat...
import java.awt.Color; import java.awt.Graphics; import java.awt.Point; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.List; import java.util.Queue; public class Path { private Point startPoint, endPoint; private List<Point> shortestPath; private BufferedImage simulation; ...
package com.fasterxml.jackson.core.p134io; import java.io.CharConversionException; import java.io.IOException; import java.io.InputStream; import java.io.Reader; /* renamed from: com.fasterxml.jackson.core.io.UTF32Reader */ public class UTF32Reader extends Reader { protected final boolean _bigEndian; protecte...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (c) 2003-2019 Broad Institute, Inc., Massachusetts Institute of Technology, and Regents of the University of California. All rights reserved. */ package edu.mit.broad.genome.parsers; import edu.mit.broad.genome.Constants; import edu.mit.broad.genome.objects.*; import java.io.*; import java.util.Arra...
package com.sample.mediator; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.text.DecimalFormat; import java.util.Map; import org.apache.axis2.Constants; import org.apache.commons.io.IOUtils; import org.apache.commons.io.outp...
/* /* * Moxy - Lean-and-mean mocking framework for Java with a fluent API. * * Copyright 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 wi...
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */ package io.annot8.components.properties.processors; import io.annot8.api.annotations.Annotation; import io.annot8.api.bounds.Bounds; import io.annot8.api.capabilities.Capabilities; import io.annot8.api.components.annotations.ComponentDescription; import io.annot8.a...
package com.uber.concurrency.loadbalancer; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Ticker; import com.google.common.collect.ImmutableList; import com.uber.concurrency.loadbalancer.internal.TaskConcurrency; import com.uber.concurrency.loadbalancer.internal.TaskConcurrencyDe...
/* * This file is part of Arduino. * * Arduino 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 2 of the License, or * (at your option) any later version. * * This program is distributed ...
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2014 */ package com.ibm.streamsx.inet.rest.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.BufferedInputStream; import java.io.IOException; import java.net.HttpURLConnection; import java.net....
package com.github.freeacs.common.util; import java.util.Calendar; import java.util.HashMap; import java.util.Map; /** * This class will represent "time windows". Examples of time windows * * <p>mo-fr:0800-1600 mo-su:1600-2400 mo:1600-1601 fr-mo:0800-1600 fr-mo:2300-0500 * * <p>The class offers 3 methods to deal...
package org.javasimon.jdbc4; import java.util.Arrays; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; /** * Unit tests for SqlNormalizer class. * * @author <NAME> * @author <a href="mailto:<EMAIL>"><NAME>" Richter</a> * @since 2.4 */ public final class ...
/* * Copyright (C) 2019 <NAME> * * Licensed either under the Apache License, Version 2.0, or (at your option) * under the terms of the GNU General Public License as published by * the Free Software Foundation (subject to the "Classpath" exception), * either version 2, or any later version (collectively, the "Lice...
package com.najafi.ali.personalmanagement.Activities.Home; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentMa...
package ru.mail.polis.dao.s3ponia; import org.jetbrains.annotations.NotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.Closeable; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.file.Path; import java.nio.file.StandardOpenOpti...
package Dec2020Leetcode; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; public class _0037SudokuSolver { public static void main(String[] args) { solveSudoku(new char[][] { new char[] { '5', '3', '.', '.', '7', '.', '.', '.', '.' }, new char[] { '6', '.', '.', '1', '9', '5', '.',...
package org.easyubl.email; import com.sun.mail.smtp.SMTPMessage; import org.clarksnut.truststore.HostnameVerificationPolicy; import org.clarksnut.truststore.JSSETruststoreConfigurator; import org.clarksnut.truststore.Truststore; import org.clarksnut.truststore.TruststoreProvider; import org.jboss.logging.Logger; impor...
import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import javax.swing.*; public class BrickBreaker { public static void main(String[] args) { JOptionPane.showMessageDialog(null, "Welcome to Nick's Version of Brickbreaker!"); JFrame frame = new JFrame(); frame.setDefaultCloseOperation(J...
package com.paasta.scapi.controller; import com.fasterxml.jackson.core.JsonProcessingException; import com.paasta.scapi.common.Common; import com.paasta.scapi.entity.RepoPermission; import com.paasta.scapi.repository.RepoPermissionRepository; import com.paasta.scapi.service.RepoPermissionApiService; import com.paasta....
package com.chaoip.ipproxy.controller; import com.chaoip.ipproxy.controller.dto.ChargeDto; import com.chaoip.ipproxy.controller.dto.ProductOrderDto; import com.chaoip.ipproxy.controller.dto.RouteDto; import com.chaoip.ipproxy.controller.dto.UserDto; import com.chaoip.ipproxy.repository.entity.*; import com.chaoip.ippr...
package net.logicsquad.nanocaptcha.image.renderer; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.util.Random; import java.util.concurrent.atomic.AtomicInteger; /** * <p> * Based on the {@link DefaultWordRenderer}, this implementation strips...
package q950; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Queue; import org.junit.runner.RunWith; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * [Hard] 924. Minimize Malware Spread * https://leetcod...
/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001,2002 <NAME>. * * All rights reserved. Email: <EMAIL> Web: www.q12.org * * Open Dynamics Engine 4J, Copyrig...
package gb.esac.integral; import gb.esac.tools.MinMax; import gb.esac.tools.Converter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.IOException; import nom.tam.fits.Fits; import nom.tam.fits.Header; import nom.tam.fits.ImageData; impor...
package org.jpy; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.File; import java.util.regex.Pattern; import org.junit.After; import ...
/** * Copyright (C) 2009 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...
/* * 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 util; import java.io.Serializable; import java.util.ArrayList; /** * The Class ShortestPathAlgorithm. */ public class ShortestPathAlgorithm implements Serializable{ /** The Constant serialVersionUID. */ private static final long serialVersionUID = 8744312712705985030L; /** * The Cla...
/* Copyright 2017 Digital Learning Sciences (DLS) at the University Corporation for Atmospheric Research (UCAR), P.O. Box 3000, Boulder, CO 80307 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 a...
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 the ConQAT Project | | | | Licensed u...
package urn.ietf.params.xml.ns.yang.nfvo.mano.types.rev150423.guest.epa.guest.epa.numa.policy.numa.aware; import java.util.List; import org.opendaylight.yangtools.yang.binding.Augmentable; import org.opendaylight.yangtools.yang.binding.ChildOf; import org.opendaylight.yangtools.yang.common.QName; import urn.ie...
package sg.lifecare.medicare.ble.aandd; import android.app.Activity; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattService; import android.content.Context; import android.content.SharedPrefer...
package com.idisfkj.hightcopywx.me.friendcircle; import android.app.Activity; import android.content.Intent; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widg...
/* * Copyright (c) 2016, Salesforce.com, Inc. * 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 c...
package com.github.javaparser.issues; import com.github.javaparser.JavaToken; import com.github.javaparser.Range; import com.github.javaparser.StaticJavaParser; import com.github.javaparser.TokenRange; import com.github.javaparser.ast.CompilationUnit; import com.github.javaparser.ast.Node; import com.github.javaparser...
/** * Copyright (c) 2016-2017 <NAME>. http://csthings.net * 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, mo...