text stringlengths 3.08k 15.2k |
|---|
package com.omidio.shimmeradapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import androidx.annotation.LayoutRes;
i... |
package com.pastya.spider.crawl;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import org.apache.http.HttpStatus;
import org.apache.http.impl.EnglishReasonPhraseCatalog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.pastya.spider.fetch.FetchException;
i... |
package snoot.commands.chat;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import net.md_5.bungee.api.chat.BaseComponent;
import net.md_5.bungee.api.chat.ClickEvent;
import net.md_5.bungee.api.chat.ComponentBuilder;
import net.md_5.bungee.api.chat.HoverEvent;
import net.md_5.bungee.api.... |
/*
* Generate HTML file containing bug descriptions
* Copyright (C) 2004, University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licen... |
package edu.ufl.bmi.misc;
import java.io.IOException;
import java.net.SocketException;
import javax.net.ssl.SSLException;
import javax.net.ssl.SSLHandshakeException;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.cl... |
/*
* 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 ooga.model.controller;
import com.opencsv.exceptions.CsvValidationException;
import javafx.event.EventHandler;
import javafx.stage.Stage;
import ooga.model.board.Board;
import ooga.model.board.BoardInterface;
import ooga.model.board.GameAreaEditorBoard;
import ooga.model.util.Grid;
import ooga.model.util.Move;... |
/**
* 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 n... |
package org.csdgn.hanami.view.options;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
import javax.swing.JCheckBox;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.UIManager;
import javax.swing.borde... |
package cx.rain.mc.silk.game.provider;
import cx.rain.mc.silk.Silk;
import cx.rain.mc.silk.logging.SilkLogHandler;
import cx.rain.mc.silk.patch.SilkBrandingPatch;
import net.fabricmc.api.EnvType;
import net.fabricmc.loader.api.VersionParsingException;
import net.fabricmc.loader.api.metadata.ModDependency;
import net.... |
/*
* MIT License
*
* Copyright (c) 2016.
* <NAME>, <NAME>, <NAME>, <NAME>,
* <NAME>, <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 l... |
package com.yusys.bione.plugin.valid.web.vo;
import com.yusys.bione.frame.excel.annotations.ExcelColumn;
import com.yusys.bione.frame.excel.annotations.ExcelSheet;
import com.yusys.bione.frame.validator.annotation.BioneFieldValid;
import com.yusys.bione.frame.validator.common.AnnotationValidable;
import org.apache.poi... |
package com.zgs.parallax.view;
import android.animation.ValueAnimator;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v4.view.MotionEventCompat;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.A... |
package org.max.jelurida;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.List;
import java.util.stream.Collectors;
import nxt.addons.JO;
import nxt.blockchain.ChildChain;
import org.bouncycastle.asn1.x9... |
/**
* Copyright (C) 2017 tompee
* <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/>
* Unless required by applicable law or... |
package org.stellar.anchor.reference.service;
import static org.stellar.anchor.api.callback.GetRateRequest.Type.FIRM;
import static org.stellar.anchor.api.callback.GetRateRequest.Type.INDICATIVE;
import static org.stellar.anchor.util.SepHelper.validateAmount;
import java.time.Instant;
import java.time.ZoneId;
import ... |
package com.aaron.group.smartmeal.widget;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.IdRes;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.WindowManager;
import android.view.i... |
/**
* Copyright (C) 2017 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 ap... |
package validation.system;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import validation.solution.Solution;
import validation.solution.SolverStatus;
import validation.variables.IntegerSymbolTable;
import validation.variables.IntegerVariable;
import expression.Expression;
/... |
/*
* 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 ... |
/*
* 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 2012-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2010 JBoss 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 i... |
package com.network.h;
import android.content.Context;
import android.os.Process;
import com.network.android.a.c;
import com.network.android.m;
import com.network.media.q;
import java.io.File;
public final class a {
public static int a(Context context) {
int i = 0;
try {
com.network.an... |
/*
* Copyright (c) 1997, 2018 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: ... |
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URL;
import java.util.Date;
import javax.swing.JButton;
imp... |
package com.hms.alarm_settings.handlers;
import com.hms.common.view.models.callbacks.interfaces.ICallback;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.JsonPrimitive;
import com.hms.data_triggers.models.inter... |
package com.google.android.gms.internal.base;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.SystemClock;
import com.mopub.mobileads.MoPubView;
/* compiled from: com.google.android.gms:play-services-base@@... |
package maps.gml.formats;
import maps.gml.GMLMap;
import maps.gml.GMLNode;
import maps.gml.GMLDirectedEdge;
import maps.gml.GMLCoordinates;
import maps.gml.GMLMapFormat;
import maps.MapTools;
import maps.CoordinateConversion;
import maps.ScaleConversion;
import org.dom4j.Document;
import org.dom4j.DocumentHelper;
imp... |
package interaction_chap02;
import java.applet.*;
import java.awt.*;
import javax.media.j3d.*;
import javax.vecmath.*;
import com.sun.j3d.loaders.objectfile.ObjectFile;
import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.universe.SimpleUniverse;
import com.sun.j3d.utils.universe.PlatformGeometry;
impo... |
package hirs.swid.utils;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.InvalidPathException;
import java.nio.file.Paths;
import com.beust.jcommander.Parameter;
import hirs.swid.SwidTagConstants;
/**
* Commander is a class that handles the command line arguments fo... |
package MCTF;
import Main.*;
/**
* @author: <NAME>
*
* Department of Electronic and Electrical Engineering
* University of Sheffield
* Copyright reserved
*
* No part of the code can be copied without permission of the author
*/
public class tSynthesis {
double[][] refFrame, currFrame;
public void tS... |
/**
* 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 jp.sourceforge.ea2ddl.dao.bsentity.dbmeta;
import java.util.List;
import java.util.Map;
import org.seasar.dbflute.Entity;
import org.seasar.dbflute.dbmeta.AbstractDBMeta;
import org.seasar.dbflute.dbmeta.info.*;
import org.seasar.dbflute.helper.StringKeyMap;
import jp.sourceforge.ea2ddl.dao.exentity.... |
/**
* Copyright 2015 MKL 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 law or agreed t... |
package org.jinyuanjava.litemall.core.util.wxMessage;
import java.io.IOException;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import o... |
package com.pinetree.mobile.bean;
import java.io.Serializable;
import java.util.List;
public class RecoveryNursingPlan implements Serializable{
private String id;//康复护理计划ID
private String custID;//客户id
private String cudeID;//评估报告ID
private String custName;//客户名称
private String createUser;
private String sex;/... |
import java.util.*;
import org.junit.Test;
import static org.junit.Assert.*;
// LC1007: https://leetcode.com/problems/minimum-domino-rotations-for-equal-row/
//
// In a row of dominoes, A[i] and B[i] represent the top and bottom halves of the ith domino. (A
// domino is a tile with two numbers from 1 to 6 - one on e... |
package com.github.fhr.basic.limiter.guava.extension;
import com.google.common.math.LongMath;
import java.util.concurrent.TimeUnit;
import static java.lang.Math.min;
import static java.util.concurrent.TimeUnit.SECONDS;
/**
* Created by <NAME> on 2019/3/6
*
* @description
*/
public abstract class SmoothRateLimit... |
/*
* 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.voshodnerd.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Basic;
imp... |
/*
* Copyright (C) 2014 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
import java.util.ArrayList;
import java.util.List;
/**
* This class is an inheritance of Actor class
* It defines attributes and methods related to Sign Down.
*/
public class Thief extends Actor {
public static final String TYPE = "Thief";
private int direction;
private boolean carrying;
private bo... |
package org.opentosca.toscana.plugins.cloudfoundry.application.deployment;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import org.opentosca.toscana.core.plugin.PluginFileAccess;
import org.opentosca.toscana.core.plugin.PluginFileAccess.BufferedLineWriter;
import org.opentosca.toscana.core... |
package com.reedelk.mongodb.component;
import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.result.UpdateResult;
import com.reedelk.mongodb.internal.ClientFactory;
import com.reedelk.mongodb.internal.attribute.UpdateAttribu... |
package model.location.propertySpace;
import javafx.beans.property.Property;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleObjectProperty;
import model.Transaction;
import model.location.Location;
import model.player.Player;
i... |
import static org.junit.Assert.*;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.*;
import org.junit.*;
public class TestCases {
/**
* Tests if all class field are private, protected
* or package-protected. You don't have to understand
* this code.
* @par... |
/*
* Copyright 2010-2012 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... |
/* ******************************************************************************
* Copyright (c) 2006-2012 XMind Ltd. and others.
*
* This file is a part of XMind 3. XMind releases 3 and
* above are dual-licensed under the Eclipse Public License (EPL),
* which is available at http://www.eclipse.org/legal/epl-v10... |
package com.alibaba.cola.container;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.alibaba.cola.container.command.TestClassRunCmd;
import com.alibaba.... |
package me.markoutte.image.processing.ui.util;
import javafx.beans.InvalidationListener;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Slider;
import javafx.scene.con... |
package com.InfinityRaider.AgriCraft.container;
import com.InfinityRaider.AgriCraft.items.ItemJournal;
import com.InfinityRaider.AgriCraft.tileentity.TileEntitySeedAnalyzer;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.entity.player.EntityPlayer;
import net.minecra... |
package com.lcu.feelingcampus;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import android.widget.Toast;
import com.astuetz.vi... |
package com.project.convertedCode.globalNamespace.namespaces.TheSeer.namespaces.Tokenizer.classes;
import com.runtimeconverter.runtime.references.ReferenceContainer;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.references.BasicReferenceContainer;
import c... |
package ie.gmit.sw;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
/**
* Implementation of Jaccard - code for all the methods exposed by Jaccard.
*/
public class ... |
package executor;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.csv.... |
/*
* Copyright 2019 DeNA Co., Ltd.
*
* 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 ... |
/**
* 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.terraforged.cereal.spec;
import com.terraforged.cereal.Cereal;
import com.terraforged.cereal.value.DataList;
import com.terraforged.cereal.value.DataObject;
import com.terraforged.cereal.value.DataValue;
import java.lang.reflect.Array;
import java.util.Collections;
import java.util.LinkedHashMap;
import j... |
package com.donuts.bismuth.bismuthtoolbox.ui.walletscreen;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.Toast;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import com.donuts.bismuth.bi... |
/*
* Copyright (c) 2003 Sun Microsystems, 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:
*
* - Redistribution of source code must retain the above copyright
* notice, this list o... |
package com.github.nuclearg.kyou.pack;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.lang.StringUtils;
import com.github.nuclearg.kyou.K... |
/*
* Copyright 2014 Higher Frequency Trading
*
* http://www.higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package com.heqifuhou.update;
import java.io.File;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.Handler;
import android.os.IBinder;
import android.os.Message;
import com.heqifuhou.actbase.IBroadcastAction;
import com.heqifuhou.update.base.DownloadUtil;
import... |
package Draw;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Label;
import java.util.logging.FileHandler;
import java.util.logging.Level;
import java.util.logging.LogManager;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatt... |
/*
* 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 dev.hawu.plugins.api.gui.pagination;
import dev.hawu.plugins.api.collections.tuples.Pair;
import dev.hawu.plugins.api.gui.GuiClickEvents;
import dev.hawu.plugins.api.gui.GuiElement;
import dev.hawu.plugins.api.gui.GuiModel;
import dev.hawu.plugins.api.items.ItemStackBuilder;
import org.bukkit.entity.HumanEntit... |
/**
* XMPPTalkBacked.java
*
* Created on 28/07/2009
*/
package org.meta.shell.idebeans.talk;
import java.io.IOException;
import org.jivesoftware.smack.Chat;
import org.jivesoftware.smack.ChatManager;
import org.jivesoftware.smack.MessageListener;
import org.jivesoftware.smack.RosterEntry;
import org.jivesoftware.... |
package com.marklogic.hub;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashM... |
/*
* Copyright 2016 JBoss 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 i... |
package com.jwetherell.pedometer.service;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.logging.Logger;
import com.jwetherell.pedometer.R;
import android.app.Notification;
import android.app.NotificationMa... |
/*
* 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 co.edu.uniandes.quantum.biblioteca.ejb;
import co.edu.uniandes.quantum.biblioteca.entities.EBookEntity;
import co.edu.uniande... |
/*
* 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 org.firstinspires.ftc.teammentor;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qu... |
/**
* Copyright (c) 2003-2005, <NAME>
* All rights reserved.
*
* Portions Copyright (c) 2003-2005 by <NAME>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the abo... |
package com.example.bmxmajo.obraspublicastulancingo;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.graphics.Typeface... |
package edu.cmu.oli.content.contentfiles.utils;
import java.util.Iterator;
import com.google.gson.JsonObject;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonParser;
import edu.cmu.oli.content.configuration.Configurations;
import edu.cmu.oli.content.configuration.Config... |
package cc.zombies.model.agents;
/* CC imports */
import cc.zombies.model.agents.figures.Infected;
import cc.zombies.model.agents.figures.Runner;
import cc.zombies.model.agents.figures.Warrior;
import cc.zombies.model.agents.figures.base.SimulatedAgent;
import cc.zombies.model.geom.internal.GeometryCalculator;
import ... |
/*
Copyright (C) 2015 Electronic Arts 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 retain the above copyright
notice, this list of conditions and the... |
package io.openindoormap.api;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import io.openindoormap.common.BaseControllerTest;
import io.openindoormap.do... |
package com.kh.oherp.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;... |
package org.apache.commons.codec.language;
import java.util.Locale;
import org.apache.commons.codec.EncoderException;
import org.apache.commons.codec.StringEncoder;
import org.apache.commons.p029io.IOUtils;
public class ColognePhonetic implements StringEncoder {
private static final char[] AEIJOUY = {'A', 'E', 'I... |
package com.cjj.sva.anim.controller;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import com.cjj.sva.anim.JJBaseController;
/**
* 这是一个神奇的类,searchview变成一个箭头,射死我吧!
* <p/>
* Created by androidcjj on 2016/4/1.
*/
public class JJChangeArr... |
/**
* Copyright 2012 Twitter, 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 ... |
/*
Author: <NAME> (Capsicum Corporation) <<EMAIL>>
Copyright: Capsicum Corporation 2016
This file is part of Capsicum Web Server which is part of the iOmy project.
iOmy 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 Founda... |
package dev.compactmods.machines.block;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
import java.util.Optional;
import java.util.UUID;
import dev.compactmods.machines.CompactMachines;
import dev.compactmods.machines.config.ServerConfig;
import dev.compactmods.machines.core.E... |
package app.com.lsl.imagelabelerapp.lsl.activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListV... |
/*
* QCRI, NADEEF LICENSE
* NADEEF is an extensible, generalized and easy-to-deploy data cleaning platform built at QCRI.
* NADEEF means "Clean" in Arabic
*
* Copyright (c) 2011-2013, Qatar Foundation for Education, Science and Community Development (on
* behalf of Qatar Computing Research Institute) having its p... |
package producer;
import io.confluent.kafka.serializers.KafkaAvroSerializer;
import io.confluent.kafka.serializers.KafkaAvroSerializerConfig;
import io.confluent.kafka.serializers.subject.RecordNameStrategy;
import net.sourceforge.argparse4j.ArgumentParserBuilder;
import net.sourceforge.argparse4j.ArgumentParsers;
imp... |
package effectiveWidth;
/*
* @author <NAME> (email <EMAIL>)
* For Department of Civil Engineering, Stellenbosch University
* 29 October 2012 (Version 1.0 of CFS design)
*/
import section.Parameters;
import materials.*;
/*Clause 2.4 from SANS 10162-2:2011 ; for uniformly compressed
* Elements with an edge stiffene... |
/*
* Copyright (C) 2012-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 ... |
package com.example.score4;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentTransaction;
import androi... |
package com.techco.igotrip.data.network.model.object;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Nhat on 12/24/17.
*/
public class Article implements Parcelable {
public static final int... |
/*
* $Id$
* $URL$
*
* ====================================================================
* Ikasan Enterprise Integration Platform
*
* Distributed under the Modified BSD License.
* Copyright notice: The copyright for this software and a full listing
* of individual contributors are as shown in the packag... |
package org.scache;
/*
* Copyright (c) 1998, 1999, 2000, 2001, 2002, 2003 <NAME>, Robert
* Olofsson, <NAME>, <NAME>, <NAME>, Vicky
* Carlsson, <NAME>, <NAME> and <NAME>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided tha... |
/*
* 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") (... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.StringTokenizer;
/**
* The class is to print out all count table
* @author guorong
*
*/
public class CountPrin... |
/**
* ResultsFilterCriteria.java
* @author <NAME>
* Apr 6, 2009
* @version 1.0
*/
package org.yeastrc.ms.domain.search;
import java.util.List;
/**
*
*/
public class ResultFilterCriteria {
private Integer minScan;
private Integer maxScan;
private Integer minCharge;
private Integer m... |
package com.codeforces.commons.cache.util;
import com.codeforces.commons.cache.ByteCache;
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.matcher.AbstractMatcher;
import com.google.inject.matcher.Matchers;
import org.aopalliance.intercept.MethodInterceptor;
imp... |
package org.usfirst.frc.team3164.robot;
import org.usfirst.frc.team3164.robot.auto.AutoAlign;
import org.usfirst.frc.team3164.robot.auto.AutoDrive;
import org.usfirst.frc.team3164.robot.auto.RobotPosition;
import org.usfirst.frc.team3164.robot.comms.Watchcat;
import org.usfirst.frc.team3164.robot.electrical.Elec... |
/********************************************************************
*
* File : ITPBridge.java
*
* Author : <NAME>, <EMAIL>
*
* Contents : Interface for the TPBridge OSGi Service
*
********************************************************************/
package edu.harvard.fas.rbrady.tpteam.tpbridge.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.