text
stringlengths
3.08k
15.2k
package com.petraszd.android.typingtrainer; import com.badlogic.gdx.Gdx; final public class Rules { public static void setSpeeds(int lines) { float steps = Gdx.graphics.getWidth() / STEP_SIZE; // TODO: spend more time with this formula ENEMY_SPEED = 2.0f + Math.abs(1.5f * steps - lines * 1.0f); setEnemySpa...
package humanize.util; import android.support.v4.media.session.PlaybackStateCompat; import com.facebook.react.uimanager.ViewProps; import com.facebook.share.internal.ShareConstants; import com.google.common.base.Joiner; import com.ihealth.communication.manager.iHealthDevicesManager; import humanize.spi.context.Default...
/** * 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.dnastack.wdl4j.lib; import com.dnastack.wdl4j.lib.api.StandardLib; import com.dnastack.wdl4j.lib.api.WdlElement; import com.dnastack.wdl4j.lib.exception.NamespaceException; import com.dnastack.wdl4j.lib.exception.WdlValidationError; import com.dnastack.wdl4j.lib.typing.CoercionOptions; import com.dnastack....
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2021 EPAM Systems, Inc * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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 Li...
package org.dataalgorithms.chap22; // STEP-0: import required classes and interfaces import org.dataalgorithms.util.MathUtil; import org.dataalgorithms.util.SparkUtil; import scala.Tuple2; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaPairRDD; import org.apache.spark.api.java.JavaSpar...
/* * Copyright (c) 2015-2020, Oracle and/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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
/* * The MIT License (MIT) * * Original Source: Copyright (c) 2009-2011 Luaj.org. All rights reserved. * Modifications: Copyright (c) 2015-2020 SquidDev * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal...
package org.pconrad.webapps.sparkjava; import java.util.HashMap; import java.util.Map; import static java.util.Map.Entry; import spark.ModelAndView; import spark.Spark; import static spark.Spark.get; import static spark.Spark.post; import static spark.Spark.before; import spark.Request; import spark.Response; imp...
package io.digdag.core.agent; import java.util.List; import java.time.Instant; import java.io.IOException; import java.io.ByteArrayInputStream; import com.google.inject.Inject; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import io.digdag.client.config.Config; import io.digda...
/* * Copyright (c) 2007-2014 Concurrent, Inc. All Rights Reserved. * * Project and contact information: http://www.cascading.org/ * * This file is part of the Cascading project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
/* * 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.example.rebelor.carre_mobile; import android.util.Log; import static android.content.ContentValues.TAG; public class RiskEvidenceConditionParser { //http://codereview.stackexchange.com/questions/38348/boolean-expression-parser private static final String[] operators = {"!=", "=", ">=", "<=", ">",...
package sorts.hybrid; import main.ArrayVisualizer; import sorts.insert.InsertionSort; import sorts.templates.Sort; /* * MIT License Copyright (c) 2020 Gaming32 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
/** * 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.gl.vn.me.ko.pies.platform.server.rest; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import com.gl.vn.me.ko.pies.base.constant.Message; import com.gl.vn.me.ko.pies.base.feijoa.ExecutorUtil; import com.gl.vn.me.ko.pies.platfor...
/** * The MIT License * * <p>Copyright (c) 2013-2020 <NAME>. (<EMAIL>) * * <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the...
/** * Copyright (c) 2016, Gluon Software * 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 lis...
/* * Copyright 2015-2019 Netflix, 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 ...
package Java.DataStructures; import java.util.Scanner; class AVL_Tree_Implementation { //Node class to make nodes as class objects. class Node{ int key, height; Node left, right; //Constructor to define values in Node. Node(int d){ key = d; height = 1; ...
package command.commands.roles; import command.Command; import database.connectors.RolesConnector; import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.entities.*; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import java.io.BufferedReader; import java.io.File; import java.io.FileReader...
/* * Copyright 2014 Netflix, 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 t...
/* * The MIT License * * Copyright (c) 2017 aoju.org 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 without limitation the rights...
/** * Copyright 2015 <NAME> and Netflix, 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 ...
/* * 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 banking_system; // Saving class inherits Account class public class Saving extends Account { // declaring variable using private access modifier protected String accType; protected String accNo_accType; protected int maxTranNumberPerDay; protected double maxTransAmountPerDay; protected double...
/******************************************************************************* * Copyright (C) 2014 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....
package alkarn.github.io.sslengine.example; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import java.security.SecureRandom; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; import javax.net.ssl.SSLEngineResult; impor...
package net.zomis.minesweeper.analyze; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Random; import net.zomis.minesweeper.analyze.detail.DetailAnalyze; import net.zomis.minesweeper.analyze.detail.DetailedResults; import net.zomis.minesweepe...
package me.abhrajit.hackernewsreader.webcalls; /* Copyright 2016 <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 re...
/******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and...
package io.agora.lrcview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.RectF; import android.graphics.Shader; import android.os.Build; import android.util.AttributeSe...
/******************************************************************************* * * Copyright (C) 2015-2022 the BBoxDB 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 Licens...
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui; import com.intellij.icons.AllIcons; import com.intellij.ide.DataManager; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.applica...
import java.beans.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import javax.swing.*; import javax.swing.plaf.LayerUI; import java.awt.geom.Point2D; /** * Description: * 网站: <a href="http://www.crazyit.org">疯狂Java联盟</a><br> * Copyright (C), 2001-2018, Yeeku.H.Lee<br> * This program is pr...
package com.genedev.ink_socialmedia.RegistrationUtils; import android.app.DatePickerDialog; import android.app.ProgressDialog; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.DatePicker; import android.widget.ImageButton; impo...
/* * 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 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 may...
/* * Copyright 2017, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.core.datastore.inmemory; import com.yahoo.elide.core.RequestScope; import com.yahoo.elide.core.datastore.DataStoreTransaction; import com.yahoo.elide.core.dictio...
/** * Copyright 2012 Comcast Corporation * * 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...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * 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 ...
/* * Copyright [2013-2021], Alibaba Group Holding 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 app...
package mindustry.entities.effect; import arc.*; import mindustry.annotations.Annotations.*; import arc.struct.*; import arc.math.*; import arc.math.geom.*; import arc.util.*; import mindustry.content.*; import mindustry.entities.*; import mindustry.entities.traits.*; import mindustry.entities.type.*; import mindustry...
// 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 writing, ...
/* * 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 doutorado.tese.visao; import doutorado.tese.dao.ManipuladorArquivo; import doutorado.tese.controle.mb.GlyphManager; import dou...
/* * Copyright 2019 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 appli...
package com.ABC.bc.wallet.component; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.ABC.bc.wallet.entity.Coin; import com.ABC.bc.wallet.entity.Deposit; import com.ABC.bc.wallet.event.DepositEvent; import com.ABC.bc.wallet.service.AccountServi...
/* * This file is part of AceQL JDBC Driver. * AceQL JDBC Driver: Remote JDBC access over HTTP with AceQL HTTP. * Copyright (C) 2021, KawanSoft SAS * (http://www.kawansoft.com). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in ...
package com.bx.erp.model; import android.database.Cursor; import android.database.sqlite.SQLiteStatement; import org.greenrobot.greendao.AbstractDao; import org.greenrobot.greendao.Property; import org.greenrobot.greendao.internal.DaoConfig; import org.greenrobot.greendao.database.Database; import org.greenrobot.gree...
package io.ami2018.ntmy.wearconnection; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.support.annotation.NonNull; import android.util.Log; import com.android.volley.Response; import com.android.volley.VolleyError; import com....
package com.dhcc.controller; import com.alibaba.fastjson.JSONObject; import com.dhcc.entity.Activity; import com.dhcc.service.ActivityService; import org.apache.log4j.Logger; import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; import java.util.HashMap; import java.util.List; import jav...
/* * 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 blink; import java.util.*; class Tokenizer { private final String source; private final List<Token> tokens; private int line, col, begin, curr; private static final Map<String, TokenType> keywords; static { keywords = new HashMap<>(); keywords.put("not", TokenType.NOT); ...
/* * 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 naveen.hackathon.hackathon.reports_charts.charts; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.anychart.anychart.AnyChart; import com.anychart.anychart.AnyChartView; import com.anychart.anychart.Cartesian; import com.anychart.anychart.CartesianSeriesLine; import com.an...
// Copyright 2010-2013 (c) IeAT, Siemens AG, AVANTSSAR and SPaCIoS consortia. // 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 // // Unles...
/** * Project: x-framework * Package Name: org.ike.eurekacore.core.centers.config * Author: Xuejia * Date Time: 2016/12/21 9:46 * Copyright: 2016 www.zigui.site. All rights reserved. **/ package org.chim.altass.toolkit; import org.chim.altass.core.manager.ControlCenter; import org.chim.altass.core.annotation.Ex...
package ij.plugin; import ij.*; import ij.process.*; import ij.gui.*; import ij.util.Tools; import ij.io.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** This plugin implements the File/ /Convert command, which converts the images in a folder to a specified format. */ public class BatchConverter...
package com.am.minor; import android.app.ProgressDialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; impor...
package com.fragments; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android....
package com.authy; import org.json.JSONArray; import org.json.JSONObject; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import javax.xml.bind.DatatypeConverter; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import ja...
package crawler; import javax.swing.*; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.io.IOException; import java.io.PrintWriter; import static crawler.LinksAndTitles.linksAndTitles; import static javax.swing.JOptionPane.showMessageDialog; publ...
package com.ms.silverking.cloud.dht.daemon; import java.net.InetSocketAddress; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import com.google.common.collect.ImmutableSet; import com.ms.silverking.cloud.d...
//Made by <NAME> //purpose is to make the screen to insert an activity package com.example.myapplication; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.NotificationCompat; //imports for Android Studio Widgets and notifications import android.app.Notific...
/* Copyright 2017 Digital Learning Sciences (DLS) at the University Corporation for Atmospheric Research (UCAR), P.O. Box 3000, Boulder, CO 80307 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 a...
package io.quarkus.deployment.index; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Optional; import ja...
package edu.umd.cs.findbugs.detect; import java.util.Collection; import java.util.HashSet; import java.util.Set; import org.apache.bcel.Const; import org.apache.bcel.Repository; import org.apache.bcel.classfile.Constant; import org.apache.bcel.classfile.ConstantCP; import org.apache.bcel.classfile.ConstantClass; impo...
// Copyright (C) 2019 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 hirs.data.persist; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import hirs.persist.RepositoryManager; import hirs.repository.RepoPackage; import hirs.repository.Repository; import org.apache.logging.log4j.LogManager; impo...
package org.apache.velocity.tools.config; /* * 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 Li...
// Copyright 2016 The Bazel Authors. 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 appl...
/* * ErrorListDialog.java - Used to list I/O and plugin load errors * :tabSize=4:indentSize=4:noTabs=false: * :folding=explicit:collapseFolds=1: * * Copyright (C) 2001 <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as pub...
package com.lucky.sweet.activity; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.inputmethod.InputMethodMa...
package org.fastj.util; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.lang.annotation.Annotation; import java.net.URL; import java.net.URLDecoder; import java.nio.charset.Charset; import java.util.Collections; import java...
package net.minecraft.client.renderer; import java.nio.FloatBuffer; import java.nio.IntBuffer; import net.minecraft.block.Block; import net.minecraft.block.BlockLiquid; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.MathHelper; import net.minecr...
package org.maltparserx.core.syntaxgraph; import org.maltparserx.core.exception.MaltChainedException; import org.maltparserx.core.flow.FlowChartInstance; import org.maltparserx.core.flow.item.ChartItem; import org.maltparserx.core.flow.spec.ChartItemSpecification; import org.maltparserx.core.options.OptionManage...
package jarshrink; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintStream; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; imp...
package com.blazemeter.jmeter.threads.concurrency; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.jmeter.contr...
/* * 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 * distributed...
package com.linkedin.dagli.tester; import com.linkedin.dagli.placeholder.Placeholder; import com.linkedin.dagli.producer.ChildProducer; import com.linkedin.dagli.producer.Producer; import com.linkedin.dagli.util.invariant.Arguments; import com.linkedin.dagli.util.array.ArraysEx; import java.util.ArrayList; import java...
/* * 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")...
/* * 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 ...
/* Copyright (c) 2011 eBay, Inc. This program is licensed under the terms of the eBay Common Development and Distribution License (CDDL) Version 1.0 (the "License") and any subsequent version thereof released by eBay. The then-current version of the License can be found at https://www.codebase.ebay.com/Licen...
package com.amdocs.homing; import com.amdocs.homing.datamodel.*; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import net.minidev.json.JSONObject; import org.apache.http.HttpStatus; import rest.APIResponse;...
/* * Copyright 2014-2017 See AUTHORS file. * * 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...
package ml.melun.mangaview.mangaview; import android.os.Build; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; ...
package net.minecraft.inventory; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; import net.m...
/* * Copyright (c) 2009-2016, United States Government, as represented by the Secretary of Health and Human Services. * 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 ...
/* * Copyright 2014 <NAME>, <NAME>, <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright 2017 Pilosa Corp. * * 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 conditions and the following discla...
/* * Copyright (c) [2016-2018] [University of Minnesota] * * 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, m...
/* * Copyright 2015-2020 <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...
// Copyright (C) 2016 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 com.doubleencore.bugreport.internal; import android.app.Activity; import android.app.Application; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import andr...
/** * SonarQube Sonargraph Integration Plugin * Copyright (C) 2016-2021 hello2morrow GmbH * mailto: support AT hello2morrow 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 * ...
/** * JBoss, Home of Professional Open Source * Copyright Red Hat, Inc., and individual contributors. * * 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/licens...
/* * ChatNoir 2 Web Frontend. * Copyright (C) 2014-2017 <NAME>, Webis Group * * 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 ri...