text
stringlengths
3.08k
15.2k
package org.apache.hadoop.mapred; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import java.io.*; import java.util.*; import org.apache.hadoop.mapred.*; import org.apache.hadoop.util.*; import org.apache.hadoop.fs.*; import javax.servlet.jsp.*; import java.text.SimpleDateFormat; impo...
package com.barrypress.wiz.screens; /** * This class is public domain. */ import com.BombingGames.WurfelEngine.Core.Loading.LoadingScreen; import com.BombingGames.WurfelEngine.WE; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.gr...
package edu.ucdavis.dss.ipa.entities; import java.io.Serializable; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persiste...
/* * Copyright (C) 2013 <NAME>, Inc. (www.lisa-park.net) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ...
/* Copyright (c) 2005-2021, <NAME>. SPDX-License-Identifier: BSD-3-Clause Licensed under a BSD-style License. You can find the license here: https://css4j.github.io/LICENSE.txt */ package io.sf.carte.doc.style.css.om; import java.util.Locale; import org.w3c.dom.DOMException; import io.sf.carte.doc.style.cs...
package com.toast.blockproperties.client.screen.config; import com.mojang.blaze3d.matrix.MatrixStack; import com.toast.blockproperties.common.core.BlockProperties; import com.toast.blockproperties.common.misc.TranslationStrings; import net.minecraft.block.AirBlock; import net.minecraft.block.Block; import net.minecraf...
package trawel; import java.awt.Color; import java.util.ArrayList; public class Arena extends Feature{ /** * */ private static final long serialVersionUID = 1L; private int tier, rounds; private double interval, timeLeft; private int timesDone; private ArrayList<Person> winners; private Person...
/* * $Id$ * $URL$ * * ==================================================================== * Ikasan Enterprise Integration Platform * * Distributed under the Modified BSD License. * Copyright notice: The copyright for this software and a full listing * of individual contributors are as shown in the packaged...
package com.bullhornsdk.data.model.entity.core.paybill.rate; import com.bullhornsdk.data.model.entity.core.paybill.detail.BillMasterTransactionSalesTaxDetail; import com.bullhornsdk.data.model.entity.core.paybill.invoice.InvoiceStatement; import com.bullhornsdk.data.model.entity.core.paybill.optionslookup.SimplifiedOp...
package org.apache.maven.plugin.surefire.booterclient; /* * 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 ...
package src.Model; import java.util.*; import javafx.scene.shape.Polygon; import src.Model.Grid; public abstract class Cell { protected double myCenterX, myCenterY; protected int currState; private double sideLength; private int numSides; private Grid myGrid; private double[] xPoints; private double[] yPoints;...
package br.com.solutis.desafio.report; import java.util.HashMap; /** * Created by Fabricio on 22/10/2017. */ public class PlanoDeMidiaRadios extends Report { @Override public void buildSqlWithId(Long id) { sql = " "; sql += " select \n"; sql += " a.nomefantasia as agencia, \n"; ...
package com.diffblue.demo.ecommerce.controllers; // Copyright 2016-2018 Diffblue Limited. All rights reserved. import com.diffblue.demo.ecommerce.Application; import com.diffblue.demo.ecommerce.EmptyCartException; import com.diffblue.demo.ecommerce.InvalidCartItemException; import com.diffblue.demo.ecommerce.forms.Ad...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. */ package com.oracle.oci.osb; import com.oracle.bmc.Region; import com.oracle.bmc.auth.AuthenticationDetailsProvider; import com.oracl...
package com.zandero.rest.data; import com.zandero.rest.annotation.SuppressCheck; import com.zandero.rest.exception.ClassFactoryException; import com.zandero.utils.*; import org.slf4j.*; import sun.reflect.generics.reflectiveObjects.*; import java.lang.reflect.*; import java.util.*; public final class ClassUtils { ...
/* * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in com...
/* * 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 ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.03.13 at 04:23...
/* * Copyright © 2014 <<EMAIL>> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 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...
/* * The MIT License (MIT) * * Copyright (c) 2016-2020 M2mobi * * 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, ...
package com.service.extra.mall.search; import static org.apache.lucene.document.TextField.TYPE_STORED; import java.io.IOException; import java.nio.file.FileSystems; import java.nio.file.Path; import java.text.DecimalFormat; import java.util.HashMap; import java.util.List; import java.util.Map; import org...
package es.ubu.lsi.ubumonitor.view.chart.risk; import java.io.IOException; import java.text.MessageFormat; import java.time.ZoneId; import java.time.ZonedDateTime; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import ...
/* * Copyright (C) 2015 <NAME> * 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 applica...
package net.hashsploit.clank.server.medius.serializers; import java.io.ByteArrayOutputStream; import java.io.IOException; import net.hashsploit.clank.server.medius.MediusCallbackStatus; import net.hashsploit.clank.server.medius.MediusConstants; import net.hashsploit.clank.server.medius.MediusMessageType; import net.h...
/* * Copyright 2017 EpochArch.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package com.dmonsters.entity; import javax.annotation.Nullable; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.*; import net.minecraft.entity.monster.EntityCreeper; import net.minecraft.entity.monster.EntityMob;...
package com.weiaibenpao.demo.chislim.util; import android.animation.Animator; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.util.AttributeSet; import android.view.View; import android.view.animation.AccelerateDecele...
package com.zdq.middle; /** * 43. 字符串相乘 * 给定两个以字符串形式表示的非负整数 num1 和 num2,返回 num1 和 num2 的乘积,它们的乘积也表示为字符串形式。 * <p> * 示例 1: * <p> * 输入: num1 = "2", num2 = "3" * 输出: "6" * 示例 2: * <p> * 输入: num1 = "123", num2 = "456" * 输出: "56088" * 说明: * <p> * num1 和 num2 的长度小于110。 * num1 和 num2 只包含数字 0-9。 * num1 和 num2 均...
package org.netpreserve.urlcanon; class UrlParser { static ParsedUrl parseUrl(String s) { ParsedUrl url = new ParsedUrl(); int pos = 0; int len = s.length(); // leading control chars and spaces while (pos < len && s.charAt(pos) <= 0x20) pos++; url.setLeadingJunk(s.s...
/* * 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 net.thevpc.nuts.runtime.standalone.format.plain; import net.thevpc.nuts.*; import net.thevpc.nuts.runtime.standalone.format.De...
/* * Copyright (c) 2016, 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 ...
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright (C) 2015 Glyptodon LLC * * 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, publi...
package com.google.sample.cast.refplayer.utils; import static com.google.sample.castcompanionlibrary.utils.LogUtils.LOGE; import com.google.android.gms.cast.MediaMetadata; import com.google.android.gms.cast.MediaTrack; import android.os.Bundle; import java.util.ArrayList; import org.json.JSONArray; import org.json...
/* * 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 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 de.digitalemil.thegym; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.Writer; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java....
package server; import common.ChangeLog; import common.CommonUtils; import common.Informant; import common.Keys; import common.Loggable; import common.PlaybackStatus; import common.Reply; import common.Request; import common.Starter2; import common.Transcript; import common.TranscriptReset; import java.util.Collection...
/* * * Copyright 2020. Explore in HMS. 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 req...
/* * Licensed to DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
/******************************************************************************* * Software Name : RCS IMS Stack * * Copyright (C) 2010 France Telecom S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
/* * 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 2010-2016 OrientDB LTD (http://orientdb.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...
/* * 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 agre...
package kiosk; import java.util.Calendar; public class Calculation { /* 만나이 계산 */ int calcAge(long idNum) { // 생년월일 계산 long calcIDNumber = 0; // 구매자 생년월일 int customerYear, customerMonth, customerDay = 0; // 오늘날짜 int todayYear, todayMonth, todayDay = 0; // 구매자 성별 및 2000년생 구분 int type = 0; int k...
package seedu.address.model.util; import static seedu.address.model.resident.Room.UNALLOCATED_REGEX; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; import seedu.address.model.AddressBook; import seedu.address.model.ReadOnlyAddressBook; import seedu.addres...
/* * The MIT License * * Copyright 2012 Sony Mobile Communications AB. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including withou...
package com.newegg.ec.redis.plugin.rct.thread; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.newegg.ec.redis.config.RCTConfig; import com.newegg.ec.redis.entity.*; import com.newegg.ec.redis.plugin.rct.cache.AppCache; import com.newegg.ec.re...
/* © 2013-2015 Deuterium Labs Limited */ package com.deuteriumlabs.dendrite.controller; import java.util.ArrayList; import java.util.List; import java.util.Random; import javax.servlet.http.HttpSession; import com.deuteriumlabs.dendrite.model.PageId; import com.deuteriumlabs.dendrite.model.StoryBeginning; import com...
/* * Copyright 2020 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package org.ihtsdo.termserver.scripting.fixes; import java.io.IOException; import java.util.*; import org.ihtsdo.otf.rest.client.terminologyserver.pojo.Component; import org.ihtsdo.otf.rest.client.terminologyserver.pojo.Task; import org.ihtsdo.otf.exception.TermServerScriptException; import org.ihtsdo.termserver.scri...
package com.desiremc.core.staff; import com.desiremc.core.staff.gadgets.GadgetType; import net.md_5.bungee.api.ChatColor; import org.bukkit.DyeColor; import org.bukkit.Material; import org.bukkit.entity.Item; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemM...
/* * 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.damselfly.common.basedao; import com.alibaba.fastjson.JSONObject; import com.damselfly.common.mybatis.Page; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.StringUtils; import org.apache.ibatis.executor.BatchExecutor; import org.apache.ibatis.executor.BatchResult; impo...
package gallifrey.backend; import java.io.IOException; import com.ericsson.otp.erlang.OtpErlangBinary; import com.ericsson.otp.erlang.OtpErlangDecodeException; import com.ericsson.otp.erlang.OtpErlangExit; import com.ericsson.otp.erlang.OtpErlangAtom; import com.ericsson.otp.erlang.OtpErlangMap; import com.ericsson.o...
/* * Copyright 2002-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 a...
package com.sanctionco.jmail.net; import java.util.Arrays; import java.util.HashSet; import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; /** * Provides validation methods for internet protocol (IP) addresses, * both IPv4 and IPv6. * * <p>Note: IP addresses with prefixes are not cu...
/* * 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 * distribu...
package org.sedgewick.algorithms.part_one.week_five.assigment_one; import edu.princeton.cs.algs4.Point2D; import edu.princeton.cs.algs4.RectHV; import edu.princeton.cs.algs4.StdDraw; import java.util.ArrayList; import java.util.List; public class KdTree { private Node root; private int size; public KdTr...
package com.facebook.react.modules.intent; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.net.Uri; import com.facebook.fbreact.specs.NativeLinkingSpec; import com.facebook.react.bridge.JSApplicationIllegalArgumentException; import com.facebook.react.bri...
package com.skytala.eCommerce.domain.order.relations.returnAdjustment.model; import java.util.Map; import java.math.BigDecimal; import java.sql.Timestamp; import java.util.Map; import java.io.Serializable; import com.skytala.eCommerce.domain.order.relations.returnAdjustment.mapper.ReturnAdjustmentMapper; public class...
package edu.kit.mima.gui.components.text.editor.view; import org.jetbrains.annotations.NotNull; import javax.swing.text.BadLocationException; import javax.swing.text.Element; import javax.swing.text.LabelView; import javax.swing.text.Position; import java.awt.*; /** * Label view that supports strike-through and jag...
package cz.mg.vulkan; public class VkCopyDescriptorSet extends VkObject { public VkCopyDescriptorSet() { super(sizeof()); } protected VkCopyDescriptorSet(VkMemory vkmemory) { super(vkmemory); } protected VkCopyDescriptorSet(VkMemory vkmemory, long vkaddress) { super(vkmemo...
package it.unimib.disco.gruppoade.gamenow.activities; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.ImageV...
/** * Copyright (c) 2013-2016, Jieven. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at <EMAIL> */ package com.eova.engine; import java.util.ArrayList; import java.util.List; import com.alibaba.druid.sql.ast.expr.SQLIdent...
package sc.iview.io; import net.imagej.mesh.Mesh; import net.imagej.mesh.naive.NaiveDoubleMesh; import net.imglib2.RandomAccess; import net.imglib2.RandomAccessibleInterval; import net.imglib2.RealLocalizable; import net.imglib2.RealPoint; import net.imglib2.img.Img; import net.imglib2.img.array.ArrayImgs; import net....
package com.example.sergio.sistz; import android.content.Context; import android.text.style.AbsoluteSizeSpan; import com.example.sergio.sistz.mysql.DBUtility; import java.text.DateFormatSymbols; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; impo...
package tests; import models.Routine; import org.junit.Test; import org.openqa.selenium.chrome.ChromeDriver; import play.Logger; import play.test.TestBrowser; import tests.pages.EditRoutinePage; import tests.pages.IndexPage; import tests.pages.ListRoutinesPage; import tests.pages.ViewRoutinePage; import static org.fe...
/* * 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 edu.usfca.cs272; import static jakarta.servlet.http.HttpServletResponse.SC_OK; import static java.nio.charset.StandardCharsets.UTF_8; import static java.time.format.DateTimeFormatter.ISO_DATE_TIME; import java.io.IOException; import java.io.PrintWriter; import java.net.URLDecoder; import java.net.URLEncoder; ...
package sources.core; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map; import org.bson.types.ObjectId; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.databind.node.ObjectNode; import db.DB; import...
package com.hockeyhurd.hcorelib.api.energy; import com.hockeyhurd.hcorelib.api.tileentity.EnumFrameType; import com.hockeyhurd.hcorelib.api.tileentity.IColorComponent; import com.hockeyhurd.hcorelib.api.tileentity.IModularFrame; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import n...
/** * This class contains the main method required for starting execution * * @author <NAME> * @version 27/03/2018 */ import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt...
/* * Copyright 2020 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" fil...
/* * Copyright (c) <NAME>. All rights reserved. * * Created by <NAME> on December 21, 2013 * <EMAIL> */ package com.codeferm.opencv; import java.applet.Applet; import java.awt.Graphics; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.image.BufferedImage; import java.awt.ima...
/* * * Paros and its related class files. * * Paros is an HTTP/HTTPS proxy for assessing web application security. * Copyright (C) 2003-2004 Chinotec Technologies Company * * This program is free software; you can redistribute it and/or * modify it under the terms of the Clarified Artistic License * as publish...
package jp.co.yahoo.appfeedback.core; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.RectF; import android.util.AttributeSet; import android.view.Motion...
package com.zhengsr.drawlib.trans; import android.os.Handler; import android.os.Looper; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.zhengsr.commonlib.LggUtils; import com.zhengsr.drawlib.action.BaseAction; import com.zhengsr.drawlib.action.EraseAction; import com.zhengsr.drawl...
/* * ApplicationInsights-Java * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the ""Software""), to deal in the Software * without restriction, inclu...
/** * Copyright (c) 2008-2016, Massachusetts Institute of Technology (MIT) * 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 copyri...
package datawave.ingest.util; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import datawave.ingest.data.config.NormalizedContentInterface; import datawave.ingest.mapreduce.MemberShipTest; import datawave.util.StringUtils; import org.apache.log4j.Logger; import org.apache.lucene.anal...
// // $Id$ // From <NAME> (<EMAIL>) // // (c) COPYRIGHT MIT and INRIA, 1997. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.css.css; import org.w3c.css.util.ApplContext; import org.w3c.css.util.HTTPURL; import org.w3c.css.util.Util; import org.w3c.www.mime.MimeType; import or...
package com.example.android.miwok; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.NavUtils; import android.view.LayoutInflater; import android.vi...
package com.dtflys.forest.backend.okhttp3.conn; import com.dtflys.forest.backend.ForestConnectionManager; import com.dtflys.forest.backend.okhttp3.response.OkHttpResponseBody; import com.dtflys.forest.config.ForestConfiguration; import com.dtflys.forest.exceptions.ForestRuntimeException; import com.dtflys.forest.handl...
package utils; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import pde.object.DataflowObject; import rest.config.DbConfiguration; /** * * @author vitor */ publi...
package com.my; import java.util.ArrayList; import java.util.List; /** *寻找两个有序数组的中位数 * 执行用时 : * 5 ms * , 在所有 java 提交中击败了 * 28.52% * 的用户 * 内存消耗 : * 46.9 MB * , 在所有 java 提交中击败了 * 95.12% * 的用户 * @author shang */ public class FindMedianSortedArrays { public static double findMedianSortedArrays(int[] nums...
// Copyright 2019 Intel Corporation // SPDX-License-Identifier: Apache 2.0 package org.sdo.sct; import java.nio.charset.StandardCharsets; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.Signature; import java.security.Signat...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are subject...
package org.opensextant.xlayer.server.xgeo; import java.util.List; import org.json.JSONException; import org.opensextant.data.TextInput; import org.opensextant.extraction.Extractor; import org.opensextant.extraction.TextMatch; import org.opensextant.extractors.geo.PlaceGeocoder; import org.opensextant.extractors.xtax...
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
/* * Copyright (c) 2016, Salesforce.com, 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: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
// // mailをMIME DECODEする // // 2020.07.24 // package jp.or.rim.yk.george.javamail; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Properties; import java.util.logging.Logger; import java.util.logging.StreamHandler; /...
/* * 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 not ...
package com.robotechnix.tripernicus; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robo...
package Epsilon.Subsystems; import static org.firstinspires.ftc.robotcore.external.BlocksOpModeCompanion.telemetry; import static Epsilon.Subsystems.Outtake.OuttakeState.VERTICAL_EXTEND; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.r...
/* * Copyright (c) 2010, Swedish Institute of Computer Science. * 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 * n...
/* * Copyright 2004-2014 ICEsoft Technologies Canada Corp. * * 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 appli...
package org.vaadin.example.ui.forms; import org.vaadin.example.utils.CountryList; import com.vaadin.flow.component.Component; import com.vaadin.flow.component.ComponentEvent; import com.vaadin.flow.component.ComponentEventListener; import com.vaadin.flow.component.Key; import com.vaadin.flow.component.button.Button; i...
package com.codepath.nytsearch.activities; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v4.view.MenuItemCompat; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.SearchView; import android.support.v7.widge...