text stringlengths 3.52k 24k |
|---|
// Copyright (c) 2013 Spotify AB
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... |
package com.example.android.sunshine.app;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
/**
* Playing around maki... |
package com.github.jochenw.afw.core.crypt;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.KeyPair;
import java.security.cert.Certificate;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import ja... |
package org.codefx.lab.optional;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.NotSerializableException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Optional;
import java.util.Random;
/**
* D... |
package com.m4rc310.rcp.reports;
import java.io.File;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Platform;
import org.eclipse... |
/*
* Copyright 2015 EMBL-EBI.
*
* 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 com.occamlab.te;
import java.awt.BorderLayout;
import java.net.URL;
import java.net.URLDecoder;
import java.io.File;
import java.util.ArrayList;
import java.util.Enumeration;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
impo... |
package org.embulk.cli;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.FileSystem;
import java.nio.... |
/**
* Copyright 2016 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright (c) 2000-2005, <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 notice, this
* list of condit... |
package slogo.view;
import java.util.Map;
import java.util.Queue;
import java.util.ResourceBundle;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.ScrollPane.ScrollBarPolicy;
import javafx.scene.control... |
package org.specs.matlabweaver;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import larai.LaraI;
import org.reflect.larai.IWeaver;
import org.reflect.larai.Joinpoint;
import org.specs.MatlabIR.MatlabToken;
import org.specs.MatlabProcessor.Matl... |
package net.aooms.rbac.service;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.StrUtil;
import net.aooms.core.AoomsVar;
import net.aooms.core.id.IDGenerator;
import net.aooms.core.module.mybatis.Db;
import net.aooms.core.module.mybatis.Roper;
import net.aooms.core.module.mybatis.SqlExpression;
import ... |
/*
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
*
* This software may be modified and distributed under the terms of the MIT licens... |
package zdream.nsfplayer.sound;
import zdream.nsfplayer.core.NsfStatic;
/**
* S5B 轨道的发声器. 共存在三个这类轨道
*
* @author Zdream
* @since v0.2.8
*/
public class SoundS5B extends AbstractNsfSound {
public SoundS5B() {
reset();
internalRefresh();
}
/**
* 音量表
*/
public static final int[] VOLT_BL = {
0x00, ... |
/*
* 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 ma... |
/*
* Copyright 2009-2016 European Molecular Biology Laboratory
*
* 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 a... |
package com.orbitz.monitoring.lib.renderer;
import com.orbitz.monitoring.api.MonitoringEngine;
import com.orbitz.monitoring.api.monitor.EventMonitor;
import com.orbitz.monitoring.api.monitor.TransactionMonitor;
import com.orbitz.monitoring.api.monitor.serializable.SerializableCompositeMonitor;
import com.orbitz.monito... |
// Copyright (C) 2004-2009 <NAME>, MIT License applies.
// See http://en.wikipedia.org/wiki/MIT_License
// Visit http://www.luschny.de/math/factorial/FastFactorialFunctions.htm
// Comments mail to: peter(at)luschny.de
package de.luschny.apps.factorial;
import de.luschny.apps.LoggedTextBox;
import de.luschny.apps.StopW... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
/**
* Splashscreen with buttons.
*
* @author <NAME>
* Copyright (c) <2014> <<NAME> - Quchen>
*/
package com.quchen.flappycow;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.support.annotation.NonNull;
import android.view... |
/**
* <B>CLASS COMMENTS</B>
* Class Name: DependGraph
* Class Description:
* DependGraph shows dependency graph
*
* @Author: SAB
* $Author: shahzad $
* Known Bugs:
* None
* Concurrency Issues:
* None
* Invariants:
* N/A
* Modification History
* Initial Date Changes
* SAB Apr 22,... |
package com.philips.lighting.quickstart;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view... |
/**
* Copyright 2017-2019 The GreyCat Authors. All rights reserved.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Un... |
package com.github.docker.image.file.finder;
import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.api.command.InspectImageCmd;
import com.github.dockerjava.api.command.InspectImageResponse;
import org.apache.commons.lang.StringUtils;
import org.bouncycastle.pqc.math.linearalgebra.ByteUtils;
imp... |
package org.bouncycastle.math.ec;
import java.math.BigInteger;
public abstract class WNafUtil {
private static final int[] DEFAULT_WINDOW_SIZE_CUTOFFS = new int[]{13, 41, 121, 337, 897, 2305};
private static final byte[] EMPTY_BYTES = new byte[0];
private static final int[] EMPTY_INTS = new int[0];
pr... |
/**
* Copyright 2012 Comcast Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
package io.swagger.api;
import io.swagger.model.*;
import io.swagger.api.MailApiService;
import io.swagger.api.factories.MailApiServiceFactory;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
import io.swagger.v3.o... |
/*
* Copyright (c) 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 wri... |
/**
Copyright 2013 <NAME> project Ardulink http://www.ardulink.org/
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... |
/* ==================================================================
* Created [2009-09-27] by Jon.King
* ==================================================================
* TSS
* ==================================================================
* mailTo:<EMAIL>
* Copyright (c) boubei.com, 2015-2018
... |
package de.uni_hildesheim.sse.monitoring.runtime.configuration;
import de.uni_hildesheim.sse.monitoring.runtime.recording.ObjectSizeProvider;
/**
* Implements an object size cache, a simplified and typed version the
* hashmap <code>java.util.HashMap</code>.
*
* @author from SUN/ORACLE
* @since 1.00
... |
package ca.josephroque.idea.config;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.TreeMap;
import java.util.TreeSet;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.... |
package org.firstinspires.ftc.teamcode;
/* Copyright (c) 2017 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistribution... |
/*
* Copyright 2019 Haulmont.
*
* 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 2021 <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, distribut... |
package com.williamlewww.thane.TMain;
import android.graphics.PointF;
import com.williamlewww.thane.TEngine.TLine;
import com.williamlewww.thane.TEngine.TQuad;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class Track {
public static List<PointF> speedZones = new ArrayList<>... |
package org.earthChem.db;
/**
* This class is in business layer, which receives request from controller (PersonBean.java),
* creates SQL statements, gets data from DBUtil.java, and return data to controller.
*
* @author <NAME>
* @version 1.0
* @since 1.0 (9/15/2017)
*/
import... |
package dk.treecreate.api.order;
import dk.treecreate.api.authentication.services.AuthUserService;
import dk.treecreate.api.contactinfo.ContactInfo;
import dk.treecreate.api.designs.ContactInfoService;
import dk.treecreate.api.designs.DesignDimension;
import dk.treecreate.api.designs.DesignType;
import dk.treecreate.a... |
package edu.udel.cis.vsl.civl.library.common;
import edu.udel.cis.vsl.civl.config.IF.CIVLConfiguration;
import edu.udel.cis.vsl.civl.dynamic.IF.SymbolicUtility;
import edu.udel.cis.vsl.civl.log.IF.CIVLErrorLogger;
import edu.udel.cis.vsl.civl.log.IF.CIVLExecutionException;
import edu.udel.cis.vsl.civl.model.IF.CIVLExc... |
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... |
/*******************************************************************************
* Copyright: (c) 2013 Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Except as contained i... |
/**
* Copyright 2016 Pinterest, 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... |
package com.utils;
import java.io.File;
import java.io.FileFilter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import... |
package com.malin.listview;
import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.ArrayList;
import java.ut... |
package com.example.graciosa.kidsassistant;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.SystemClock;
import android.preference.PreferenceManager;
import java.util.Calendar;
import java.util.concurrent.TimeUnit;
import s... |
package com.exploiters.xploitclient.utils;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.apache.commons.lang3.tuple.MutablePair;
public class ExploitQueue {
public static void add(boolean IIIIIlIlIIIlIl, Runnable lIIIIlIlII... |
package org.flixel.examples.gles20;
import org.flixel.FlxG;
import org.flixel.FlxSprite;
import org.flixel.FlxState;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture.TextureFilter;
import com.badlogic.gdx.graph... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (... |
/*******************************************************************************
* Copyright (c) 2004, 2010 IBM Corporation.
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.a11y.utils.accprobe.core.resourc... |
package org.ovirt.engine.ui.webadmin.widget.main;
import org.ovirt.engine.ui.common.system.ClientStorage;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.... |
/* ###
* IP: GHIDRA
*
* 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... |
package com.huanmedia.videochat.repository.entity;
import android.os.Parcel;
import android.os.Parcelable;
import java.io.Serializable;
/**
* Created by ericYang on 2017/5/18.
* Email:<EMAIL>
* 用于网络解析
*/
public class UserEntity implements Serializable, Parcelable {
/**
* id : 5
* mobile : 185807... |
/*
* Copyright (C) 2015 coastland
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package seedu.deliverymans.model.util;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import seedu.deliverymans.model.Name;
import seedu.deliveryman... |
/*
* Copyright (c) 2011, <EMAIL>
*
* Licensed under FreeBSD license. See README for details.
*/
package org.nekocode.itunes.remote.connection;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.ByteArrayOutputStre... |
package ericghara.week_9;
import java.util.LinkedList;
import java.util.HashSet;
/**
* This is a solver for Boggle (essentially a word search). It implements hash based data structures (hashmap
* and hashset) as opposed to the more commonly used trie. This solver is able to maintain comparable speed
* to a trie... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.example;
import org.virtualbox_6_1.*;
import java.util.*;
public class VBManager {
private final VirtualBoxManager boxManager;
private final IVirtualBox vbox;
public VBManager(String url, String user, String password) {
boxManager = VirtualBoxManager.createInstance(null);
tr... |
/*
* Copyright (C) 2014 Dell, 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 la... |
package util;
import java.util.ArrayList;
public class OldPathGenerator {
private Position[] smoothedPath;
int[][] anchorHeadings;
public Position[] generatePosPath(Position[] targetPositions, double spacing, double weightSmooth) {
smoothedPath = smoothPath(injectPoints(targetPositions, spacing)... |
package org.buildmlearn.practicehandwriting.helper.practice;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.pm.ActivityInfo;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.speech.tts.TextToSpeech;
import android.support.v... |
package b4j.example;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.pc.*;
public class clsordenador_subs_0 {
public static RemoteObject _cambiarcpu(RemoteObject __ref,RemoteObject _cpu) throws Exception{
try {
Debug.PushSubsStack("cambiarCPU (clsordenador) ","clsordenador",2,__ref.getField(false, "b... |
/*
* Copyright © 2014 <NAME> (<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 applicable law or agr... |
/*
* Copyright (c) 2001, 2006, 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 ... |
import java.util.Set;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Stack;
import java.util.ArrayList;
import java.io.*;
public class CodeGen {
ArrayList<String> instrs; //list of magilla instructions
HashMap <String, H... |
// COMP30022 IT Project - Semester 2 2017
// House Tarth - William Voor Thursday 16.15
// | <NAME> eyeonechi <EMAIL>
// | <NAME> JussiSil <EMAIL>
// | <NAME> minghaooo <EMAIL>
// | <NAME> vikramgk <EMAIL>
// | <NAME> zirenxiao <EMAIL>
package com.comp30022.tarth.catchme... |
/*
* Copyright (c) 2019, 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 Softwa... |
package com.ar.movieinformation;
/**
* Created by alireza on 29/08/2017.
*/
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import and... |
/*
* Copyright (C) 2011 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... |
/*
* Copyright DataStax, 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 in wri... |
/*
* Copyright (C) 2016. BoBoMEe(<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 applicable law ... |
/*
* Copyright 2018-2021 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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... |
//The MIT License
//
//Copyright (c) 2009 nodchip
//
//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... |
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.praisenter.data.song;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.nio.file.Path;
import java.... |
package com.cpic.carmarket.activity;
import java.util.ArrayList;
import android.app.Dialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.View;
import android.view.View.OnClickListener;
imp... |
/*******************************************************************************
* Copyright (c) 2007 <NAME> and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... |
package com.fuxudong.chatclient;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Handler;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
imp... |
/*
* This file was last modified at 2021.12.06 19:31 by <NAME>.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* Codifier.java
* $Id: 37dc6b1381fb63c9a48e9d5eb956e2da8c52b6df $
*/
package su.svn.daybook.domain.model;
impor... |
package utils;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.awt.image.RasterFormatException;
import java.io.File;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import javax.imageio.ImageIO;
import org.apache.commons.io.FileUtils;
import org.opencv.core... |
/* Copyright (C) 2010-2011, <NAME>.
* Copyright (C) 2011, Doubango Telecom.
*
* Contact: <NAME> <diopmamadou(at)doubango(dot)org>
*
* This file is part of imsdroid Project (http://code.google.com/p/imsdroid)
*
* imsdroid is free software: you can redistribute it and/or modify it under the terms of
* the GNU General ... |
/*
* Tap2basCli.java
*
* created: 30.9.2017
* charset: UTF-8
*/
package cz.mp.zxs.tools.tap2bas;
import static cz.mp.zxs.tools.tap2bas.Version.VERSION;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import org.apache.commons.cli.CommandLine;
import org... |
/*
* Copyright (c) 2019 <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 agree... |
package com.zyj.filemanager;
import android.Manifest;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.R... |
/* code to read a pair of XML files and print whether the two XML databases contain the same information
* or not, where the tags in one XML file is mapped to tags in the other XML file using given hardcoded
* mapping rule.
*/
/* apache poi location-
C:\poi-3.16\lib\log4j-1.2.17.jar;C:\poi-3.16\lib\junit-4.... |
package jif.extension;
import java.util.ArrayList;
import java.util.List;
import jif.ast.JifInstantiator;
import jif.translate.ToJavaExt;
import jif.types.ConstraintMessage;
import jif.types.JifClassType;
import jif.types.JifContext;
import jif.types.JifFieldInstance;
import jif.types.JifTypeSystem;
import jif.types.... |
package com.alaskalinuxuser.s4gpuvoltagecontrol;
/* Copyright 2017 AlaskaLinuxUser
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 a... |
/*-
*
* This file is part of Oracle NoSQL Database
* Copyright (C) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
*
* Oracle NoSQL Database 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 Softwar... |
package net.juniorbl.jtoyracing.entity.environment;
import javax.swing.ImageIcon;
import net.juniorbl.jtoyracing.enums.GridPosition;
import net.juniorbl.jtoyracing.enums.ResourcesPath;
import net.juniorbl.jtoyracing.util.ModelUtil;
import com.jme.bounding.BoundingBox;
import com.jme.bounding.BoundingVolume;
import c... |
package steam.web.handler;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.inject.Inject... |
package GUI;
/**
FileProperties.java
this is the message window.
*/
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import Assignments.*;
import View.*;
import java.text.*;
import java.math.*;
import Browser.*;
import Game.*;
import net.miginf... |
package com.alibaba.idst.nls.uds.nlu.time;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.Map;
/**
* @author:518ad-ccn date:Dec 13, 2011 describe:24节气
* 注:程序中使用到的计算节气公式、节气世纪常量等相关信息参照http://www.360doc.com/skill/11/0106/22/5281066_84591519.shtml,
* 程序的运行得出的节... |
package jungsuk_ex;
import java.io.File;
import java.util.*;
public class SungJukEx7 {
public static void main(String[] args) {
ArrayList<Student7> list = new ArrayList<Student7>();
Scanner sc = null;
try {
sc = new Scanner(new File(args[0]));
} catch(Exception e) {
System.out.p... |
/*
* Copyright 2013 <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... |
/* See LICENSE.md for license information */
package org.ice4j.attribute;
import java.net.*;
import java.util.Arrays;
import org.ice4j.*;
/**
* This class is used to represent Stun attributes that contain an address. Such
* attributes are:
*<ul>
* <li>MAPPED-ADDRESS
* <li>RESPONSE-ADDRESS
* <li>SOURCE-ADDRESS
... |
/**
* Copyright 2008 - 2019 The Loon Game Engine 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 appl... |
/**
* Copyright Pravega 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 to... |
/*
* Copyright (c) 2016-2026 <NAME>
* LinkedIn: https://www.linkedin.com/in/juminrubin/
*
* 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-... |
package com.fobgochod.api.file;
import com.fobgochod.constant.FghConstants;
import com.fobgochod.domain.ImageHandle;
import com.fobgochod.domain.ImageInfo;
import com.fobgochod.entity.file.FileInfo;
import com.fobgochod.entity.file.ShareRecord;
import com.fobgochod.entity.file.ShrinkImage;
import com.fobgochod.excepti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.