text stringlengths 3.52k 24k |
|---|
/**
* Copyright 2014-2017 Linagora, Université Joseph Fourier, Floralis
*
* The present code is developed in the scope of the joint LINAGORA -
* Université Joseph Fourier - Floralis research program and is designated
* as a "Result" pursuant to the terms and conditions of the LINAGORA
* - Université Joseph Fourie... |
package se.uu.it.parapluu.cooja_node.analyzers;
import java.io.IOException;
import java.io.File;
import java.util.LinkedList;
import org.apache.log4j.Logger;
import org.contikios.cooja.util.StringUtils;
import com.ericsson.otp.erlang.OtpErlangAtom;
import com.ericsson.otp.erlang.OtpErlangInt;
import com.ericsson.ot... |
package com.prototype.microservice.etl.data;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.IntStream;
import com.... |
package es.nom.juanfranciscoruiz.pruebas.zzz;
import java.lang.reflect.Constructor;
import es.nom.juanfranciscoruiz.beans.MiClase;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.Type;
import java.util.logging.Level;
import java.util.logging.... |
/*
* Copyright (C) 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 applicab... |
package com.github.kaktushose.lsmodmanager.services;
import com.github.kaktushose.lsmodmanager.exceptions.FileOperationException;
import com.github.kaktushose.lsmodmanager.services.model.Modpack;
import com.github.kaktushose.lsmodmanager.ui.App;
import com.github.kaktushose.lsmodmanager.ui.components.FileMovementStatu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.sjsurha.resident_identifier;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Iterator;
import java.... |
package com.banking;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.ArrayList;
import jav... |
package com.statful.converter.prometheus;
import com.google.common.base.Strings;
import com.google.common.collect.ImmutableMap;
import com.statful.client.CustomMetric;
import com.statful.client.MetricType;
import com.statful.collector.k8s.utils.Loggable;
import com.statful.converter.Converter;
import com.statful.utils... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package edu.wit.cs.comp1000.tests;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.security.Permission;
import edu.wit.cs.comp1000.LA3a;
import junit.framework.TestCase;
public class LA3aTestCase extends TestCase {
@SuppressWarnings("serial")
pri... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Second {
public static void main(String[] args) throws IOException {
BufferedReader lector = new BufferedReader( new InputStreamReader(System.in));
String primeraLinea;
int inicio = ... |
/**
* (c) Copyright 2012 WibiData, 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... |
/*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
package org.ligoj.app.plugin.redirect.resource;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Date;
import java.util.Map;
import javax.transaction.Transactional;
import javax.ws.rs.CookieParam;
import javax.w... |
/**
* Copyright 2017 StreamSets 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 agree... |
/*
* Copyright (c) 2001-2007 Sun Microsystem, 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 m... |
/*
* 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 app... |
// Original author: <NAME>, Sep 5, 2014
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.font.TextLayout;
import java.awt.image.BufferedImage;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.text.DateFormat;
impor... |
package com.google.android.gms.internal.measurement;
import java.io.IOException;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.ReadOnlyBufferException;
import org.jetbrains.anko.DimensionsKt;
public final class zzio {
private final ByteBu... |
///////////////////////////////////////////////////////////////////////////
// __ _ _ ________ //
// / / ____ ____ _(_)____/ | / / ____/ //
// / / / __ \/ __ `/ / ___/ |/ / / __ //
// ... |
/*
* Copyright (c) 2006, KNOPFLERFISH project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, t... |
package org.vaadin.mideaas.frontend;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
im... |
package edu.neu.madcourse.dharammaniar.logit;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.view.Gravity;
import android.view.View;
imp... |
package com.example.evenalone.a300hero.ui.fragment;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import... |
/******************************************************************************
* Copyright (c) 2013-2014, AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyrigh... |
package org.eclipse.mat.parser.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import org.eclipse.mat.SnapshotException;
import org.eclipse.mat.collect.ArrayInt;
import org.eclipse.mat.collect.Arr... |
/*
* Salesforce DTO generated by camel-salesforce-maven-plugin
* Generated on: Thu Sep 06 16:51:28 IST 2018
*/
package org.apache.camel.salesforce.dto;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thought... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package som.mod.som.db;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Vector;
import sa.gui.util.SUtilConsts;
import sa.lib.SLibConsts;
import sa.lib.SLibTimeUtils;
import sa.lib.SLibUtils;
... |
/*
* Copyright (C) 2006 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... |
/*
* 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.debanshu777.flix.ui;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager.widget.ViewPager;
import android.app.ActivityOptions;
import androi... |
package ru.greenpix.civilization.trade;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.block.Biome;
public enum BiomeInfo {
Default(.5, .5, .5, .5),
Beach(0.25, 0.5, 0.06, 1.5, Biome.BEACHES),
Birch_Forest(1.5, 0.75, 0.025, 0.5, Biome.BIRCH_FOREST),
Birch_Forest_Hills(1.5, 1, 0.02, 1, Bio... |
package com.test.activity;
import android.Manifest;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
imp... |
/*
* This file is part of Cubic World Generation, licensed under the MIT License (MIT).
*
* Copyright (c) 2015-2020 contributors
*
* 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 ... |
/**
*
*/
package de.csw.cl.importer.model;
import static util.XMLUtil.NS_XCL2;
import java.io.File;
import java.io.FilenameFilter;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map.Entry;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.L... |
package Login;
import Admin.AdminPage;
import Home.HomePage;
import SignUp.SignUp;
import matches.upcoming_matches;
import java.sql.*;
import java.awt.*;
import javax.swing.*;
import java.awt.EventQueue;
import javax.swing.JFrame;
import java.awt.FlowLayout;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
... |
package info.guardianproject.keanuapp.ui.stories;
import android.content.ContentResolver;
import android.content.Context;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Point;
import android.media.MediaMetadataRetriever;
import android.net... |
// Copyright (C) 2015 Advanced Micro Devices, Inc. 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 requ... |
/*
* Copyright (c) 2020 TurnOnline.biz 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 ... |
package agents.predr;
import java.util.ArrayList;
import framework.*;
import utils.*;
/**
* Rule
*
* An instance of this class contains a rule that looks like this:
* 011.0b, 10..1a -> .1...
* where the '.' is a wildcard that can be either 0 or 1. The RHS of any
* particular rule always has only one non-wi... |
package Node;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.messaging.MessagingException;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.sprin... |
package com.benny.openlauncher.util;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.benny.openlauncher.widget.Desktop;
import... |
package org.corfudb.protocols.wireprotocol;
import com.google.protobuf.TextFormat;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;
import io.netty.handler.timeout.ReadTimeoutException;
import io.netty.handler.timeout.ReadTimeoutHandle... |
package tp.pr3;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import tp.pr3.cityLoader.CityLoaderFromTxtFile;
import tp.pr3.cityLoader.cityLoaderExceptions.WrongCityFormatException;
import tp.pr3.items.CodeCard;
import tp.pr3.items.Fuel;
import tp.pr3.items.... |
package com.north.base.excel;
import org.apache.poi.openxml4j.opc.OPCPackage;
import org.apache.poi.ss.usermodel.BuiltinFormats;
import org.apache.poi.ss.usermodel.DataFormatter;
import org.apache.poi.ss.usermodel.DateUtil;
import org.apache.poi.util.XMLHelper;
import org.apache.poi.xssf.eventusermodel.XSSFReader;
imp... |
package seedu.address.logic.commands;
import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_BIRTHDAY;
import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.address.logic... |
package edu.ohsu.sonmezsysbio.cloudbreak.command;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
import edu.ohsu.sonmezsysbio.cloudbreak.Cloudbreak;
import edu.ohsu.sonmezsysbio.cloudbreak.io.HDFSWriter;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem... |
package tempest.logic;
import tempest.data.DataFactory;
import tempest.data._ROW;
import tempest.functions.FunctionFactory;
import tempest.interfaces.Function;
import tempest.interfaces.TypedObject;
import tempest.interfaces.ValueExpression;
import tempest.sql.SQLTokenizer;
import tempest.sql.TableList;
import tempest... |
/*
* 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 org.solent.com600.example.journeyplanner.jpadao.test;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
i... |
import java.io.File;
import java.io.IOException;
import java.math.BigDecimal;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;
import jxl.write.Label;
impor... |
/*
* #%L
* sfdc-email-to-case-agent
* %%
* Copyright (C) 2006 salesforce.com, inc.
* %%
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* 1. Redistributions of source code must reta... |
/*
* Copyright 2019 Oath Holdings 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 agr... |
/* This file is part of VoltDB.
* Copyright (C) 2008-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 la... |
package model;
import java.util.ArrayList;
import java.util.List;
import java.util.ResourceBundle;
import config.Configuration;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Shape;
import view.SceneConstant;
/**
* An abstract class that must be extended by each simulati... |
/*
* Copyright, 1999-2018, salesforce.com
* All Rights Reserved
* Company Confidential
*/
package com.force.formula.impl;
import static com.force.formula.MockFormulaDataType.*;
import java.math.BigDecimal;
import java.util.Date;
import com.force.formula.MockFormulaDataType;
import com.force.formula.util.BigDecim... |
package co.epitre.aelf_lectures.data;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.concurrent.ExecutionException;
import org.xmlpull.v1.XmlPullParserException;
import android.content.Context;
... |
/*
* 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 org.redkalex.test.protobuf;
import com.google.protobuf.*;
import java.util.*;
import org.redkale.convert.ConvertColum... |
// ===============================================================================
// Authors: AFRL/RQQD
// Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division
//
// Copyright (c) 2017 Government of the United State of America, as represented by
// the Secretary of th... |
package com.example.letmeeat;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.... |
package multiplayer;
import java.awt.geom.Point2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.net.UnknownHostException;
import com.teamdev.jxmaps.LatLng;
import gui.EndGameMenu;
import gui.GameWindow;
import gui.MultiPlayerMenu;
... |
package com.madebyferdi.folume.ultimaker.state;
import com.madebyferdi.folume.ultimaker.hardware.UltimakerHardware;
final public class UltimakerState
{
// Properties
private UltimakerStateValue extruderTemperature;
private UltimakerStateValue heatbedTemperature;
private UltimakerStateValue ledBrightness;
priva... |
package com.common.util;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Point... |
package de.bwaldvogel.mongo.backend;
import static de.bwaldvogel.mongo.backend.Constants.ID_FIELD;
import static de.bwaldvogel.mongo.backend.Utils.describeType;
import static de.bwaldvogel.mongo.backend.Utils.splitPath;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Collection;
import java.uti... |
package com.codesky.radlib.core;
import android.content.Context;
import android.content.res.AssetManager;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.text.TextUtils;
import com.codesky.radlib.support.ERadTab;
import co... |
/* 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, merge, publish, distribute, sub... |
// $Id: MakeGribAggXML.java 51 2006-07-12 17:13:13Z caron $
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impos... |
package com.example.ishudohare.finalpre;
import android.Manifest;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Bitmap;
import android.os.Bundle;
i... |
package org.jojo.flow.model.flowChart.modules;
import static org.jojo.flow.model.util.OK.ok;
import java.awt.Point;
import java.awt.Window;
import java.util.Arrays;
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
import javax.swing.Icon;
import org.jojo.flow.exc.ParsingException;... |
package me.skhanal.StockDweebs;
import java.awt.Color;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.MessageEmbed;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
/*
* This listener class contains all of the general and... |
package io.github.ezforever.thatorthis;
import net.fabricmc.loader.FabricLoader;
import net.fabricmc.loader.ModContainer;
import net.fabricmc.loader.api.LanguageAdapter;
import net.fabricmc.loader.discovery.*;
import net.fabricmc.loader.gui.FabricGuiEntry;
import net.fabricmc.loader.launch.common.FabricLauncher... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
package com.genesys.workspace;
import com.genesys.internal.common.ApiClient;
import com.genesys.internal.common.ApiException;
import com.genesys.internal.workspace.model.ApiSuccessResponse;
import com.genesys.internal.workspace.model.AcceptData3;
import com.genesys.internal.workspace.model.Mediamediatypeinteractionsid... |
package com.lesserhydra.secondchance;
import java.time.Instant;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.attribute.Attribute;
import org.bukkit.... |
package com.artifex.mupdf.android;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.Rect;
import android.os.AsyncTask;
import android.util.Log;
import andr... |
/*
* 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 app... |
/*
* Copyright 2004-2013 the Seasar Foundation and the Others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package in.kevinj.lancamp.server.templating;
import in.kevinj.lancamp.server.WebRouter;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.locks.ReadWriteLock;
import java.u... |
package demos.es2.perftst;
import java.nio.*;
import javax.media.opengl.*;
import com.jogamp.opengl.util.*;
public class PerfVBOLoad extends PerfModule {
public PerfVBOLoad() {
}
public void initShaderState(GL2ES2 gl) {
initShaderState(gl, "vbo-vert-col", "fcolor");
}
protected void ru... |
package spider;
import entity.*;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.*;
/**
* 对页面进行解析
* 存在问题,页面解析还未和页面获取分开
* create at 2019-04-22 by MaXin
*/
public class PageParse {
private We... |
/**
* This file is part of Bitcask Java
*
* Copyright (c) 2011 by Trifork
*
* 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
*
* U... |
/*
* Copyright 2019 <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, merge, publish, distribute, subl... |
package com.reizes.shiva.net.http;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.u... |
/*
* Licensed to <NAME> (the "Author") under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Author licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may not use... |
package com.firesoon.idaservice.appealTemplate.impl;
import com.firesoon.idaservice.appealTemplate.AppealTemplateService;
import com.firesoon.paymentmapper.appealTemplate.AppealTemplateMapper;
import com.firesoon.utils.PropertiesUtil;
import com.firesoon.utils.StringUtil;
import com.google.common.collect.ImmutableMap;... |
/*
* Copyright 2012-2013 inBloom, 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 appli... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... |
/*
* Copyright (C) 2007, <NAME> <<EMAIL>>
* Copyright (C) 2008, <NAME> <<EMAIL>>
* Copyright (C) 2009, Google Inc.
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Distribution License v1.0 whic... |
/*
* The MIT License
*
* Copyright 2018 WildBees Labs.
*
* 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 (C) 2011 The Guava 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 applicable law or agreed ... |
/*-
* #%L
* dEF-Pi python service creation
* %%
* Copyright (C) 2017 - 2018 Flexible Power Alliance Network
* %%
* 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.a... |
package com.edu.chzu.fg.smartornament.activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;... |
package com.artjimlop.altex;
import android.app.DownloadManager;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.util.Log;... |
/**
* Introduction to Neural Networks with Java, 2nd Edition
* Copyright 2008 by Heaton Research, Inc.
* http://www.heatonresearch.com/books/java-neural-2/
*
* ISBN13: 978-1-60439-008-7
* ISBN: 1-60439-008-5
*
* This class is released under the:
* GNU Lesser General Public License (LGPL)
* http://w... |
package naumaxia;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.Random;
import javax.swing.*;
public class BattleFrame extends JFrame {
private JSplitPane sep;
private Grid playerGrid;
private Grid cpuGrid;
private JLabel title1;
privat... |
package io.atleon.kafka;
import io.atleon.core.Alo;
import io.atleon.core.AloFlux;
import io.atleon.core.OrderManagingAcknowledgementOperator;
import io.atleon.util.ConfigLoading;
import io.atleon.util.Defaults;
import io.atleon.util.Instantiation;
import org.apache.kafka.clients.CommonClientConfigs;
import org.apache... |
/*
* Copyright (C) 2014 <NAME>. All rights reserved.
*
* $Id$
*/
package org.jsimpledb.parse.expr;
import java.util.TreeSet;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.dellroad.stuff.java.Primitive;
import org.dellroad.stuff.string.StringEncoder;
import org.jsimpledb.JTransaction... |
package edu.umich.soar.gridmap2d.soar;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.logging.Log;
import org... |
package com.example.acer.q;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.v4.widget.SimpleCursorAdapter;
import android.su... |
package aums;
import java.util.*;
import java.io.*;
public class Faculty extends Users implements Serializable {
Personal pers;
String position;
static ArrayList<Faculty> allfaculty = new ArrayList<Faculty>();
int id;
static int cnt=1;
public Faculty() {
this.pers = null;
this.position = null;
... |
package breakout;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import java.util.List;
import java.lang.Math;
/**
* Creates the bouncer.
* Alters bouncer position, direction, speed, lives and heaviness.
* Responsible for bouncer movement and consequent effects.
* Returns the image and live... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.