text
stringlengths
9.3k
48.9k
package org.jcodec.codecs.png; import static org.jcodec.common.tools.MathUtil.abs; import java.io.ByteArrayOutputStream; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.zip.DataFormatException; import java.util.zip.Inflater; import org.jcodec...
/** * Copyright 2017 Ekumen, 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...
/* * 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 net.sf.l2j.gameserver.scripting.quests; import net.sf.l2j.commons.random.Rnd; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.instance.Player; import net.sf.l2j.gameserver.model.base.ClassRace; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; import net.s...
/* Copyright (C) 1999 Hewlett-Packard Company This file is part of Mauve. Mauve 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, or (at your option) any later version. Mauve is distributed in t...
package com.shijingsh.ai.jsat.classifiers.svm; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.Random; import com.shijingsh.ai.jsat.DataSet; import com.shijingsh.ai.jsat.SingleWeightVectorModel; import com.shijingsh.ai.jsat.classifiers.CategoricalResults; i...
package scratch.kevin.simulators.ruptures; import java.awt.Color; import java.io.File; import java.io.IOException; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import org.apache...
/* * Apache HTTPD & NGINX Access log parsing made easy * Copyright (C) 2011-2018 <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 ...
package me.gimme.gimmetag.tag; import me.gimme.gimmetag.config.Config; import me.gimme.gimmetag.events.*; import me.gimme.gimmetag.item.ItemManager; import me.gimme.gimmetag.roleclass.ClassSelectionManager; import me.gimme.gimmetag.roleclass.RoleClass; import me.gimme.gimmetag.sfx.SoundEffects; import org.bukkit.*; im...
package fr.pturpin.hackathon.iceandfire.strategy.comparator; import fr.pturpin.hackathon.iceandfire.cell.Position; import fr.pturpin.hackathon.iceandfire.command.GameCommand; import fr.pturpin.hackathon.iceandfire.game.Game; import fr.pturpin.hackathon.iceandfire.reader.GameInputScanner; import fr.pturpin.hackathon.ic...
/* * 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.sap.psr.vulas.report; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.u...
package com.dotmarketing.quartz.job; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import com.dotcms.IntegrationTestBase; import com.dotcms.util.CollectionsUtils; import com.dotcms.util.IntegrationTestInitService; import com.dotmarketing.beans.Host; import com.dotmarketing.bu...
import dorkbox.util.Desktop; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.concurrent.Task; import javafx.event.ActionEvent; import javafx.event.Event; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader;...
/******************************************************************************* * Copyright 2016 by the Department of Computer Science (University of Genova and University of Oxford) * * This file is part of LogMapC an extension of LogMap matcher for conservativity principle. * * LogMapC is free software:...
/* The following code was generated by JFlex 1.4.2 on {{TIMESTAMP}} */ /* Based on http://www.w3.org/XML/9707/scanner.l and http://www.w3.org/TR/2006/REC-xml11-20060816/ */ package org.conqat.lib.scanner; import org.conqat.lib.commons.string.StringUtils; /** * This class is a scanner generated by * <a hr...
package com.rapid7.armor.write.writers; import com.rapid7.armor.Constants; import com.rapid7.armor.columnfile.ColumnFileSection; import com.rapid7.armor.columnfile.ColumnFileReader; import com.rapid7.armor.entity.EntityRecord; import com.rapid7.armor.entity.EntityRecordSummary; import com.rapid7.armor.io.AutoDeleteFil...
package gerber; import java.util.*; import java.awt.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; import javax.imageio.metadata.*; import javax.imageio.stream.*; import tools.ConfigTool; import tools.IComparable; import tools.IGeoComparable; import tools.SortedArray; import java.awt.geom.Point...
//////////////////////////////////////////////////// // Copyright (c) 20067, EGI Technologies, Inc. All rights reserved. // // // File: OmfChatAjax.java // Author: ECC // Date: 11/14/07 // Description: // Implementation of OmfChatAjax class. Entry point for Web chat. The front-end is in ep_chat.jsp and chat...
/* * 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.sidmaniac.basictracker; import Presets.Preset; import Support.Utilities; import java.io.IOException; import java...
package com.ytx.ican.media.player.render; import android.graphics.Bitmap; import android.opengl.GLES20; import android.opengl.GLUtils; import android.renderscript.Matrix4f; import com.ytx.ican.media.player.pragma.YtxLog; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import jav...
/* Copyright (c) 2000-2019, Board of Trustees of Leland Stanford Jr. 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: 1. Redistributions of source code must retain the above copyright notice,...
/* * 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 (c) 1999-2005 The Institute for Genomic Research (TIGR). * Copyright (c) 2005-2008, the Dana-Farber Cancer Institute (DFCI), * J. Craig Venter Institute (JCVI) and the University of Washington. * All rights reserved. ...
/** * Copyright 2014 Internet2 * * 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 agre...
/* * Copyright (C) 2010 <NAME> (http://www.verdelhan.eu/) * * 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 ...
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.xdi.oxauth.authorize.ws.rs; import com.wordnik.swagger.annotations.*; import org.xdi.oxauth.model.authorize.AuthorizeRequestParam; import javax.servlet.http.Htt...
package org.ipmc.sicelore.utils; /** * * @author <NAME> * */ import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecutors; import htsjdk.samtools.AlignmentBlock; import htsjdk.samto...
package com.lsh.wms.rf.service.inhouse; import com.alibaba.dubbo.config.annotation.Reference; import com.alibaba.dubbo.config.annotation.Service; import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType; import com.lsh.base.common.exception.BizCheckedException; import com.lsh.base.common.json.JsonUtils; import c...
package org.GeoRaptor.tools; import java.awt.geom.Point2D; /** * Support methods for SVSpatialLayer class */ public class COGO { /** * Platform line separator */ protected String lineSeparator; /** * @method computeAngle * @param _startPoint * @param _endPoint * @return ...
package com.grisoft.umut.uBackup; import android.Manifest; import android.app.AlertDialog; import android.app.ListActivity; import android.app.ProgressDialog; import android.content.ActivityNotFoundException; import android.content.ContentValues; import android.content.Context; import android.content.DialogInterface;...
/* * The MIT License * * Copyright 2018 Onshape Inc. * * 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, mod...
/* The MIT License (MIT) Copyright (c) 2013, <NAME>, <NAME>, <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, modi...
//################################ //Name: <NAME> //ID: 13831056 //DSA Assignment one //################################ import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.even...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
/** * Copyright <NAME> (https://github.com/aroychoudhury) * * Heavily inspired and adapted from: * https://github.com/mitre/HTTP-Proxy-Servlet * * 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 ...
/** * @(#)AppendOnlyFileTrace.java, 4月 06, 2020. * <p> * Copyright 2020 fenbi.com. All rights reserved. * FENBI.COM PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package paxi.maokitty.source.redis; import paxi.maokitty.source.annotation.Background; import paxi.maokitty.source.annotation.KeyPoint; ...
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. * ===================================================================...
package bewte; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import ja...
package com.a55haitao.wwht.ui.activity.discover; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; ...
package com.danilov.supermanga.core.repository; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.Log; import com.danilov.supermanga.core.application.MangaApplication; import com.danilov.supermanga.core.http.HttpBytesReader; import com.danilov.supermanga.core.h...
/** * PDF.java * Copyright (c) 2007, 2008, 2009, 2010 Innovatics 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, ...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.mapping; import java.io.Serializable; import java.lang.annot...
/* * 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 2019-2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package imj3.draft; import static imj3.core.IMJCoreTools.*; import static imj3.tools.IMJTools.*; import static java.lang.Math.max; import static java.lang.Math.min; import static multij.swing.SwingTools.horizontalBox; import static multij.swing.SwingTools.horizontalSplit; import static multij.swing.SwingTools.scrollab...
/* * Copyright (C) 2008-2010, Google Inc. * Copyright (C) 2008, <NAME> <<EMAIL>> * Copyright (C) 2008, <NAME> <<EMAIL>> * and other copyright owners as documented in the project's IP log. * * This program and the accompanying materials are made available * under the terms of the Eclipse Distribution License v1.0...
/* * Copyright 2009 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.rootfinding; import static org.testng.AssertJUnit.assertEquals; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedHash...
import java.io.*; import javax.xml.parsers.*; import java.util.Vector; import java.util.Stack; import java.util.Enumeration; import org.xml.sax.*; import org.xml.sax.helpers.*; public class DocBuilder extends DefaultHandler { private String content = null; public int flag = 0; private PrintStream out = null...
package rtree; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.LinkedList; import java.util.Stack; import rtree.util.Entry; import rtree.util.InnerNode; import rtree.util.LeafNode; import rtree.util.Node; import rtree.util...
package com.surfacesoft.yaj.satransferui; import android.app.Activity; import android.app.Fragment; import android.app.FragmentTransaction; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatab...
package com.jeffpeng.jmod; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.concurrent.ThreadLocalRandom; import org.apach...
package com.wodify.cordova.plugin.unimagswiper; import java.io.File; import java.io.InputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.util.Base64; import org.json.JSONObject; import org.json.JSONArray; import org.jso...
/******************************************************************************* * * Copyright 2018 Impetus Infotech. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * ht...
package net.fishtron.gen; import com.google.common.base.Charsets; import com.google.common.io.Files; import com.google.common.primitives.Doubles; import com.google.common.primitives.Longs; import net.fishtron.eva.IndivGenerator; import net.fishtron.types.Type; import net.fishtron.types.TypeTerm; import net.fishtron.t...
/* File: ConfigFiles.java ; This file is part of Twister. Version: 3.005 Copyright (C) 2012-2013 , Luxoft Authors: <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:...
package org.endeavourhealth.sftpreader.implementations.barts; import org.apache.commons.io.FilenameUtils; import org.endeavourhealth.sftpreader.implementations.SftpFilenameParser; import org.endeavourhealth.sftpreader.model.db.DbConfiguration; import org.endeavourhealth.sftpreader.model.exceptions.SftpFilenameParseExc...
/* * Copyright (c) 2002, 2013, 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 org.csap.events.http.ui.rest ; import java.util.List ; import javax.inject.Inject ; import javax.servlet.http.HttpServletResponse ; import org.bson.Document ; import org.csap.docs.CsapDoc ; import org.csap.events.CsapEventsApplication ; import org.csap.events.EventJsonConstants ; import org.csap.e...
package com.fri.soundtrackforlife; import android.Manifest; import android.app.PendingIntent; import android.content.ComponentName; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; impo...
package com.squareup.okhttp.internal.http; import android.support.v7.widget.helper.ItemTouchHelper.Callback; import com.squareup.okhttp.Address; import com.squareup.okhttp.CertificatePinner; import com.squareup.okhttp.ConnectionPool; import com.squareup.okhttp.Headers; import com.squareup.okhttp.HttpUrl; import com.sq...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ibeeproject; import com.icesoft.faces.component.ext.HtmlCommandButton; import com.icesoft.faces.component.ext.HtmlDataTable; import com.icesoft.faces.component.ext.HtmlPanelGrid; import com.icesoft.faces.compone...
/******************************************************************************* * Copyright (c) 2014, 2015 <NAME> 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, and is avai...
/* * 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 ...
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.xml.util; import com.intellij.codeInspection.InspectionProfile; import com.intellij.codeInspection.htmlInspections.XmlEntitiesInspection; import com.intellij...
/* * Copyright (c) 1996, 2020, 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...
/* Copyright (C) 2003 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
package com.jagex; import com.jagex.Class103; import com.jagex.Class107; import com.jagex.Class199_Sub22; import com.jagex.Class221; import com.jagex.Class243; import com.jagex.InterfaceDef; import com.jagex.Class315_Sub1; import com.jagex.Class380_Sub1; import com.jagex.Class40_Sub17; import com.jagex.Clas...
/* * * * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and con...
package learnopengl.p4_advanced_opengl.ch06_2_cubemap_environment_mapping; import static org.lwjgl.glfw.GLFW.*; import static org.lwjgl.opengl.GL11.*; import static org.lwjgl.opengl.GL12.*; import static org.lwjgl.opengl.GL13.*; import static org.lwjgl.opengl.GL15.*; import static org.lwjgl.opengl.GL20.*; import stati...
package org.apache.lucene.index; /** * 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...
/* * Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information. */ package com.linkedin.kafka.cruisecontrol.model; import com.linkedin.cruisecontrol.monitor.sampling.aggregator.AggregatedMetricValues; import com.linkedin.kafka.crui...
/******************************************************************************* * Copyright (c) 2008, 2018 SWTChart project. * * 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 ...
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.cuda; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwjgl...
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * 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 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the use...
/* * Copyright 2015 OpenMarket Ltd * Copyright 2017 Vector Creations Ltd * Copyright 2018 New Vector Ltd * * 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...
/* * Copyright (c) 2016-2018 <NAME> <<EMAIL>> * * 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 Apach...
package gov.usgs.earthquake.cube; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathContext; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; /** * CUBE earthquake message. * * <pre> * E - Earthquake * The E format messages are used to add an earthqu...
/* Copyright 2010 - 2012 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
package com.example.a79875.todaynews.Util; import android.content.Context; import android.graphics.drawable.Drawable; import android.support.v4.util.ArrayMap; import android.text.Spannable; import android.text.SpannableString; import android.text.style.ImageSpan; import com.example.a79875.todaynews.R; i...
package faltkullen; import com.mygdx.game.UnitType; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.BorderFactory; import java.awt.Color; import java.awt.Graphics; import java.awt.Dimension; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseEvent; ...
/* * #%L * Fork of JAI Image I/O Tools. * %% * Copyright (C) 2008 - 2017 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms, with or without * modification, ...
// Copyright (c) Corporation for National Research Initiatives package org.python.core; import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.support.Guards; import org.python.annotations.ExposedDelete; import org.python...
/** * 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 org.holoeverywhere.widget; import org.holoeverywhere.R; import org.holoeverywhere.widget.FastScroller.FastScrollerCallback; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import a...
import java.io.*; import java.util.*; import java.util.regex.*; import java.util.concurrent.*; /////// Openfileclass class StimFileOpener{ private File myfile; private FileReader myreader; private BufferedReader mybufreader; private CopyOnWriteArrayList <Enzyme> AllEnzymes = new CopyOnWriteArrayList ...
package school.author.data; import tc.wata.data.FastMap; import tc.wata.data.FastSet; import tc.wata.debug.Debug; import java.util.*; public class MISGraph extends Graph{ AuxiliaryGraph auxiliaryGraph; public static int mode = 4; public static int DOMINANCE = 1; public static int MIRROR = 2; pub...
package ch.ethz.bhepp.hybridstochasticsimulation.networks; import static com.google.common.base.Preconditions.checkArgument; import java.io.Serializable; import java.util.Arrays; import java.util.LinkedList; import java.util.Set; import org.apache.commons.math3.optim.PointValuePair; import org.apache.commons.math3.o...
package org.uengine.kernel; import java.beans.PropertyChangeEvent; import java.io.PrintStream; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Vector; import org.metaworks.annotation.Hidden; import org.uengine.kernel.bpmn.Pool; import org.uengine.processmanager.ProcessManager...
/* * Copyright (c) 2002-2017, the original author or authors. * * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * https://opensource.org/licenses/BSD-3-Clause */ package org.jline.terminal.impl.jansi.freebsd; import o...
/** * FacePlayActivity.java * 视频播放照片集(按时间排序) * @author liangzz * 2015-2-5 */ package com.canace.mybaby.activity; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java....
/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.faceboo...
package org.apache.lucene.index; /** * 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, Versi...
/******************************************************************************* * Copyright (c) 2013 The University of Reading * 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. Redis...
/* * MIT License * * Copyright 2021 vemerion * * 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,...