text
stringlengths
3.52k
24k
/* * (c) Copyright 2020 Undercurrency * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package net.runelite.client.plugins.hans.general; import java.util.Arrays; import java.util.Comparator; import lombok.extern.slf4j.Slf4j; import net.runelite.api.Client; import net.runelite.api.GrandExchangeOffer; import net.runelite.api.GrandExchangeOfferState; import net.runelite.api.Item; import net.runelite.api.It...
/* MIT License Copyright (c) 2019 Gleethos 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, publish, distr...
/* * JBoss, Home of Professional Open Source * Copyright 2012 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. */ package org.jboss.sbs.data.action; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.UnsupportedEncodingE...
package com.gymnast.view.home.adapter; import android.content.Context; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Filter; import android.widget.Filterable; import androi...
package com.yingling.extensions.component; import com.intellij.execution.RunManager; import com.intellij.execution.application.ApplicationConfiguration; import com.intellij.execution.application.ApplicationConfigurationType; import com.intellij.execution.configurations.RunConfiguration; import com.intellij.execution.i...
package edu.wkd.towave.memorycleaner.mvp.presenters.impl.activity; import android.content.Context; import android.graphics.Canvas; import android.os.Bundle; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.helper.ItemTouchHelper; import android.view.MenuItem; import edu.wkd.towav...
package com.shencode.mylogger; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widge...
package control; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXToggleButton; import javafx.event.ActionEvent; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.image.Image; import javafx.scene.image.ImageView...
package uk.gov.hmcts.reform.cpo; import com.nimbusds.jose.JOSEException; import com.nimbusds.jose.JWSAlgorithm; import com.nimbusds.jose.JWSHeader; import com.nimbusds.jose.crypto.RSASSASigner; import com.nimbusds.jwt.JWTClaimsSet; import com.nimbusds.jwt.SignedJWT; import io.jsonwebtoken.Jwts; import io.jsonwebtoken....
/* * This class is part of the book "iText in Action - 2nd Edition" * written by <NAME> (ISBN: 9781935182610) * For more info, go to: http://itextpdf.com/examples/ * This example only works with the AGPL version of iText. */ package part3.chapter12; import java.io.FileInputStream; import java.io.FileOutp...
/** A data structure for a port instance. */ /************* Copyright (c) 2019-2022, The University of California at Berkeley. 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 t...
/* * Copyright (c) 1997, 2021, 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 ...
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
package npTranscript.cluster; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.SortedSet; import java.util.TreeSet; import java.util.con...
/* * Copyright 2020 The Netty Project * * The Netty Project 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/licenses/LICENSE-2.0 * * Unless ...
package thaumcraft.common.lib.network.fx; import io.netty.buffer.*; import net.minecraftforge.fml.common.network.simpleimpl.*; import net.minecraft.client.*; import net.minecraftforge.fml.relauncher.*; import net.minecraft.world.*; import thaumcraft.client.fx.particles.*; import java.awt.*; import thaumcraft.client.fx...
package org.mayukh.games.boardgames; import org.mayukh.games.api.Color; import org.mayukh.games.api.Game; import org.mayukh.games.api.Player; import java.util.Arrays; import java.util.List; import java.util.Random; import java.util.stream.Collectors; /** * Created by mayukh42 on 4/26/2016. * https://g...
package com.myxh.coolshopping.ui.fragment; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerV...
/** * 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...
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("ns") @Implements("FriendsChat") public class FriendsChat extends UserList { @Obfuscate...
package com.intellij.vssSupport.Checkin; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vcs.*; import com.intellij.openapi.vcs.changes.Change; import com.intellij.openapi.vcs.changes.ChangeListManager; import ...
/** * Copyright 2004-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
/* * 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, m...
package org.firstinspires.ftc.teamcode.robot.components.camera; import android.graphics.Bitmap; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore.hardware.Servo; import com.vuforia.Image; import com.vuforia.PIXEL_FORMAT; import org.first...
/** * @author <EMAIL> * @version 1.0 * <p> * <p>Title: Ant Colony Optimization (ACO*) Visualization</p> * <p>Description: classes for ACO* visualisation</p> */ package game.trainers.ant.aco; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; im...
package com.winningsmiledental; import java.io.*; import java.util.*; import java.sql.*; public class GuarantorRecordManager extends AbstractRecordManager { public GuarantorRecordManager (Executioner executioner) { super(executioner); } public GuarantorRecordManager (Executioner executioner, String dat...
package io.dongtai.iast.core.handler.hookpoint.controller.impl; import io.dongtai.iast.core.EngineManager; import io.dongtai.iast.core.handler.hookpoint.models.*; import io.dongtai.iast.core.handler.hookpoint.vulscan.dynamic.TrackUtils; import io.dongtai.iast.core.utils.StackUtils; import io.dongtai.iast.core.utils.Ta...
package moe.xinmu.wt; import com.fasterxml.jackson.annotation.JsonIgnore; import com.google.common.collect.Sets; import io.swagger.annotations.ApiModelProperty; import org.apache.commons.io.IOUtils; import org.apache.poi.POIXMLDocument; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.poifs.fi...
/******************************************************************************* * Copyright (c) 2006, 2013 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...
package ru.archiva.microsoft.cognitive.speechtotext.model; import com.google.gson.annotations.SerializedName; import java.util.Objects; /** * EvaluationProperties */ public class EvaluationProperties { @SerializedName("wordErrorRate2") private Double wordErrorRate2 = null; @SerializedName("wordErrorRate1")...
package org.samo_lego.commandvisualiser.gui; import com.mojang.brigadier.context.CommandContext; import com.mojang.brigadier.exceptions.CommandSyntaxException; import com.mojang.brigadier.tree.ArgumentCommandNode; import com.mojang.brigadier.tree.CommandNode; import eu.pb4.sgui.api.ClickType; import eu.pb4.sgui.api.el...
/* * This file is modified version of UiControllerImpl.java * which is available at https://github.com/android/android-test/blob/androidx-test-1.2.0/espresso/core/java/androidx/test/espresso/base/UiControllerImpl.java * * provideDynamicNotifier() is copied from BaseLayerModule.java * which is available at https://...
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package com.hci.nip.android.ui; import android.content.Context; import android.content.Intent; import android.hardware.Camera; import android.media.CamcorderProfile; import android.media.MediaRecorder; import android.os.Bundle; import android.util.Log; import android.widget.FrameLayout; import android.widget.TextView;...
/* ************************************************************************* * 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...
/* * Copyright 2011 gitblit.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 applicable law or ...
package io.fluentcoding.codemanbot.command; import io.fluentcoding.codemanbot.bridge.DatabaseBridge; import io.fluentcoding.codemanbot.bridge.SlippiBridge; import io.fluentcoding.codemanbot.util.*; import io.fluentcoding.codemanbot.util.codemancommand.CodeManCommand; import io.fluentcoding.codemanbot.container.PagingC...
package za.org.samac.harvest.adapter; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.support.annotation.NonNull; import android.support.design.widget.BottomNavigationView; import android.support.v7.app.AppCompatActivi...
/** * The MIT License (MIT) * * MSUSEL Quamoco Implementation * Copyright (c) 2015-2017 Montana State University, Gianforte School of Computing, * Software Engineering Laboratory * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation file...
package breakout; import static breakout.Paddle.PADDLE_SIZE_LENGTH; import breakout.Bricks.Projectile; import breakout.Menus.Menu; import breakout.Menus.StartMenu; import breakout.Powerups.PowerUp; import breakout.Powerups.PowerUpMaker; import java.util.ArrayList; import java.util.List; import javafx.animation.KeyFra...
/* * Copyright (c) 2003-201, KNOPFLERFISH project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this l...
package com.github.ffremont.downloader; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; im...
/* * Copyright (c) 2018, Temple University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of co...
package com.vector.androidkeystore; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.security.KeyPairGeneratorSpec; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.util.Base64; import android.util.Log; import...
/* * Copyright (C) 2012-2013 VMware, 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 b...
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("fc") @Implements("WorldMapSection0") public class WorldMapSection0 implements WorldMapS...
final class Solution { private static final int[][] matrix = { { 8, 2, 22, 97, 38, 15, 0, 40, 0, 75, 4, 5, 7, 78, 52, 12, 50, 77, 91, 8 }, { 49, 49, 99, 40, 17, 81, 18, 57, 60, 87, 17, 40, 98, 43, 69, 48, 4, 56, 62, 0 }, { 81, 49, 31, 73, 55, 79, 14, 29, 93, 71, 40, 67, 53, 88, 30, 3, 49, 13, 36, 65 }, { 52,...
package wniemiec.app.java.executionflow.analyzer; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import wniemiec.component.java.JDB; import wniemiec.app.java.ExecutionFlow; import wniemiec.app.java.executionflow.ana...
package controlleur; import javafx.collections.ListChangeListener; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.i...
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
/** * 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 m...
/* ======================================================= Copyright 2020 - ePortfolium - Licensed under the Educational Community 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.osedu.org/licenses/ECL-...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package ca.uvic.csc.research; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.Mapper; import org.apache.had...
package com.captainduckman.math; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; @DisplayName("More Matrix Test") class MoreMatrixTest extends AbstractMathTest { @Test void determinant2x2() { Matrix matrix = new Matrix(2);...
package implementation.gui.controller; import implementation.algorithms.Cluster; import implementation.gui.NeighborsInterface; import implementation.gui.model.*; import implementation.utils.CollectionsModel; import javafx.application.Platform; import javafx.beans.property.*; import javafx.beans.value.ChangeListener; i...
package br.com.hermeto.intranet.controller; import java.io.File; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotat...
package com.ra4king.jdoodlejump; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.geom.Point2D; import javax.swing.JOptionPane; import com.ra4king.gameutils.Game; import com.ra4king.gameutils.InputAdapter; import com.ra4king.gameutils.MenuPage; import com.ra4king.gameutils...
package dh.mygrades.main.core; import android.content.SharedPreferences; import android.util.Log; import com.securepreferences.SecurePreferences; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.jsoup.helper.StringUtil; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup....
package vn.vnpt.reportPlugin.service.report.impl; import com.aspose.cells.*; import com.atlassian.jira.issue.CustomFieldManager; import com.atlassian.jira.issue.Issue; import com.atlassian.jira.issue.IssueManager; import com.atlassian.jira.issue.fields.CustomField; import com.atlassian.jira.project.Project; import com...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.model.interestrate; import static org.testng.AssertJUnit.assertEquals; import static org.testng.internal.junit.ArrayAsserts.assertArrayEqu...
/* * Copyright (c) 2008-2019 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package istc.bigdawg.catalog; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import istc.bigdawg.exceptions.BigDawgCatalogException; public class CatalogUtilities { public static void checkConnection(Catalog cc) throws BigDawgCatalogException, SQLExcept...
package com.fr.swift.cloud.query.builder; import com.fr.swift.cloud.SwiftContext; import com.fr.swift.cloud.compare.Comparators; import com.fr.swift.cloud.exception.meta.SwiftMetaDataException; import com.fr.swift.cloud.log.SwiftLoggers; import com.fr.swift.cloud.query.builder.feture.SegmentColumnFeature; import com.f...
package net.i2p.i2pcontrol; /* * Copyright 2010 hottuna (<EMAIL>) * * 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 ...
/* * Copyright Cypress Semiconductor Corporation, 2014-2018 All rights reserved. * * This software, associated documentation and materials ("Software") is * owned by Cypress Semiconductor Corporation ("Cypress") and is * protected by and subject to worldwide patent protection (UnitedStates and foreign), United Sta...
// Copyright (c) 2004-2005, <NAME>, <NAME> // The Department of Computer Science // Technion - Israel Institute of Technology // // 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 m...
/*- * #%L * Fiji viewer for MoBIE projects * %% * Copyright (C) 2018 - 2022 EMBL * %% * 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,...
package squirrel.ir; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Propertie...
/* * Copyright (c) 2018, 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.apach...
package kn.uni.sen.joblibrary.tartar.modifymodel; import java.util.ArrayList; import java.util.List; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import kn.uni.sen.joblibrary.tartar.common.SMT2_OPTION; import kn.uni.sen.joblibrary.tartar.convert.ParseUPPAAL; import kn.uni.sen.job...
/* Violet - A program for editing UML diagrams. Copyright (C) 2002 <NAME> (http://horstmann.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your op...
package com.wangwei.cameragl.render; import android.content.res.Resources; import android.opengl.GLES11Ext; import android.opengl.GLES20; import android.util.Log; import com.wangwei.cameragl.utils.MatrixUtils; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuf...
package angelhack.biene; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.Point; import android.os.AsyncTask; import android.os.Bundle; i...
package org.occidere.instagramdump.common; /** * @author occidere * @since 2018-12-31 * Blog: https://blog.naver.com/occidere * Github: https://github.com/occidere */ import lombok.Setter; import org.apache.commons.lang3.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes...
package com.melib.Tree; import java.util.ArrayList; import java.util.Arrays; import com.melib.Base.COLOR; import com.melib.Base.CPaintMe; import com.melib.Base.CStrMe; import com.melib.Base.FONT; import com.melib.Base.MouseButtonsA; import com.melib.Base.POINT; import com.melib.Base.RECT; import com.melib.Base.RefObje...
import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; public class Scenery extends Hitbox { private double trajectory[][]; private int nbTrajectory; public int time; // frame number public double period; public int typeMove; /* 0: fixed, 1: Ro...
package com.tim.model; import java.sql.Timestamp; import java.io.Serializable; public class Position { private Long positionID =null; private Long shareID =null; private Long share_number =null; // total de acciones de la cartera private Long share_number_traded =null; // paquete acumulado pri...
package com.zm.service.utils; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.slf4j.Logger; import org.slf4j.LoggerFactor...
/* * 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 fr.metabohub.peakforest.implementation; import java.util.ArrayList; import java.util.List; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; public class CompoundsImplTest extends AImplTest { @BeforeClass public static void setUpBeforeClass() throws Exception { Assert.assertN...
/* Copyright 2016- Nordic ID NORDIC ID DEMO SOFTWARE DISCLAIMER You are about to use Nordic ID Demo Software ("Software"). It is explicitly stated that Nordic ID does not give any kind of warranties, expressed or implied, for this Software. Software is provided "as is" and with all faults. Under no ci...
package org.mtransit.parser.ca_ottawa_oc_transpo_bus; import static org.mtransit.commons.RegexUtils.DIGITS; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mtransit.commons.CharUtils; import org.mtransit.commons.CleanUtils; import org.mtransit.commons.provider.OttawaOCT...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...
/* * Copyright 2018-2020 The Code Department. * * 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 au.com.codeka.warworlds.model; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.HashSet; import java.util.Set; import org.andengine.opengl.texture.TextureOptions; import org.andengine.opengl.texture.atlas.ITextureAtlas.ITe...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package telnet; import controleur.Connecter; import controleur.DAOequipement; import controleur.Requettes; import java.io.PrintStream;...
package com.intive.shopme.offer; import com.intive.shopme.model.db.DbCategory; import com.intive.shopme.model.db.DbVoivodeship; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiParam; import lombok.Data; import org.apache.commons.lang3.StringUtils; import org.springframework.data.domain...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.github.jasminb.jsonapi; import com.github.jasminb.jsonapi.annotations.Id; import com.github.jasminb.jsonapi.annotations.Meta; import com.github.jasminb.jsonapi.annotations.Relationship; import com.github.jasminb.jsonapi.annotations.RelationshipLinks; import com.github.jasminb.jsonapi.annotations.Relationsh...
/** * <p>Title: T2Ti ERP</p> * <p>Description: PAF-ECF + TEF - Regras de negócio/persistência das Configurações.</p> * * <p>The MIT License</p> * * <p>Copyright: Copyright (C) 2010 T2Ti.COM</p> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated do...
package com.example.demourl; import androidx.annotation.RequiresApi; import androidx.appcompat.app.AppCompatActivity; import android.os.Build; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import java.net.MalformedURLException; impor...
/* ******************************************************************* * Copyright (c) 2013 VMware * * 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 and is available at * http:/...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.dae.cliente; import com.dae.entidad.Evento; import com.dae.entidad.Usuario; import com.dae.excepciones.FalloAcces...
package com.softsuit.arbol; import static org.junit.Assert.assertEquals; import java.util.Optional; import org.junit.Test; public class GrowthTest { private static Trunk<TwigInfo> trunk = new Trunk<TwigInfo>("trunkId"); @Test public void insertSeeds_checkGrowth() { Growth<TwigInfo> gt = new Growth<>(); gt...
package home.westering56.taskbox; import android.content.Context; import android.widget.AdapterView; import android.widget.SimpleAdapter; import android.widget.TextView; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.format.DateTimeFormatter; import java.time....
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package org.webrtc; import org.webrtc.DataChannel.Init; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; public class PeerConnection { private fina...
package com.whoyao.activity; import java.io.IOException; import java.net.MalformedURLException; import java.net.SocketTimeoutException; import org.apache.http.conn.ConnectTimeoutException; import org.json.JSONException; import org.json.JSONObject; import com.sina.weibo.sdk.auth.WeiboAuth; import com.sina.weibo.sdk.aut...