text
stringlengths
3.08k
15.2k
/* * Copyright 2019 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package org.bf2.sync.controlplane; import io.quarkus.arc.profile.UnlessBuildProfile; import io.quarkus.runtime.Startup; import io.quarkus.scheduler.Scheduled; import org.bf2.common.ConditionUtils; import org.bf2.common.ManagedKafkaAgentResourceClient; import org.bf2.operator.resources.v1alpha1.ManagedKafka; import org...
/** * Copyright (C) 2012-2013 Selventa, Inc. * * This file is part of the OpenBEL Framework. * * This program 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 Software Foundation, either version 3 of the License, or ...
/** * @@@ START COPYRIGHT @@@ * * 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 ...
package com.rxxb.imagepicker; import android.content.Intent; import com.rxxb.imagepicker.bean.ImageItem; import com.rxxb.imagepicker.crop.AspectRatio; import com.rxxb.imagepicker.loader.GlideImageLoader; import com.rxxb.imagepicker.ui.ImageGridActivity; import com.rxxb.imagepicker.util.BitmapUtil; import com.rxxb.ima...
package jp.mzw.ajaxmutator.util; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.net.ServerSocket; import java.nio.channels.F...
package com.garg.concepts.algos; public class Arrays { /** * Recursive solution. * Also see http://shashank7s.blogspot.com/2011/04/wap-to-print-2d-array-matrix-in-spiral.html */ public static void printSpiral(int[][] a) { // tl = top left, br = bottom right. int tlx = 0, tl...
// Decompiled by Jad v1.5.8g. Copyright 2001 <NAME>. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.ext.ui; import android.content.res.Resources; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import android.support.v4.content....
package servlets; import db.Category; import db.DBManager; import db.Photo; import db.Product; import db.User; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import java.text.DecimalFormat; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; im...
package com.codepig.common.net; import android.app.DownloadManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Environmen...
package org.tdar.utils; import java.io.File; import java.util.Map.Entry; import java.util.Properties; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.SystemUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.tdar.configuration.ConfigurationAssistant; import org.tdar.c...
/* * Copyright 2006 The Apache Software Foundation * * 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 ...
// Author: <NAME> (<EMAIL>) // // August 2002 // // $Id: FTConfig.java,v 1.1.1.1 2002/08/09 15:00:52 lsw Exp $ package infonet.javasim.FT.contract; import drcl.comp.*; import drcl.data.*; import drcl.net.*; import drcl.inet.data.*; import drcl.util.ObjectUtil; import drcl.util.StringUtil; import drcl.inet.contract.*;...
/* ************************************************************************* * 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> // //BBN Technologies //10 Moulton Street //Cambridge, MA 02138 //(617) 873-8000 // //Copyright (C) BBNT Solutions LLC. All rights reserved. // //</copyright> //*********************************************************************...
/* * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * 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 * ...
/* * This file is part of BlueMap, licensed under the MIT License (MIT). * * Copyright (c) Blue (<NAME>) <https://bluecolored.de> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), t...
/* * 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 java.util.*; public class Rail_res { public int mtyp(int m,int y){ int h; if (m==4||m==6||m==9||m==11) h=30; else if (m==2) { if (y%4==0) h=29; else h=28;} else h=31; return h;} public int date(int d,int m, int y) { int d0,m0,y0,k,p,cy=0,i,cm0=0,s0=0,cm=0,s=0...
package sketch.compiler.passes.lowering; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import sketch.compiler.ast.core.FEReplacer; import sketch.compiler.ast.core.Function; import s...
/* * Copyright 2006-2010 Virtual Laboratory for e-Science (www.vl-e.nl) * Copyright 2012-2013 Netherlands eScience Center. * * 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 the following...
package za.co.wstoop.jatalog; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.Collection; import java.util.Map; import org.junit.Test; import za.co.wstoop.jatalog.DatalogException; import za.co.wstoop.jatalog.Expr; import za.co.wstoop.jatalog.Jatalog; import z...
package fiji.build; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Set; public class CompileJar extends Rule { protected String configPath; protected String classPath; protected CompileNativeLibrary compileLibrary; public CompileJar(Parser parser, String target, List<St...
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * * Unl...
package a2.mobile.mobileapp.activities; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.view.Menu; import android.widget.ProgressBar; import android.widget.RelativeLayout; import android.widget.Toast; import androidx.annotat...
/* Copyright (C) 2016-2019 <NAME>, <NAME>, <NAME> This file is part of Gadgetbridge. Gadgetbridge 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 Free Software Foundation, either version 3 of the License, or (...
package com.mageshowdown.gamelogic; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.scenes.scene2d.Stage; import com.mageshowdown.gameclient.ClientAssetLoader; import java.util.ArrayList; import java.util.HashMap; import java.util....
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.07....
package pl.poznan.put.structure.formats; import org.junit.Before; import org.junit.Test; import pl.poznan.put.pdb.analysis.MoleculeType; import pl.poznan.put.pdb.analysis.PdbModel; import pl.poznan.put.pdb.analysis.PdbParser; import pl.poznan.put.pdb.analysis.PdbResidue; import pl.poznan.put.utility.ResourcesHelper; ...
package es.fiturjc.service; import java.util.*; import java.util.Map.Entry; import java.util.stream.Collectors; import es.fiturjc.model.Category; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; ...
/** * This file is part of the Harmony package. * * (c) <NAME> <<EMAIL>> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ package com.tactfactory.harmony; import java.util.Arrays; import java.util.HashMap; import com.tactfactory.h...
/******************************************************************************* * Copyright (c) 2014, MD PnP Program * 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 o...
package src.controller.Simulation; import src.Model.Cell; import java.util.*; import src.Model.*; import src.Model.Grid; public class SlimeMoldHistoricalSimulation extends Simulation{ private List<Actor> actors; private Grid myGrid; private int emptyCell = 0; private int amoebaCell = 1; private double dropRat...
/* Copyright 2006-2011 <NAME> (<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 required by applicable law or agreed to in ...
package org.unidal.cat.core.alert.model; import java.io.IOException; import java.io.OutputStream; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.zip.GZIPOutputStream; import javax.servlet.Filter; import javax.servlet.FilterChain; import java...
package br.com.centralit.citcorpore.integracao; import java.sql.Timestamp; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.List; import br.com.centralit.citcorpore.bean.AuditoriaItemConfigDTO; import br.com.centralit.citcorp...
package com.rmyh.report.bean; import java.util.HashMap; import java.util.Map; import com.alibaba.fastjson.JSONObject; //import com.rmyh.report.bean.XNDataBeanInterface; public class XNDataBean { // public final static String Family1 = "basic_info"; public final static String Family2 = "value_info"; public stati...
/* * 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");...
package com.google.android.gms.analytics.internal; import android.content.Context; import android.text.TextUtils; import android.util.Log; import com.google.android.gms.analytics.GoogleAnalytics; import com.google.android.gms.common.internal.zzx; import com.google.android.gms.internal.zznl; import com.google.android.g...
package io.satellitesoftware.struct; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import io.satellitesoftware.struct.StructureDefinition; import io.satellitesoftware.struct.FD; import io.satellitesoftware.struct.DataType; import java.util.Map; import java.util.HashMap...
package xml.parser; import models.Person; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.Nullable; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers...
package org.supply.simulator.display.renderer.impl; import org.supply.simulator.data.entity.Entity; import org.supply.simulator.data.entity.Positions; import org.supply.simulator.display.renderer.BufferIDContainer; import org.supply.simulator.display.renderer.EntityRenderer; import org.supply.simulator.display.r...
/* * Copyright (c) 2014-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 appl...
/* * Copyright 2008 - 2019 <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 com.swatisingh0960.github.twitterredux.activities; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.view.MenuItemCompat; import and...
package net.misykat.misykatbandung.data; import net.misykat.misykatbandung.SoundCloudHelper; import net.misykat.misykatbandung.util.ISO8601; import org.json.JSONException; import org.json.JSONObject; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date;...
/* * Copyright (C) 2012-2020 <NAME> * * Latest version available online at https://github.com/zach-m/jonix * Contact me at <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 * ...
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ // \\ // Centre for Speech Technology Research \\ // University of Edinburgh, UK \\ // ...
package io.github.ihongs.normal.serv; import io.github.ihongs.Cnst; import io.github.ihongs.Core; import io.github.ihongs.HongsCause; import io.github.ihongs.HongsException; import io.github.ihongs.HongsExemption; import io.github.ihongs.action.ActionDriver; import io.github.ihongs.action.ActionHelper; import io.githu...
package dataStructures; import java.util.ArrayList; import java.util.Iterator; import java.util.NoSuchElementException; public class LinkedBinaryTree<T> implements BinaryTreeADT<T> { protected int count; protected PublicBTNode<T> root; /** Create an empty binary tree */ public LinkedBinaryTree() { //O...
package laser.helios.jnihelios; public class JNIHelios { static { // try { // String path = "/Users/jennadeboisblanc/Projects/laser/processing_laser/src/laser/helios/jnihelios/libjnihelios.dylib"; // System.load(path); // } catch (UnsatisfiedLinkError e) { // System.err.prin...
package org.churuata.digital.ui.image; import java.io.IOException; import java.io.InputStream; import java.util.logging.Level; import java.util.logging.Logger; import org.churuata.digital.ui.Activator; import org.condast.commons.ui.image.AbstractImages; import org.eclipse.rap.rwt.RWT; import org.eclipse.rap...
/* Derby - Class com.pivotal.gemfirexd.internal.impl.jdbc.ConnectionChild 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 fi...
/* * Copyright 2017 Lime - HighTech Solutions s.r.o. * * 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 ...
/* * Copyright (c) 2008-2022, Hazelcast, 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 ...
package edu.ucla.cs.scai.aztec.ir.doc2vec.wordrank; import edu.stanford.nlp.ling.CoreAnnotations; import edu.stanford.nlp.ling.CoreAnnotations.SentencesAnnotation; import edu.stanford.nlp.ling.CoreLabel; import edu.stanford.nlp.ling.IndexedWord; import edu.stanford.nlp.pipeline.Annotation; import edu.stanford.nlp.pipe...
/* * 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")...
package xworker.io.file; import java.io.File; import java.io.IOException; import java.util.regex.Pattern; import org.apache.commons.io.filefilter.IOFileFilter; import org.xmeta.ActionContext; import org.xmeta.Thing; import org.xmeta.util.UtilData; public class FileItertor { Thing thing; ActionContext ...
/* * Copyright 2009 <NAME>, <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...
/* * Copyright 2008-2016 Barcelona Supercomputing Center (www.bsc.es) * * 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 * * Unl...
package com.google.android.gms.internal.ads; import android.content.Context; @zzadh public abstract class zzabh extends zzajx { protected final Context mContext; protected final Object mLock = new Object(); protected final zzabm zzbzd; protected final zzaji zzbze; protected zzaej zzbzf; protec...
package edu.ucsf.lava.crms.assessment.model; import java.util.Date; import edu.ucsf.lava.core.model.EntityBase; import edu.ucsf.lava.core.model.EntityManager; import edu.ucsf.lava.crms.people.model.Patient; import edu.ucsf.lava.crms.scheduling.model.Visit; public class UdsLabsImaging extends UdsInstrument {...
/* * Copyright 2018 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...
/*- * ============LICENSE_START======================================================= * Copyright (C) 2018 Ericsson. All rights reserved. * Modifications Copyright (C) 2020-2021 Nordix Foundation * ================================================================================ * Licensed under the Apache Licen...
/* * Copyright 2008-present MongoDB, 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 ag...
package com.github.gabrielmoreira.propriete; import static com.github.gabrielmoreira.propriete.Strings.normalize; import static com.github.gabrielmoreira.propriete.Strings.toJavaBeanName; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Me...
// Copyright (c) 2014 <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, merge, publish, distri...
/* * Copyright 2012 GitHub Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
package ru.ps.vlcatv.utils.db; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.io.File; import java.io.FileOutputStream; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import jav...
package dev.vatuu.backbone.maps; import com.google.common.collect.Lists; import java.awt.*; import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.List; public final class MapPallete { private static final List<Color> PALETTE = Lists.newArrayList( new Color(0, 0, 0), ...
/* * Copyright (c) 2018, The University of Memphis, MD2K Center of Excellence * * 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 c...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.content.browser; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.webkit.WebSettin...
package com.checkout; import com.checkout.CardValidator.Cards; import org.junit.Test; import java.lang.reflect.Method; import java.util.Calendar; import static org.junit.Assert.assertEquals; /** * Created by manonh on 30/07/2015. */ public class CardValidatorTest { @Test public void isDigitTest() { ...
package com.wingjay.jayandroid.skin; import java.lang.reflect.Field; import android.content.Context; import android.content.res.Resources; import android.graphics.Paint; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; import...
/** * Copyright (c) 2016 Samsung Electronics, 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: * * * Redistributions of source code must retain the above copyright notice, this * li...
/* * 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 2014 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 ...
/* * Name: <NAME> * Project: shuffle cards in four hands and print what * Kind and value of card each hand have * */ package cards.deal; import java.util.Random; public class CardGame { //Declare all the variable so that it can be used in all the functions final int SIZE = 52; int card[] = new int[SIZE]; ...
/* * MIT License * * Copyright (c) 2021-2022 BuildTheEarth.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, c...
package me.mcblueparrot.client.mod.impl.replay; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.google.gson.annotations.Expose; import com.replaymod.core.ReplayMod; import com.replaymod.lib.de.johni0702.minecraft.gui.versions.callbacks.OpenGuiScreenCallback; import me.mcbluepar...
package com.ppm.integration.agilesdk.connector.jira.model; import com.ppm.integration.agilesdk.pm.ExternalTask; import org.apache.commons.lang.StringUtils; import java.util.Date; import java.util.List; import java.util.Map; /** * This class represents any type of Jira issue, be it a sub-task, a standard task, an E...
package twg2.parser.textParserUtils.test; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Test; import twg2.junitassist.checks.CheckTask; import twg2.parser.textParser.TextIteratorParser; import twg2.parser.textParserUtils.ReadUnescape; /** * @author TeamworkGuy2 * @since...
/* * The MIT License (MIT) * * Copyright (c) 2015 <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, mo...
/* * Copyright (c) 2015 by k3b. * * This file is part of AndroFotoFinder. * * 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 3 of the License, or * (at your option) any lat...
package com.cky.learnandroiddetails.widget; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.RectF; import android.support.annotation.Nullable; impo...
/** * Copyright (c) Microsoft Corporation * <p/> * All rights reserved. * <p/> * MIT License * <p/> * 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 withou...
package simulator; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.io.IOException; import javax.imageio.ImageIO; import ...
package com.wayki.wallet.dialog; import android.app.AlertDialog; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.NonNull; import android.text.TextUtils; import android.view.View; import android.view.WindowManager; import android.view.inputmetho...
//==================================================================== // //File: $RCSfile: CoreExportWizard.java,v $ //Version: $Revision: 1.14 $ //Modified: $Date: 2012/10/12 22:55:18 $ // //(c) Copyright 2004-2014 by Mentor Graphics Corp. All rights reserved. // //===================================...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
package com.netscape.javascript.qa.drivers; import java.io.*; import com.netscape.javascript.*; import org.mozilla.javascript.*; import org.mozilla.javascript.tools.shell.*; /** This class creates a javax.javascript.Context, which evaluates the helper and RhinoFile and returns a result. <p> ...
/* * Copyright (c) 2014, 2015, 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 ...
/* * 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.spme.utils; import com.itextpdf.text.*; import com.itextpdf.text.pdf.BaseFont; import com.itextpdf.text.pdf.CMYKColor; import com.itextpdf.text.pdf.PdfWriter; import org.springframework.jdbc.core.JdbcTemplate; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletResponse; 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 ...
package com.seoullo.seoullotour.Utils; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.net.Uri; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import androidx.ann...
/** * **************************************************************************** * Copyright 2013 EMBL-EBI * <p/> * 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 * <p/> * http://www.a...
package com.erg.utl; import java.awt.*; import java.awt.image.*; import java.io.*; import java.util.Iterator; import javax.imageio.IIOImage; import javax.imageio.ImageIO; import javax.imageio.ImageWriteParam; import javax.imageio.ImageWriter; import javax.imageio.stream.ImageOutputStream; import org.icepdf.core.exce...
package controllers; import formatters.DateFormatter; import models.Subscription; import org.apache.commons.lang3.RandomStringUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; import org.apache.commons.lang3.text.WordUtils; import org.apache.commons.lang3.time.DateUt...
package jnesulator.core.nes.video; public class NesColors { private static final double att = 0.7; public static final int[][] col = GetNESColors(); public static final byte[][][] colbytes = NESColorsToBytes(col); private static int b(int col) { return col & 0xff; } private static int compose_col(double r,...