text
stringlengths
3.52k
24k
package com.huotu.fanmore.pinkcatraiders.ui.assistant; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.TextUtils; import android.view.Gravity; import android.view.KeyEvent; import androi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package editimage; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.io.BufferedReader; import...
/* * Copyright (c) 2011-2017 Nexmo 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, modify, merge, publ...
/* * Silent Gear -- IAOETool * Copyright (C) 2018 SilentChaos512 * * 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 version 3 * of the License. * * This library is distributed in t...
package com.adapter.files; import android.content.Context; import android.graphics.Color; import androidx.core.content.ContextCompat; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import an...
package cucumber.runtime.java.spring; import static java.util.Arrays.asList; import static org.springframework.test.context.FixBootstrapUtils.createBootstrapContext; import static org.springframework.test.context.FixBootstrapUtils.resolveTestContextBootstrapper; import cucumber.api.java.ObjectFactory; import cucumber...
package fr.iut.view; import fr.iut.controller.ReservationsController; import fr.iut.persistence.entities.Client; import fr.iut.persistence.entities.Reservation; import fr.iut.persistence.entities.Spot; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.geometry.Insets; imp...
/* * #%L * ImgLib2: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2015 <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME> and ...
package nicelee.server.core; import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStream; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.net.Socket; import java.util.HashMap; import java.util.regex.Matcher; import java.util.regex.Pattern; im...
package org.opendatakit.suitcase.ui; import org.opendatakit.suitcase.model.CloudEndpointInfo; import org.opendatakit.suitcase.model.CsvConfig; import org.opendatakit.suitcase.model.ODKCsv; import org.apache.commons.cli.*; import org.apache.wink.json4j.JSONException; import org.opendatakit.suitcase.net.*; import org.op...
package com.pdsl.gherkin; import com.pdsl.gherkin.models.*; import com.pdsl.transformers.PolymorphicDslFileException; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.URL; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.*; import java.util.s...
package me.walten.fastgo.widget.ItemView; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.LayoutInflater; import android.vie...
/* * 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 2016 West Coast Informatics, LLC */ package com.wci.umls.server.rest.impl; import java.io.File; import java.io.FileWriter; import java.io.InputStream; import java.io.Writer; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.ut...
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
/* * The MIT License (MIT) * * Copyright (c) 2018 <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 * to...
package com.zeroner.bledemo.data.sync; import com.zeroner.bledemo.BleApplication; import com.zeroner.bledemo.bean.sql.R1_68_data; import com.zeroner.bledemo.bean.sql.R1_effective_data; import com.zeroner.bledemo.bean.sql.TB_68_data; import com.zeroner.bledemo.utils.BaseActionUtils; import com.zeroner.bledemo.utils.Pre...
package de.l3s.eventkg.source.currentevents; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.HashSet; impor...
/* * 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 ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
package nl._42.restzilla.web; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.io.CharStreams; import io.beanmapper.BeanMapper; import nl._42.restzilla.RestConfig; import nl._42.restzilla.RestProperties; import nl._42.restzilla.registry.CrudServiceRegistry; import nl._42.restzilla.service.C...
/* * 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 ru.intertrust.cm.core.business.api.dto; import ru.intertrust.cm.core.business.api.util.DecimalCounter; import ru.intertrust.cm.core.business.api.util.LongCounter; import ru.intertrust.cm.core.model.GwtIncompatible; import java.util.List; import java.util.Locale; /** * @author <NAME> * Date: 22.10.2...
/* * 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.opensrp.core.service; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.opensrp.common.dto.*; import org.opensrp.common.interfaces.DatabaseRepository; import org.springframework.beans....
/** * Copyright 2020. Huawei Technologies Co., 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 *...
/* * 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.sample.foo.simplelocationapp; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GooglePlayServicesUtil; import com.google.android.gms.location.SettingsApi; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; impor...
package Epsilon.Subsystems; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.util.ElapsedTime; import java.util.Base64;...
package ifgi.wayto_navigation.model; import android.content.Context; import android.graphics.Color; import android.graphics.PointF; import android.util.Log; import com.mapbox.mapboxsdk.annotations.Annotation; import com.mapbox.mapboxsdk.annotations.MarkerOptions; import com.mapbox.mapboxsdk.annotations.PolylineOption...
/* * GUIComponent.java * * VERSION * v1.0 * DATE * 4 Apr 2007 * AUTHOR * ramdhany * LOG * Log: GUIComponent.java, gui * * GridKit is a configurable and dynamically reconfigurable middleware for Grid and pervasive computing. * It is the intention that all individual elements (com...
package eu.daxiongmao.prv.astrology.controller; import java.net.URISyntaxException; import java.net.URL; import java.time.format.DateTimeFormatter; import java.util.ResourceBundle; import eu.daxiongmao.prv.astrology.AstrologyApp; import eu.daxiongmao.prv.astrology.model.chinese.ChineseYear; import eu.daxiongmao.prv.a...
/** * The MIT License * Copyright (c) 2018 Estonian Information System Authority (RIA), * Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK) * Copyright (c) 2015-2017 Estonian Information System Authority (RIA), Population Register Centre (VRK) * * Permission is hereby grante...
/* * Copyright 2007 the project originators. * * 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...
/* * 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...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * dis...
package com.zyh5games.sdk.channel.yuma; import com.alibaba.fastjson.JSONObject; import com.zyh5games.sdk.channel.BaseChannel; import com.zyh5games.sdk.channel.ChannelId; import com.zyh5games.sdk.channel.HttpService; import com.zyh5games.service.AccountService; import com.zyh5games.util.IOSDesUtil; import com.zyh5games...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
/* * 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...
package ch.frostnova.cli.idx.sync; import ch.frostnova.cli.idx.sync.config.IdxSyncFile; import ch.frostnova.cli.idx.sync.filter.PathFilter; import ch.frostnova.cli.idx.sync.monitor.ProgressMonitor; import ch.frostnova.cli.idx.sync.monitor.impl.ConsoleProgressMonitor; import ch.frostnova.cli.idx.sync.task.BatchTask; im...
/* * 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 ma...
package com.movieous.media.view; import android.content.Context; import android.graphics.Bitmap; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import and...
/* * Copyright 2018, Oath Inc. * Licensed under the terms of the Apache License, Version 2.0. * See the LICENSE file associated with the project for terms. */ package com.yahoo.bullet.bql.extractor; import com.yahoo.bullet.aggregations.grouping.GroupOperation.GroupOperationType; import com.yahoo.bullet.bql.pars...
package net.minecraft.util.math.shapes; import net.minecraft.util.AxisRotation; import net.minecraft.util.Direction; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; public abstract class VoxelShapePart { private static final Direction.Axis[] AXIS_VALUES = Direction.A...
/* * Copyright (c) 2015, Nordic Semiconductor * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditi...
package TCS.VGJ.gui; /* * File: ViewportScroller.java * * 5/29/96 <NAME> * */ import java.awt.Image; import java.awt.Canvas; import java.awt.Rectangle; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Color; import java.awt.AWTEvent; import java.awt.event.*; import java.awt.Point; /** * ...
/* * 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 frc.robot.subsystems; import edu.wpi.first.wpilibj.Spark; import frc.util.Geometry; import frc.util.Pose; import frc.util.Utils; // import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** * Model for a differential drivetrain, simulates mass and motor performance * Integrates acceleration over time ...
/* * Copyright ©2018 vbill.cn. * <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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/* * Copyright 2014 <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...
/* * Multiverse 2 Copyright (c) the Multiverse Team 2011. * Multiverse 2 is licensed under the BSD License. * For more information please check the README.md file included * with this project */ package com.onarandombox.MultiversePortals.commands; import java.util.List; import org.bukkit.ChatColor; import org.b...
/* * Copyright 2018 Broadband Forum * * 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...
package org.jabref.gui.preftabs; import java.awt.BorderLayout; import java.util.ArrayList; import java.util.Comparator; import java.util.Enumeration; import java.util.List; import java.util.Optional; import java.util.concurrent.ExecutionException; import javax.swing.BoxLayout; import javax.swing.DefaultListModel; imp...
package com.angopapo.datoo.home.connections; import android.content.Context; import android.content.Intent; import android.media.MediaPlayer; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.Vibrator; import android.util.Log; import android.view.Window; import android.wi...
package beifengtz.vmconsole; import beifengtz.vmconsole.entity.jmap.JMapForHeapResult; import beifengtz.vmconsole.exception.NotSupportedEnvironmentException; import beifengtz.vmconsole.security.SystemEnvironment; import beifengtz.vmconsole.tools.jmap.HeapSummaryTool; import com.sun.tools.attach.AttachNotSupportedExcep...
package liu.jeffrey.lovetracker.settings.profile; import android.app.Activity; import android.app.AlertDialog; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.co...
/* * Copyright 2003-2021 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...
package com.annaru.upms.controller; import java.text.SimpleDateFormat; import java.util.*; import com.annaru.upms.entity.vo.DoctorScheduleVoW; import com.annaru.upms.entity.vo.SysDoctorNurseScheduleVo; import com.annaru.upms.service.ISysGlobalSettingService; import org.apache.shiro.authz.annotation.RequiresPermission...
/* * The MIT License (MIT) * * Copyright (c) 2016 Piasy * * 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, ...
/** * 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.planet_ink.coffee_mud.Items.Basic; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; import ...
package org.bds; import org.bds.data.Data; import org.bds.run.BdsRun; import org.bds.run.BdsRun.BdsAction; import org.bds.util.Gpr; /** * bds command line * * @author pcingola */ public class Bds implements BdsLog { public static final String BUILD = Gpr.compileTimeStamp(Bds.class); public static final S...
/* * * 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"); ...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.sierac.web; import java.io.UnsupportedEncodingException; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServlet...
package com.geecommerce.cart.model; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; import com.geecommerce.calculation.helper.CalculationHelper; impo...
/* * Copyright 2011-2012 Amazon Technologies, 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS IS" ...
package uk.ac.bangor.meander.detectors; /** * @author <NAME> */ import lombok.AccessLevel; import lombok.Getter; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.math3.linear.MatrixUtils; import org.apache.commons.math3.linear.RealMatrix; import org.apache.commons.math3.linear....
package com.skAndroid.activity; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.AsyncTask; import android.os.Bund...
package fr.eyal.datalib.sample.netflix.fragment; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.text.Html; import android.view.LayoutInflater; import android.vi...
package edu.harvard.iq.dataverse.authorization.providers.shib; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import edu.harvard.iq.dataverse.EMailValidator; import java.util.ArrayList; import java.util.Arrays; import java.uti...
/* * Copyright 2017 Hewlett-Packard Development Company, L.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
package hageldave.jplotter.canvas; import hageldave.imagingkit.core.Img; import hageldave.jplotter.renderers.Renderer; import hageldave.jplotter.svg.SVGUtils; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.PDPageContentStream; import org.apache.pd...
/* * Copyright 2019-present HiveMQ GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/** Copyright 2013 <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...
package cn.face.realtime; /** * Project Name:cloudwalk2 * File Name:CloudwalkLocalFaceSDK.java * Package Name:cn.cloudwalk * Date:2016-4-27下午4:57:54 * Copyright @ 2010-2016 Cloudwalk Information Technology Co.Ltd All Rights Reserved. */ import android.content.Context; import cn.face.sdk.FaceGroup; import cn.fa...
/* * SETTE - Symbolic Execution based Test Tool Evaluator * * SETTE is a tool to help the evaluation and comparison of symbolic execution based test input * generator tools. * * Budapest University of Technology and Economics (BME) * * Authors: <NAME> <<EMAIL>>, <NAME> <<EMAIL>> * * Copyright 2014-2016 * *...
/* * (C) Copyright 2006-2018 Nuxeo (http://nuxeo.com/) and others. * * 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 requi...
/* * The MIT License (MIT) * * Copyright (c) 2016 Cleveroad * * 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 * ...
/** * <NAME> * * http://www.londatiga.net * * <EMAIL> */ package net.londatiga.android; import java.util.ArrayList; import net.osmand.plus.R; import android.content.Context; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.view.Gravity; import android.view.LayoutInflate...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.haxademic.core.draw.shapes.polygons; import processing.core.PGraphics; import processing.core.PVector; public class Rectangle { // Ported from Java's awt Rectangle, but floats public float x; public float y; public float width; public float height; protected boolean collided = false...
package rddl.policy; import java.math.BigInteger; import java.util.*; import dd.discrete.ADD; import dd.discrete.ADDBNode; import dd.discrete.ADDDNode; import dd.discrete.ADDINode; import dd.discrete.ADDNode; import dd.discrete.ADD.ADDLeafOperation; import dd.discrete.DD; import rddl.*; import rddl.RDDL.*; import rd...
/******************************************************************************* * Copyright (c) 1991, 2021 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
/* * Copyright 2008-2016 by <NAME> * * This file is part of Java Melody. * * 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...
/* Copyright (c) 2014 Sony Mobile Communications AB. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions ...
package com.engine.Verlet; import java.awt.*; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.List; import static com.engine.Verlet.Vertex.Vertices; import static org.apache.commons.math3.util.FastMath.*; public class VCreations { // TODO: 4/1/2017 Refactor every method to use getD...
package semexe.prob; import semexe.basic.LogInfo; import semexe.basic.StatFig; import semexe.basic.TDoubleMap; import java.util.Random; import static semexe.basic.LogInfo.logs; public class DistribUtils { // To avoid infinities where the log probability blows up, // we will return a value (close to 0 or 1 i...
/**************************************************************************** Copyright 2013, Colorado School of Mines and others. 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.apac...
/* * 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 IBM Corp. 1987, 2018 * * 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...
/* * Copyright (C) 2014-2021 <NAME> (www.helger.com) * philip[at]helger[dot]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 ...
/* * Copyright 2000-2015 JetBrains 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 law or agre...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2019 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
/* * 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 brailleprinter; import com.fazecast.jSerialComm.SerialPort; import java.nio.charset.StandardCharsets; import java.util.logging...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.util.Range; /** * Created by 4924_Users on 12/17/2016. * Latest fixes made on 12/23/2016 */ @TeleOp(name = "FullHolonomic") public class FullHolonomic extends RevolutionVelocityBase { ...
package org.apache.avro.iswtests; import static org.junit.Assert.*; import static java.util.Arrays.asList; import java.util.ArrayList; import java.util.List; import java.util.Collection; import java.util.Comparator; import java.util.Collections; import java.io.File; import java.io.IOException; import java.nio.ByteBuf...
/* * 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 datawave.iterators; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import datawave.edge.protobuf.EdgeData; import datawave.edge.util.EdgeKey; import datawave.edge.util.EdgeKeyDecoder; import datawave.edge.util.EdgeValue; import datawave.edge.util.EdgeValueHelper; import datawave...
package org.firstinspires.ftc.teamcode.testCode; import com.qualcomm.hardware.lynx.LynxI2cColorRangeSensor; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.TouchSensor; import org.firstinspires.ftc.robotcore.external.n...
/* * Mckoi Software ( http://www.mckoi.com/ ) * Copyright (C) 2000 - 2015 Diehl and Associates, 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/lic...