text
stringlengths
3.08k
15.2k
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
/* * Copyright (c) 2010-2020. Axon Framework * * 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 o...
/* * Copyright 2004-2008 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 ap...
package xyz.cofe.xml.tr; import org.junit.Assert; import org.junit.Test; import org.w3c.dom.Document; import org.w3c.dom.Node; import xyz.cofe.io.fn.IOFun; import xyz.cofe.iter.Eterable; import xyz.cofe.xml.XmlUtil; import javax.xml.xpath.XPathExpression; import javax.xml.xpath.XPathExpressionException; i...
/******************************************************************************* * Copyright 2018 General Electric Company * * 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:...
package org.ooc.frontend.model; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import org.ooc.frontend.Visitor; import org.ooc.frontend.model.tokens.Token; import org.ooc.middle.hobgoblins.Resolver; /** * Covers can be defined several times, allowing to add ...
package net.darktree.stylishoccult.blocks.entities; import net.darktree.stylishoccult.StylishOccult; import net.darktree.stylishoccult.blocks.CandelabraBlock; import net.darktree.stylishoccult.items.ModItems; import net.darktree.stylishoccult.network.Network; import net.darktree.stylishoccult.particles.Particles; impo...
/* * Copyright 2019 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 ...
/* * Copyright (C) 2018 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 app...
package com.github.geniusgeek.trupple_mvp.utils; import android.Manifest; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas;...
package chat; import java.awt.Color; import java.awt.Font; import java.awt.Image; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; //Java implementation for multithreaded chat client //Save file as Client.java import java.io.*; import java.net.*; import java.util.Scanner; import java.util...
/* * Copyright (c) 2019 <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 ag...
/** * Copyright 2005-2021 Riverside Software * * 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...
/* * Copyright 2019 LinkedIn 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 applicable law or agreed to i...
package io.nutz.nutzsite.module.wx.controller; import io.nutz.nutzsite.common.weixin.util.MenuUtils; import io.nutz.nutzsite.module.sys.models.Config; import io.nutz.nutzsite.module.sys.services.ConfigService; import org.apache.shiro.authz.annotation.RequiresPermissions; import io.nutz.nutzsite.module.wx.models.WxMenu...
package com.baidusoso.wifitransfer; import android.animation.Animator; import android.animation.ObjectAnimator; import android.os.Bundle; import android.os.Environment; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.GridLayou...
/* * Copyright (c) 2012-2014 Isode Limited, London, England. * All rights reserved. */ /* * Copyright (c) 2010 <NAME> * All rights reserved. */ package com.isode.stroke.serializer.payloadserializers; import com.isode.stroke.elements.Form; import com.isode.stroke.elements.FormField; import com.isode.stroke.eleme...
package org.firstinspires.ftc.team6220_2018; import android.graphics.Bitmap; import org.corningrobotics.enderbots.endercv.OpenCVPipeline; import org.opencv.android.Utils; import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.core.MatOfPoint; import org.opencv.core.R...
/* * 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.google.android.gms.games.appcontent; import android.net.Uri; import android.os.Bundle; import android.os.Parcel; import com.google.android.gms.common.internal.safeparcel.SafeParcelable; import com.google.android.gms.internal.C1781jv; import java.util.ArrayList; import java.util.List; public final class Ap...
/* * Copyright (c) 2015, 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 ...
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/metaobj/tags/sakai-10.4/metaobj-util/tool-lib/src/java/org/sakaiproject/metaobj/shared/control/servlet/FileDownloadServlet.java $ * $Id: FileDownloadServlet.java 105079 2012-02-24 23:08:11Z ...
/* * Copyright (c) 2021 Fraunhofer Institute for Software and Systems Engineering * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0 * * SPDX-License-Identifier: Apache-2....
package slimeknights.tconstruct.library.book.content; import com.google.common.collect.Lists; import com.google.gson.annotations.SerializedName; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; impor...
package net.minecraft.server; import com.google.common.collect.Lists; import java.util.List; // CraftBukkit start import org.bukkit.Location; import org.bukkit.craftbukkit.inventory.CraftInventoryStonecutter; import org.bukkit.craftbukkit.inventory.CraftInventoryView; import org.bukkit.entity.Player; // CraftBukkit en...
package com.ducetech.http; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URLEncoder; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util....
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * 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) 2015, <NAME> <<EMAIL>> * * 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 AUTHOR D...
package malware.feature; import static org.junit.Assert.assertEquals; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import malware.parse.AsmParser.AsmMode; import malware.parse.AsmParser.Instruction; import malware.parse.Function; import util.hash.MockHashFunction; ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
package de.polocloud.wrapper.network.handler; import de.polocloud.api.config.saver.IConfigSaver; import de.polocloud.api.config.saver.SimpleConfigSaver; import de.polocloud.api.network.protocol.IPacketHandler; import de.polocloud.api.network.protocol.packet.Packet; import de.polocloud.api.network.protocol.packet.maste...
/* * The MIT License (MIT) * * Copyright (c) 2017 Rebasing.xyz ReBot * * 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 r...
package net.community.chest.apache.ant; import java.io.File; import java.util.Map; import java.util.TreeMap; import net.community.chest.apache.ant.helpers.AttributeValuePair; import net.community.chest.apache.ant.helpers.InMemoryFileContentsReplacer; import org.apache.tools.ant.BuildException; import org.apache.tool...
/* * 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 app...
/* * Copyright (c) 2008-2021 The Aspectran 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 applicabl...
package org.apache.lucene.search.function; /** * 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 Lice...
/* * 3D City Database - The Open Source CityGML Database * https://www.3dcitydb.org/ * * Copyright 2013 - 2021 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.lrg.tum.de/gis/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * Virtua...
/* * Copyright 2016-2019 <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 ag...
/** * Copyright (c) 2002-2014 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundati...
package tw.org.cic.imusensor; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.app.Activity; import android.os.Handler; import android.os.IBinder; import android.os.Message; ...
package conflux.dex.dao; import conflux.dex.model.Order; import conflux.dex.model.OrderStatus; import conflux.dex.model.Trade; import conflux.dex.model.UserTradeMap; import org.slf4j.Logger; import org.springframework.jdbc.core.BatchPreparedStatementSetter; import org.springframework.jdbc.core.BeanPropertyRowMapper; i...
import htsjdk.common.Mutation; import htsjdk.samtools.reference.FastaSequenceIndex; import htsjdk.samtools.reference.IndexedFastaSequenceFile; import htsjdk.samtools.reference.ReferenceSequence; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import ja...
package vn.datsan.datsan.models.chat; import android.os.Parcel; import android.os.Parcelable; import android.text.TextUtils; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.database.Exclude; import com.google.firebase.database.ServerValue; import org.joda.time.DateTime; import org.joda.time....
package adris.altoclef.tasks.resources; import adris.altoclef.AltoClef; import adris.altoclef.Debug; import adris.altoclef.TaskCatalogue; import adris.altoclef.tasks.CraftInInventoryTask; import adris.altoclef.tasks.container.CraftInTableTask; import adris.altoclef.tasks.ResourceTask; import adris.altoclef.tasksystem....
package io.atlasmap.core; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.Parameter; import java.util.List; import java.util.ServiceLoader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.atlasmap.api....
/******************************************************************************* * Copyright (c) <2013>, California Institute of Technology ("Caltech"). * U.S. Government sponsorship acknowledged. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are...
/* * Copyright 2019 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...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.ElapsedTime; import org.firstinspires.ftc.robotcontroller.external.samples....
/******************************************************************************* * 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 r...
package univ.pr.nj.keewitz; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import an...
/* * Copyright 2008-2009 LinkedIn, 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 agre...
package io.bitrise.trace.data.collector.cpu; import androidx.annotation.NonNull; import java.util.Objects; /** * Data class for {@link SystemCpuUsageDataCollector}. */ public class CpuUsageData { private CpuUsageData() { throw new UnsupportedOperationException("Must be a subclass!"); } /** * Data cla...
package uk.ac.shef.wit.nhmm; import static java.lang.Math.abs; import static java.lang.Math.sqrt; public class Matrix { /* Constants */ public static final double MATRIX_TINY = 1E-10; // Smallest value allowed on the diagonal of the LU-decomposition /* Variables */ // boolean SINGULAR_FAIL; ...
/* Copyright 2018 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
package com.lukechenshui.jresume; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.lukechenshui.jresume.exceptions.InvalidJSONException; import com.lukechenshui.jresume.resume.Resume; import freemarker.template.Configuration; import freemarker.template.Template; import net.lingala.zip4j.core...
package com.example.soura.comeducator; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.widget.NavigationView; import android.support.design.widget.Snackbar; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import androi...
/* * $Id$ * Copyright (C) 2006 <NAME> <<EMAIL>> * * 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, ...
/* * 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, m...
/* * * 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 com.buyamovie.api.order; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Collection; import javax.annotation.Resource; import javax.servle...
/* * Copyright 2010 Red Hat, Inc. * * Red Hat 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2016-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.panamera.proxy.ippool; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.LinkedBlockingQueue; /** * 默认IP池客户端。<br> ...
package com.yuzhouwan.bigdata.hbase.util; import com.yuzhouwan.common.util.ExceptionUtils; import com.yuzhouwan.common.util.PropUtils; import com.yuzhouwan.common.util.StrUtils; import com.yuzhouwan.common.util.TimeUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; i...
package org.datadog.jmxfetch.reporter; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.datadog.jmxfetch.App; import org.datadog.jmxfetch.Instance; import org.datadog.jmxfetch.JmxAttribute; import org.datadog.jmxfetch.Metric; import java.util.HashMap; import java.util.List; im...
package vswe.stevescarts.modules.engines; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.datasync.DataParameter; import net.minecraft.network.datasync.DataSerializers; import net.minecraft.util.EnumParticleTypes; import vswe.stevescarts.containers.slots.SlotB...
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
/* The MIT License (MIT) Copyright (c) 2014-2017 <NAME> & respective authors (see AUTHORS) 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 limitat...
/* * 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 pkginterface; import java.util.*; /** * * @author user */ public class Prompt { private Scanner keyboard...
/* * Copyright 2019 Immutables Authors and 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/licenses/LICENSE-2.0 * * Unless required by applica...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("hk") @Implements("WorldMapData_1") public class WorldMapData_1 extends AbstractWorldMap...
package com.checkmarx.sdk.config; import com.checkmarx.sdk.utils.ScanUtils; import com.google.common.collect.ImmutableMap; import org.apache.commons.collections4.MapUtils; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import org.springfram...
package org.hisp.dhis.datamart.indicator; /* * Copyright (c) 2004-2013, University of Oslo * 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 a...
/* * 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 com.hemmerling.aufgabe04ab.controller; import java.io.IOException; import java.io.PrintWriter; import java.util.Colle...
package org.kyojo.core; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFacto...
package alm.motiv.AlmendeMotivator; import alm.motiv.AlmendeMotivator.facebook.FacebookMainActivity; import alm.motiv.AlmendeMotivator.facebook.FacebookManager; import alm.motiv.AlmendeMotivator.models.Message; import alm.motiv.AlmendeMotivator.models.User; import android.app.Activity; import android.app.ProgressDialo...
package un.ocha.sy.dashboard; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Random; import javax.naming.NamingException; import javax.ws.rs.CookieParam; import javax.ws.rs.GET; import java...
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
/* * The MIT License * * Copyright (c) 2010, <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, modi...
/* * Copyright (c) 1997, 2019 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
package com.baidu.trace; import android.text.TextUtils; import com.baidu.trace.c.g; import java.util.Deque; import java.util.LinkedList; import java.util.Queue; public class aw implements g { public static Deque<ar.a> a; protected static long b = 2L; protected static int c = 0; private static byte d = 1; ...
// Copyright 2014 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...
/* * Apache HTTPD & NGINX Access log parsing made easy * Copyright (C) 2011-2018 <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 ...
package uk.ac.cam.cl.emule; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.V...
//======================================================================== // //File: $RCSfile$ //Version: $Revision$ //Modified: $Date$ // //(c) Copyright 2006-2014 by Mentor Graphics Corp. All rights reserved. // //======================================================================== // Licensed u...
/* 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 java.util.ArrayList; import java.util.Scanner; public class Bank{ protected static Integer loanCount; private static Double internalFund; protected ArrayList<Accounts> accs; protected ArrayList<Employees> employees; private Integer Age; public String currentCursorAt; ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.List; import java.util.Map; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; imp...
/* * Copyright 2000-2013 JetBrains s.r.o. * Copyright 2014-2015 AS3Boyan * Copyright 2014-2014 <NAME> * Copyright 2018 <NAME> * Copyright 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...
/* * Copyright (c) 2018 - 2021, Zaphod Consulting BV, <NAME> * This project is free software: you can redistribute it and/or modify it under the terms of * the Apache License, Version 2.0. You can find a copy of the license at * http://www.apache.org/licenses/LICENSE-2.0. */ package nl.christine.schwartze.server....
/** * Copyright 2005-2019 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GridLayout; import java.util.HashMap; import java.util.LinkedList; import java.util.Random; import javax.swing.JPanel; public class Board extends JPanel{ private Cell[][] cells; private HashMap<St...
package simpledb.storage; import simpledb.common.Type; import java.io.Serializable; import java.util.*; /** * TupleDesc describes the schema of a tuple. */ public class TupleDesc implements Serializable { private List<TDItem> TDItems; /** * A help class to facilitate organizing the information of e...
package ico.ico.helper; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Environment; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.widget.Toast; import java.io.File; import jav...
/* * Copyright (c) 1998, 2007, 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.projet.esgi.smshack.broadcastReceiver; import android.app.Notification; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.v4.ap...