text
stringlengths
3.52k
24k
// Copyright (C) 2015 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.ysy.tmall.ware.service.impl; import com.alibaba.fastjson.TypeReference; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.ysy.tmall.common.exception.NoStockE...
// Copyright (C) 1999-2001 by <NAME> <jhunter_AT_acm_DOT_org>. // All rights reserved. Use of this class is limited. // Please see the LICENSE for more information. package com.domeke.app.cos; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWri...
/** * 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 m...
package us.kbase.narrativemethodstore.db.github; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.y...
package name.anonymous.heros.batch.common.stepexecutionsplitter; import java.util.Collection; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.springframework.batch.core.BatchStatus; import org.springframework....
package graphicsassignment3; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.util.logging.Level; import java.util.logging.Logger; import org.lwjgl.BufferUtils; import org.lwjgl.LWJGLException; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.DisplayMode; import...
package com.linkedin.dagli.word2vec; import com.linkedin.dagli.annotation.equality.IgnoredByValueEquality; import com.linkedin.dagli.annotation.equality.ValueEquality; import com.linkedin.dagli.math.hashing.Murmurish; import com.linkedin.dagli.math.vector.DenseFloatBufferVector; import com.linkedin.dagli.transformer.A...
package com.mojang.realmsclient.client; import com.google.gson.JsonElement; import com.google.gson.JsonParser; import com.mojang.realmsclient.dto.UploadInfo; import com.mojang.realmsclient.gui.screens.UploadResult; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.i...
/** * Copyright (c) 2012-2014 <NAME> * Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms. * * <https://github.com/anba/es6draft> */ package com.github.anba.es6draft.runtime.objects.intl; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.nio...
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/* 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 writi...
package org.example.zjapp; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import org.apache.http.HttpEntity; import org.apache.http.HttpEntityEnclosingRequest; import org.apache.http.HttpRequest; import org.apache.http.NoHttpResponseException; import org.apache.http.client.HttpRequestRetryHa...
/* * 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 required by applicable law or agreed to in ...
/* * 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 brisk.util.queue; import java.awt.*; import java.util.Random; class Nets1 extends Frame { private static final int N = 100000; //_______Other vars____ private static final double[] at = new double[N + 2]; private static final double[] st = new double[N + 2]; private static final double[] c...
package io.rapidpro.surveyor.activity; import android.Manifest; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.text.TextUtils; import android.view.KeyEve...
/** * */ package com.uantwerp.algorithms.procedures.base; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import org.apache.commons.lang3.SerializationUtils; import com.uantwerp.algorithms.common.DFScode; import com.uantwerp.algorithms.common.DFSedge; impor...
/* * 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 ffs.algorithm; import com.rits.cloning.Cloner; import java.util.ArrayList; import java.util.HashMap; import java.uti...
/** ------------------------------------------------------------------- Copyright (c) 2014 SyncFree Consortium. All Rights Reserved. This file is provided 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 Licen...
package gov.nasa.jpl.mudrod.recommendation.process; import gov.nasa.jpl.mudrod.discoveryengine.DiscoveryStepAbstract; import gov.nasa.jpl.mudrod.driver.ESDriver; import gov.nasa.jpl.mudrod.driver.SparkDriver; import org.elasticsearch.action.index.IndexRequest; import org.elasticsearch.action.search.SearchResponse; imp...
package com.widget.noname.plus.function; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.util.Log; import android.view.LayoutInflater; import android.view.View; impor...
package com.commercetools.sync.inventories.helpers; import static com.commercetools.sync.commons.utils.CompletableFutureUtils.collectionOfFuturesToFutureOfCollection; import static java.lang.String.format; import static java.util.concurrent.CompletableFuture.completedFuture; import static java.util.stream.Collectors.t...
/***************************************************************************** * Copyright (C) The Apache Software Foundation. All rights reserved. * * ------------------------------------------------------------------------- * * This software is published under the terms of the Apache Software License * * v...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/* * Copyright (C) 2016 University of South Florida (<EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package ru.shemplo.tbs.gfx.launcher; import java.util.Set; import java.util.function.BiConsumer; import com.panemu.tiwulfx.control.NumberField; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Button; import java...
package eu.slipo.workbench.rpc.jobs.tasklet.docker; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java.util.Date; import java.util.function.Consumer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.batch.core.BatchStatus; import org.springframework.ba...
/* This file is part of VoltDB. * Copyright (C) 2021 VoltDB Inc. * * 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 Free Software Foundation, either version 3 of the * License, or (at your option) any later v...
package com.example.quang.bookstoreonline; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBar; import android.support...
package net.lecousin.framework.util; import java.lang.annotation.Annotation; import java.lang.annotation.Repeatable; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.u...
package java_cup; import static java_cup.Main.build_end; import static java_cup.Main.build_parser; import static java_cup.Main.check_end; import static java_cup.Main.check_unused; import static java_cup.Main.dump_end; import static java_cup.Main.dump_grammar; import static java_cup.Main.dump_machine; import static jav...
/* MIT License * * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merg...
package com.harium.krow.ui.component; import com.badlogic.gdx.Input; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.scenes.scene2d.utils.Drawable; import com.badlogic.gdx.utils.Pools; import com.harium.krow.ui.KrCursor; import com.harium.krow.ui.KrFontMetrics; imp...
package com.klinker.android.twitter_l.activities.drawer_activities.discover; /* * 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/l...
package com.archos.filemanager; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import com.archos.filecorelibrary.Utils; import com.archos.filemanager.listing.ListingFragment; import android.content.Context; import android.net.Uri; import android.os.Handler; import android.util.Att...
/* * (C) Copyright IBM Corp. 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.cohort.cql.terminology; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java...
/* * * This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV * Authors: <NAME>, <NAME>, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free Software Foun...
package org.techtown.management.Method_meet_naturally.anonymous_matching; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.databa...
package cn.hicc.information.sensorsignin.activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.v4.widget.Swipe...
/* * Copyright (c) 2001-2007 Sun Microsystems, Inc. All rights reserved. * * The Sun Project JXTA(TM) Software License * * 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 ...
package com.kencloud.workchat; import android.app.SearchManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import andro...
/** * The MIT License (MIT) * <p/> * Copyright (c) 2015 <NAME> * <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 rights * to...
package arekkuusu.enderskills.client.render.skill; import arekkuusu.enderskills.client.ClientConfig; import arekkuusu.enderskills.client.util.ResourceLibrary; import arekkuusu.enderskills.client.util.ShaderLibrary; import arekkuusu.enderskills.client.util.helper.RenderMisc; import arekkuusu.enderskills.common.skill.ab...
package de.uniwue.web.controller; import java.awt.image.BufferedImage; import java.io.*; import java.nio.file.Files; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; import javax.annotation.PostConstruct; impor...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package ti.modules.titanium.facebook; import java.io.IOException; import java.uti...
package org.chartacaeli; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.Arrays; import java.util....
/* * Copyright (c) 2005, The Regents of the University of California, through * Lawrence Berkeley National Laboratory (subject to receipt of any required * approvals from the U.S. Dept. of Energy). All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
package net.sf.hivgensim.preprocessing; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Scanner; import java.ut...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.examples.blog.multicurve1; import static com.opengamma.strata.product.swap.type.FixedIborSwapConventions.GBP_FIXED_6M_LIBOR_6M; import java.time.LocalDa...
/* * Cloud Resource & Information Management System (CRIMSy) * Copyright 2020 Leibniz-Institut f. Pflanzenbiochemie * * 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....
/* * JBoss, Home of Professional Open Source. * Copyright 2020, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
package org.kettle.beam.perspective; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.ScrolledComposite; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.FormLayout; import org.eclipse.swt.widgets.Composite; import org.pentaho.di.core.Const; im...
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import java.io.*; import java.util.*; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; import org.apache.hadoop.mapreduce.Mapper; import org.apache.hadoop.mapreduce.J...
/* Copyright (C) 2000-2003 The Software Conservancy as Trustee. * 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...
package com.doyou.cv.widget; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.Rect; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view....
package com.example.dataloggerglass; import java.util.ArrayList; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.hardware....
/* * Copyright 2020 Xiaomi * * 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...
package me.hypocrite30.rpc.core.registry.etcd.util; import com.google.gson.JsonSyntaxException; import io.etcd.jetcd.*; import io.etcd.jetcd.kv.GetResponse; import io.etcd.jetcd.lease.LeaseKeepAliveResponse; import io.etcd.jetcd.options.GetOption; import io.etcd.jetcd.options.PutOption; import io.etcd.jetcd.shaded.io....
/* * 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 source file is part of InAppDevTools, which is available under * Apache License, Version 2.0 at https://github.com/rafaco/InAppDevTools * * Copyright 2018-2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
package uk.ac.ebi.ep.web.controller; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.LinkedList; import java.util.Objects; import javax.json.Json; import javax.json.JsonArray; import javax.json.JsonObject; import javax.json.JsonReader; import javax.servlet.http.HttpServlet...
/* Copyright 2018 - 2020 <NAME> 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 and the following disclaimer. *...
/* * Copyright (C) 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ModeledWindows; import MainPackage.MainWindow; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Graphics; im...
package com.team1678.frc2021.controlboard; import com.team1678.frc2021.Constants; import com.team1678.frc2021.controlboard.CustomXboxController.Axis; import com.team1678.frc2021.controlboard.CustomXboxController.Button; import com.team1678.frc2021.controlboard.CustomXboxController.Side; import com.team254.lib.geometry...
package enterTheDungeon.game; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.sound.sampled.Clip; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import org.json.simple.JSONObje...
package com.janushenderson.automation.builders; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; // RepositoryDTO.java @JsonIgnoreProperties(ignoreUnknown = true) public class UserDTO { private String login; private long id; private Strin...
package com.alibaba.alink.operator.common.tree.parallelcart.communication; import org.apache.flink.api.common.functions.Partitioner; import org.apache.flink.api.common.functions.RichMapPartitionFunction; import org.apache.flink.api.common.typeinfo.TypeInformation; import org.apache.flink.api.common.typeinfo.Types; imp...
/* * 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...
/* * LispObject.java * * Copyright (C) 2002-2007 <NAME> * $Id$ * * 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 2 * of the License, or (at your option) any later version...
/* * Copyright 2005 <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 i...
/* * Copyright 2021 DADi590 * * 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...
/* * Copyright (C) 2017-2021 <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 ap...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* Copyright (c) 2013 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 http://www.opensource.org/licenses/cddl1.p...
package com.wulinpeng.daiylreader.read.ui; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.graphics.Typeface; import android...
package simpledb.storage; import org.w3c.dom.Node; import simpledb.common.Database; import simpledb.common.Permissions; import simpledb.common.DbException; import simpledb.common.DeadlockException; import simpledb.transaction.Transaction; import simpledb.transaction.TransactionAbortedException; import simpledb.transac...
/* <<< COPYRIGHT START >>> * Copyright 2006-Present OxygenSoftwareLibrary.com * Licensed under the GNU Lesser General Public License. * http://www.gnu.org/licenses/lgpl.html * * @author: <NAME> * <<< COPYRIGHT END >>> */ package net.ugorji.oxygen.wiki; import java.net.URLEncoder; import java.util.E...
package com.rideaustin.test.response; import java.math.BigDecimal; import java.util.Date; import java.util.Map; import java.util.Set; import org.joda.money.Money; import com.rideaustin.model.Address; import com.rideaustin.model.enums.ActiveDriverStatus; import com.rideaustin.model.enums.PaymentProvider; import com.r...
package edu.ncstate.csc510.okeclipse.builder; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.lang.reflect.InvocationTargetException; import java.net.MalformedURLException; import...
/* * 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...
import bagel.AbstractGame; import bagel.Input; import bagel.Keys; import bagel.Window; import bagel.util.Rectangle; import java.util.ArrayList; import java.util.Random; /** * * @author: <NAME> */ public class ShadowFlap extends AbstractGame { Random rand = new Random(); private final double[] OPTS = {100, ...
package com.nyu.cybermetrics.entities; import com.nyu.cybermetrics.repositories.SurveyIndexRepository; import javax.persistence.*; import java.sql.Timestamp; import java.util.Date; @Entity @Table(name = "survey_index_monthly") public class SurveyResponseIndexEntity { @Id @GeneratedValue(strategy = Generatio...
package com.example.bozhilun.android.friend; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import androidx.annotation.Nullable; import androidx.appcompat.widget.Toolbar; import android.text.TextUtils; import android.util.Log; import android.view.View; im...
package hellfrog.common; import hellfrog.settings.SettingsController; import org.javacord.api.DiscordApi; import org.javacord.api.entity.channel.ServerTextChannel; import org.javacord.api.entity.channel.TextChannel; import org.javacord.api.entity.message.Message; import org.javacord.api.entity.message.MessageAttachmen...
package tfc.lang; import java.io.ByteArrayOutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; public class LangMethod { private final Instruction[] instructions; private final String name, descriptor; @SuppressWarnings({"unused", "RedundantSuppression"}) private boolean is...
package malictus.tagcorral.lib.riff; import java.io.*; import java.util.*; import malictus.tagcorral.lib.InvalidReasons; import malictus.tagcorral.lib.chunk.*; import malictus.tagcorral.lib.file.*; /** * Represents a standard RIFF INFO chunk. */ public class INFOChunk extends MetaChunk { private RIF...
/* * RDFpro - An extensible tool for building stream-oriented RDF processing libraries. * * Written in 2015 by <NAME> with support by <NAME> and Marco * Rospocher. Contact info on http://rdfpro.fbk.eu/ * * To the extent possible under law, the authors have dedicated all copyright and related and * neighboring ...
import java.util.InputMismatchException; import java.util.Random; import java.util.Scanner; public class Hammurabi { Random rand = new Random(); static Scanner scanner = new Scanner(System.in); private int population=100; private int grain=2800; //bushels of grain in storage private int land=1000; ...
/* * (C) Copyright 2012, IBM 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 applicable...
package com.zaig100.dg.utils; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.TextureRegion; import java.util.Calendar; import ...
/* * Copyright 2018 Crown Copyright * * 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 (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.alibaba.datax.plugin.writer.cassandrawriter; import com.alibaba.datax.common.element.Column; import com.alibaba.datax.common.element.Record; import com.alibaba.datax.common.exception.DataXException; import com.alibaba.datax.common.plugin.RecordReceiver; import com.alibaba.datax.common.spi.Writer; import co...
/* * Copyright © 2016-2017 <NAME>, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/** * Copyright (C) 2008-2016, RESOL - Elektronische Regelungen GmbH. * Copyright (C) 2016, <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 * ...
/** Copyright (c) 2009-2010, <NAME> and <NAME> 2010 , <NAME> 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 ...
/* * Copyright (C) 2018 <NAME>. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is ...