text
stringlengths
3.52k
24k
/* * Copyright 2019-2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright © 2018 <NAME>, 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 i...
package nl.fw.util.namedrespool; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Random; import java.util.Set; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executors; import java.util.concurrent.ThreadPoolExecutor; import java.util.con...
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2013 - 2018 Adobe * %% * 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 * ...
/* * 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.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; import java.io.BufferedWriter; import jav...
package cn.remex.contrib.auth; import cn.remex.core.CoreSvo; import cn.remex.core.RemexApplication; import cn.remex.core.exception.ServiceCode; import cn.remex.core.reflect.ReflectUtil; import cn.remex.core.util.Assert; import cn.remex.core.util.Judgment; import cn.remex.core.util.Param; import cn.remex.core.util.Requ...
package com.example.assignment.adapter; import android.app.DatePickerDialog; import android.app.Dialog; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Handler; import android.view.LayoutInflater; import android.view.View; import android....
/* * GridSlopeLineOperator.java * * Created on May 25, 2006, 2:23 PM * */ package ika.geo.grid; import ika.geo.GeoGrid; import ika.geo.GeoObject; import ika.geo.GeoPath; import ika.geo.GeoRefGrid; import ika.geo.VectorSymbol; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; /** * @author <NAME>,...
/* * Copyright (c) 2013-2018, Bingo.Chen (<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 ...
/** * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation */ package com.youge.yogee.modules.clotteryuser.entity; import com.youge.yogee.common.persistence.BaseEntity; import org.apache.poi.ss.formula.functions.T; import org.hibernate.annotations.Cache; import org.hibernate.annotation...
package com.ociweb.pronghorn.pipe.stream; import static com.ociweb.pronghorn.pipe.FieldReferenceOffsetManager.lookupFieldLocator; import static com.ociweb.pronghorn.pipe.FieldReferenceOffsetManager.lookupFragmentLocator; import static com.ociweb.pronghorn.pipe.FieldReferenceOffsetManager.lookupTemplateLocator; import ...
/* * Tencent is pleased to support the open source community by making QMUI_Android available. * * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the MIT License (the "License"); you may not use this file except in * compliance with the License. You may obtain ...
// Copyright (C) 2013 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 applicable ...
package led; import javax.swing.*; import javax.swing.border.BevelBorder; import javax.swing.border.Border; import javax.swing.border.MatteBorder; import java.awt.*; import java.awt.event.*; /** * Created by IntelliJ IDEA. * User: vlakin * Date: 2/19/13 * Time: 10:48 AM * To change this template use File | Setti...
/* * Copyright (c) CovertJaguar, 2014 http://railcraft.info * * This code is the property of CovertJaguar * and may only be used with explicit written * permission unless otherwise specified on the * license page at http://railcraft.info/wiki/info:license. */ package mods.railcraft.common.carts; import java.u...
/* * Copyright (c) 2019 simplity.org * * 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, publis...
/* * Copyright (c) 2018, 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 Softwa...
/* * Copyright 2018 <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 agr...
/* =================== * Orson Charts - Demo * =================== * * Copyright (c) 2013-2021, Object Refinery Limited. * All rights reserved. * * https://github.com/jfree/jfree-fxdemos * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
/* * Copyright (C) 2013 The Android Open Source Project * Modification copyright (C) 2021, greenTEG AG * <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.a...
package org.iitk.brihaspati.modules.utils; /* * @(#)XMLWriter_EmailSpooloing.java * * Copyright (c) 2012,2013 conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistribution in binary form must reprod...
package btree; import static tests.TestDriver.FAIL; import static tests.TestDriver.OK; import java.io.IOException; import java.util.Arrays; import java.util.List; import bufmgr.PageNotReadException; import global.AttrType; import global.ExtendedSystemDefs; import global.GlobalConst; import global.RID; import global....
package caevo.util; import java.util.Calendar; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * Parses out normalized TimeML times into ranges of dates. * * Dates based on weeks are currently only roughly estimated, although it's * possible to represent them precisely. * ...
// Copyright (C) 2014 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 applicable ...
package c.d.f; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.os.Build; import android.util.Att...
/* * The MIT License (MIT) * Copyright (c) 2017 Microsoft Corporation * * 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 * t...
package dev.psygamer.vanillareforged.structures; import com.google.common.collect.ImmutableList; import com.mojang.serialization.Codec; import dev.psygamer.vanillareforged.VanillaReforged; import net.minecraft.block.BlockState; import net.minecraft.entity.EntityType; import net.minecraft.util.ResourceLocation; import ...
package org.hswebframework.iot.interaction.vertx.client; import com.alibaba.fastjson.JSON; import io.vertx.core.Vertx; import io.vertx.core.eventbus.MessageConsumer; import io.vertx.core.eventbus.ReplyException; import io.vertx.core.eventbus.ReplyFailure; import lombok.SneakyThrows; import lombok.extern.slf4j.Slf4j; i...
package com.google.android.gms.internal.ads; import android.content.Context; import com.google.android.gms.ads.internal.zzk; @zzard public final class zzakh { /* access modifiers changed from: private */ /* renamed from: a */ public final Object f24384a; /* renamed from: b */ private final Conte...
package com.cowinclub.dingdong.mdpulltorefresh; import android.animation.Animator; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.Gravity; import android.v...
package com.jishukezhan.core.bean; import com.jishukezhan.annotation.Nullable; import com.jishukezhan.core.exceptions.BeanException; import com.jishukezhan.core.lang.Preconditions; import com.jishukezhan.core.utils.ClassUtil; import java.beans.PropertyDescriptor; import java.lang.reflect.InvocationTargetException; im...
// Copyright 2017 Archos SA // // 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 main.java.commands.Osu.Standard; import com.oopsjpeg.osu4j.GameMode; import com.oopsjpeg.osu4j.OsuScore; import com.oopsjpeg.osu4j.OsuUser; import com.oopsjpeg.osu4j.backend.EndpointUsers; import com.oopsjpeg.osu4j.exception.OsuAPIException; import main.java.commands.ICommand; import main.java.core.Main; impor...
package com.example.android.scaletypeexplorer; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.PointF; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.MotionEvent; import android.view.View; import android.view.ViewCo...
package gameClient; import Server.Game_Server_Ex2; import api.*; import com.google.gson.JsonArray; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.*; import api.edge_data; public class Ex2_Client implements Runnable{ private static MyFrame _win; private stati...
package com.example.moodspace; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import android.view.View; import android.view.WindowManager; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.appco...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/* * Copyright 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
import java.io.File; import java.io.RandomAccessFile; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("fm") @Implements("BuddyRankComparator") public class BuddyRankComparator extend...
/** * Copyright 2016 Twitter. 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 applicable...
/* * Hedera Transaction Tool * * Copyright (C) 2018 - 2021 Hedera Hashgraph, 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 *...
package nl.hsac.fitnesse.fixture.slim; import nl.hsac.fitnesse.fixture.util.ThrowingFunction; import nl.hsac.fitnesse.fixture.util.mail.ImapAttachment; import org.apache.commons.lang3.StringUtils; import javax.mail.*; import javax.mail.internet.MimeMultipart; import javax.mail.search.*; import java.io.File; import ja...
/* * Copyright 2015-2016 USEF 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 by applicable law or agree...
/** * * Class PartnerLink$Class.java * * Generated by KMFStudio at 09 March 2004 13:29:39 * Visit http://www.cs.ukc.ac.uk/kmf * */ package ws.bpel; public class PartnerLink$Class implements PartnerLink, ws.WsVisitable { /** Default constructor */ public PartnerLink$Class() { //--- Set property 'nam...
/* * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. 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 * * Un...
/** * Copyright (c) 2010, <EMAIL>. All rights reserved. * * */ package edu.uta.futureye.lib.element; import static edu.uta.futureye.function.FMath.C0; import edu.uta.futureye.core.DOF; import edu.uta.futureye.core.Element; import edu.uta.futureye.core.Line2DCoord; import edu.uta.futureye.core.Mesh; import edu.ut...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/*- * ============LICENSE_START======================================================= * policy-yaml * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===========================================================...
/** * Copyright 2014 BlackBerry, Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright Bosch Software Innovations GmbH, 2016-2018. * With modifications by Siemens AG, 2018. * Part of the SW360 Portal Project. * * SPDX-License-Identifier: EPL-1.0 * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1...
package net.cmlzw.nineteen.controller; import net.cmlzw.nineteen.domain.Organization; import net.cmlzw.nineteen.domain.Quiz; import net.cmlzw.nineteen.domain.User; import net.cmlzw.nineteen.repository.OrganizationRepository; import net.cmlzw.nineteen.repository.QuizRepository; import net.cmlzw.nineteen.repository.User...
/* * 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 stages; import control.GameScreen; import buttons.BackButton; import buttons.Button; import elements.Dot; import el...
/* * Copyright (c) 2013 <NAME>, <NAME>, <NAME>, <NAME>, and * <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 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 may ...
package dk.skat.dmr._2007._05._31; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation...
/* * The MIT License * * Copyright 2021 bschorn. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify...
package io.cattle.platform.configitem.context.data.metadata.common; import io.cattle.platform.configitem.context.dao.MetaDataInfoDao; import io.cattle.platform.configitem.context.dao.MetaDataInfoDao.Version; import io.cattle.platform.configitem.context.data.metadata.version2.ContainerMetaDataVersion3; import io.cattle...
/* * Copyright 2014 <NAME>. (http://www.onehippo.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 applicabl...
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2019 Guardsquare NV * * 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 * Softwar...
package com.miscitems.MiscItemsAndBlocks.Item.Electric; import MiscUtils.Handlers.ChatMessageHandler; import com.google.common.collect.Sets; import com.miscitems.MiscItemsAndBlocks.Utils.References.Reference; import cpw.mods.fml.relauncher.ReflectionHelper; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.rela...
package org.apache.solr.handler.component.eq; import static org.apache.solr.common.SolrException.ErrorCode.SERVER_ERROR; import java.io.IOException; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.TreeMap; import org.apache.lucene.search.FieldCom...
/* * Copyright (c) 2020, Live Media Pty. Ltd. 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 com.sunflow.common; import java.net.Socket; import java.util.HashSet; import java.util.function.Supplier; import com.sunflow.error.DisconnectException; import com.sunflow.error.ReadMessageException; import com.sunflow.error.ValidationException; import com.sunflow.error.WriteMessageException; import com.sunflo...
/* * Copyright 1997-2020 Optimatika * * 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...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2012 Zimbra, Inc. * * The contents of this file are subject to the Zimbra Public License * Version 1.3 ("License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at ...
package org.archive.wayback.resourceindex.cdxserver; import org.archive.cdxserver.auth.AuthToken; import org.archive.cdxserver.filter.CDXAccessFilter; import org.archive.cdxserver.filter.CDXFilter; import org.archive.format.cdx.CDXLine; import org.archive.util.io.RuntimeIOException; import org.archive.wayback.accessco...
/*- * #%L * BigDataViewer core classes with minimal dependencies. * %% * Copyright (C) 2012 - 2022 BigDataViewer developers. * %% * 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 ...
/** * 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 ...
/* MIT License Copyright (c) 2020-present b0iizz 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 com.qouteall.immersive_portals.alternate_dimension; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.qouteall.immersive_portals.Helper; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import...
package com.ace.floatwindow.widget; import android.content.Context; import android.graphics.PixelFormat; import android.view.Gravity; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.WindowManager; import android.widget.ImageView; import com.ace.floatw...
/* * Copyright 2015 Codice 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 by applicabl...
package com.techlords.crown.business.model; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.List; import javax.validation.constraints.Min; import javax.validation.constraints.Size; import com.techlords.crown.business.model.enums.Allocatio...
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package org.box2d.dynamics.joints; import static org.box2d.common.BBMath.*; import org.box2d.common.BBTransform; import org.box2d.common.BBVec2; import org.box2d.dynamics.BBBody; import org.box2d.dynamics.BBTimeStep; import static org.box2d.dynamics.joints.BBDistanceJoint.BBDistanceJointDef; import static org.box2d.dy...
package com.alibaba.druid.bvt.sql.mysql.createTable; import com.alibaba.druid.sql.ast.SQLStatement; import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement; import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser; import junit.framework.TestCase; import java.util.List; /** ...
package example.web.controllers.api; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import ji.common.Logger; import ji.common.structures.MapInit; import example.AuditTrail; import example.dao.Example; import example.dao.ExampleD...
/* * Copyright 2021 Swisscom Trust Services (Schweiz) AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
package l2f.gameserver.stats; import java.util.NoSuchElementException; public enum Stats { MAX_HP("maxHp", 0., Double.POSITIVE_INFINITY, 1.), MAX_MP("maxMp", 0., Double.POSITIVE_INFINITY, 1.), MAX_CP("maxCp", 0., Double.POSITIVE_INFINITY, 1.), REGENERATE_HP_RATE("regHp"), REGENERATE_CP_RATE("regCp"), REGENERAT...
/* * 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 org.mines.processing.experiments; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintS...
/* * Copyright 2020-2022 DiffPlug * * 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...
/*************************DA-BOARD-LICENSE-START********************************* * Copyright 2014 CapitalOne, 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.ap...
package com.robot.seabreeze.serial; import android.content.Context; import android.text.TextUtils; import com.robot.seabreeze.serial.listener.ReceivedListener; import java.io.File; import java.util.List; /** * Author: MiLan * Date: 2019/2/24 * Description: */ public class SerialConfig { public static final...
package com.mingrisoft.fieldassistant.pay; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.wi...
/* * Copyright 2006-2012 The Scriptella Project Team. * * 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 net.studymongolian.mongollibrary; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.text.Spanned; import android.text.style.CharacterStyle; import android.text.style.MetricAffectingSpan; import java.util.ArrayList; impo...
/******************************************************************************* * Copyright (c) 2009, Adobe Systems Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * · ...
package org.cmayes.hartree.calc.impl; import static com.cmayes.common.chem.PhysicalConstants.AVOGADRO; import static com.cmayes.common.chem.PhysicalConstants.BOLTZ; import static com.cmayes.common.chem.PhysicalConstants.GAS_KCAL; import static com.cmayes.common.chem.PhysicalConstants.KELVIN_25C; import static com.cmay...
/* * Copyright 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package org.carbon.util.mapper; import java.io.IOException; import java.net.URL; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.util.AbstractMap; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util....
package hotelproject.views; import hotelproject.controllers.db.DatabaseManager; import hotelproject.controllers.objects.Booking; import hotelproject.controllers.objects.User; import javafx.beans.property.ReadOnlyStringWrapper; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import ja...
import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import java.util.Queue; public class MaxMatching { private int k; private int[][] capacity; private int[][] flow; ...
package com.tommy.algorithm; import com.tommy.data.CImage; import com.tommy.data.Digest; import com.tommy.data.Features; import com.tommy.data.Projections; public class Phash { private static final double SQRT_TWO = Math.sqrt(2); private static final int UCHAR_MAX = 255; private static final double[] THE...
package haxby.grid; import haxby.map.*; import haxby.proj.*; import java.util.Vector; import java.awt.geom.*; import java.awt.*; public class Contour implements Overlay { XMap map; Grid grid; Vector contours; float[] z; int nx, ny; Con con; boolean show; int interval = 0; static int[] dx = {0, 1, 1, 0}; sta...
package com.example.hansong.zimutiemodel; import android.app.ProgressDialog; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.ne...
package org.apache.taverna.scufl2.api.common; /* * 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...
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
/*- * #%L * Molecule Archive Suite (Mars) - core data storage and processing algorithms. * %% * Copyright (C) 2018 - 2022 <NAME> * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sou...
/* * 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 home.MenuAction; import datamodel.FluidPipe; import datamodel.HostModel; import datamodel.HostModelToSolve; import datamodel.H...