text stringlengths 3.52k 24k |
|---|
/*
* ============LICENSE_START=======================================================
* ONAP : APPC
* ================================================================================
* Copyright (C) 2018 Nokia. All rights reserved.
* Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
* =====... |
/*
* 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")... |
package nachos.threads;
import nachos.ag.BoatGrader;
public class Boat {
static BoatGrader bg;
public static void selfTest() {
BoatGrader b = new BoatGrader();
//
// System.out.println("\n ***Testing Boats with only 2 children***");
// begin(0, 2, b);
// System.out.println("ChildOhau: " + childOhauCount+ " ,Chi... |
package eutil.random;
import eutil.storage.EArrayList;
/**
* A collection of 250 unique, randomly generated names.
*
* @author <NAME>
* @since 1.0.0
*/
public final class RandomNames {
//----------------------------
// prevent instaniation
private RandomNames() {}
//----------------------------
priv... |
/* PasswordEncryptedEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.hpccsystems.pentaho.job.saltspecification;
import java.util.Iterator;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.s... |
package net.link.oath;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class OCRA {
private OCRASuite ocraSuite;
private byte[] key;
private int counterLookahead;
private int timeTolerance;
private int timeDrif... |
package garneauHalls;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.swing.JFrame;
import mapMaker.Map;
import mapMaker.MapConnector;
public class GameMap {
private final String mainPath = "Maps/Game1.txt", main2P... |
import com.opencsv.*;
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
//import java.util.*;
public class InfoGetter {
public static void operations(String source) throws IOException
{
CSVReader reader = new CSVReader(new FileReader(source), ',', '"', 0);
String[] data = reader.rea... |
package terrails.netherutils.config;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.event.ConfigChangedEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import terrails.netherutils.Constants;
import terrails.netherutils.NetherUtils;
import java.io.Fi... |
package xworker.ai.learning.dataset.importor;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;
import org.... |
/***************************************************************************
vidhrdw.c
Functions to emulate the video hardware of the machine.
TODO:
- Get a dump of the PAL16L8 (IC38 - 4M). This controls transparency.
It takes as input 4 bits of sprite color, and 6 bits of background tile
color. It o... |
// Decompiled by Jad v1.5.8g. Copyright 2001 <NAME>.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.bumptech.glide.load.model.stream;
import com.bumptech.glide.load.Option;
import com.bumptech.glide.load.Options;
import com.bumptech.glide.load.data.Htt... |
package com.aifurion.oasystem.service.impl;
import com.aifurion.oasystem.common.formVaild.BindingResultVOUtil;
import com.aifurion.oasystem.common.formVaild.ResultEnum;
import com.aifurion.oasystem.common.formVaild.ResultVO;
import com.aifurion.oasystem.dao.discuss.*;
import com.aifurion.oasystem.dao.system.TypeDao;
i... |
package com.ebrozon.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.anno... |
/*
* 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 b.j.a.c.b0.a0;
import b.j.a.a.k;
import b.j.a.b.l;
import b.j.a.c.b0.i;
import b.j.a.c.b0.r;
import b.j.a.c.d;
import b.j.a.c.f0.c;
import b.j.a.c.g;
import b.j.a.c.h;
import b.j.a.c.j;
import b.j.a.c.j0.t;
import b.j.a.c.z.a;
import java.lang.reflect.Array;
@a
public class u extends g<Object[]> implements i ... |
//================================================================================================================================
//
// Copyright (c) 2015-2019 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved.
// EasyAR is the registered trademark or trademark of VisionStar Information Techno... |
package net.b07z.sepia.server.assist.server;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Pattern;
import net.b07z.sepia.server.assist.database.DB;
i... |
package sigil;
import java.io.*;
import java.util.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class FileBrowser extends JPanel
{
private Hashtable fileRects;
private File curDir = new File(".");
private String extension;
private int fileWidth = 550, fileHeight = 18, xIns... |
package me.limeglass.skungee.spigot;
import java.io.File;
import java.io.IOException;
import java.net.ServerSocket;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Optional;
import java.util.Set;
import org.bukkit.Bukkit;
... |
package ca.mcgill.sis.dmas.kam1n0.cli.dgen.processing;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.IntStream;... |
package com.ablackpikatchu.refinement.core.config;
import java.util.List;
import com.google.common.collect.Lists;
import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.common.ForgeConfigSpec.ConfigValue;
public class CommonConfig {
public static final ForgeConfigSpec.Builder BUILDER = new Fo... |
/**
* THIS SOFTWARE IS LICENSED UNDER MIT LICENSE.<br>
* <br>
* Copyright 2018 <NAME> [<EMAIL>]<br>
* Based on Moleculer Framework for NodeJS [https://moleculer.services].
* <br><br>
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentat... |
package jgnash.ui.components;
import java.awt.AWTEvent;
import java.awt.Color;
import java.awt.Component;
import java.awt.EventQueue;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.event.ActionEvent;
import java.awt.event.InputEvent;
import java.awt.event.ItemEven... |
package se.bjurr.violations.main;
import static se.bjurr.violations.comments.bitbucketserver.lib.ViolationCommentsToBitbucketServerApi.violationCommentsToBitbucketServerApi;
import static se.bjurr.violations.lib.ViolationsApi.violationsApi;
import static se.bjurr.violations.lib.model.SEVERITY.INFO;
import static se.so... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
package com.linkedin.databus.bootstrap.common;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.log4j.Logger;
import com.linkedin.databus.bootstrap.common.Bootstr... |
package com.psocratic.workchop.line;
import com.psocratic.workchop.spec.*;
import com.psocratic.workchop.step.Step;
import com.psocratic.workchop.step.StepInstantiationException;
import com.psocratic.workchop.step.StepInstantiator;
import com.psocratic.workchop.step.StepInstantiators;
import com.psocratic.workchop.uti... |
/*
* Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 2.0.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do... |
package com.stevenbyle.androidfragmentreuse.controller.selector;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import android.view.LayoutInflater;
... |
/**
*
*/
package com.withinet.opaas.wicket.html;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.form.AjaxButton;
import org.apache.wicket.authroles.aut... |
// Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.nokia.as.service.discovery.k8s.itest.client;
import static org.junit.Assert.assertEquals;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.St... |
package net.minecraft.server;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.EOFException;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.... |
package lsieun.dict.utils;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import lsieun.dict.core.Definition;
import lsieun.dict.core.PartOfSpeech;
import lsieun.dict.core.Word;
import lsieun.dict.core.WordConst;
import lsieun.utils.StringUtils;
import lsieun.utils.io.FileUtils;
public class... |
/* Copyright (c) 2011 Danish Maritime Authority.
*
* 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 l... |
/*
* Copyright © 2014-2017 EntIT Software LLC, a Micro Focus company (L.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
/**
* Copyright 2017 Syncleus, Inc.
* with portions copyright 2004-2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... |
/* Copyright 1999 <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 agreed to in writing,... |
package edu.columbia.cs.psl.mountaindew.example;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import com.sun.xml.internal.ws.org.objectweb.asm.Type;
import edu.columbia.cs.psl.m... |
package cn.jackq.messenger.audio;
import android.util.Log;
import org.bytedeco.javacpp.IntPointer;
import org.bytedeco.javacpp.Loader;
import org.bytedeco.javacpp.Pointer;
import org.bytedeco.javacpp.annotation.Cast;
import org.bytedeco.javacpp.annotation.Platform;
import java.nio.BufferOverflowException;
import jav... |
package com.adviser.imgsrc;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
import org.bouncycastle.util.io.pem.PemReader;
import org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory;
import org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory;
import org.eclipse.jetty.serve... |
// Copyright (c) 2019 K Team. All Rights Reserved.
package org.kframework.compile;
import org.kframework.Collections;
import org.kframework.attributes.Att;
import org.kframework.builtin.KLabels;
import org.kframework.builtin.Sorts;
import org.kframework.definition.Context;
import org.kframework.definition.ContextAlias... |
package seedu.address.logic.commands;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_DATE;
import static seedu.addre... |
/*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
package net.minidev.config;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Hashtable;
... |
package com.homestay.korea.util;
import java.io.IOException;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotyp... |
/*
* Copyright 2014 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package net.masa3mc.pvp2.utils;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.enti... |
/*
* 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 writing, software
* dis... |
package com.jcdesimp.landlord.persistantData;
/**
* File created by jcdesimp on 4/6/14.
*/
import com.avaje.ebean.EbeanServer;
import com.avaje.ebean.EbeanServerFactory;
import com.avaje.ebean.config.DataSourceConfig;
import com.avaje.ebean.config.ServerConfig;
import com.avaje.ebean.config.dbplatform.SQLitePlatfor... |
package test;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.UUID;
import kafka.admin.AdminUtils;
import kafka.consumer.Consumer;
import kafk... |
package com.github.ciselab.lampion.transformations.transformers;
import com.github.ciselab.lampion.support.RandomNameFactory;
import com.github.ciselab.lampion.transformations.*;
import spoon.refactoring.CtRenameGenericVariableRefactoring;
import spoon.reflect.declaration.CtClass;
import spoon.reflect.declaration.CtEl... |
package com.kkb.project.portal.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kkb.project.common.api.CommonResult;
import com.kkb.project.portal.domain.*;
import com.kkb.project.portal.domain.vo.ListWorkImageVo;
import com.... |
package de.quinscape.exceed.runtime.model;
import de.quinscape.exceed.expression.ASTExpression;
import de.quinscape.exceed.model.ApplicationModel;
import de.quinscape.exceed.model.component.ComponentClasses;
import de.quinscape.exceed.model.component.ComponentDescriptor;
import de.quinscape.exceed.model.component.Prop... |
package com.cuberto.flashytabbarohos;
import com.cuberto.flashytabbarohos.util.LogUtil;
import ohos.agp.animation.Animator;
import ohos.agp.animation.AnimatorValue;
import ohos.agp.components.*;
import ohos.agp.utils.Color;
import java.util.ArrayList;
import java.util.List;
public class TabFlashyAnimator implements P... |
package model.shared.selection;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import javax.swing.JTable;
import javax.swing.ListSel... |
/*
* Copyright (c) 2002, 2005, 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 ... |
/*
* 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 org.contentmine.ami.plugins;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.jsoup.helper.StringUtil;
import org.contentmin... |
/**
* Copyright 2015 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright (C) 2014-2021 <NAME> (www.helger.com)
* philip[at]helger[dot]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
... |
/*
* 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 project.addmoto.controller;
import com.alee.laf.WebLookAndFeel;
import java.awt.event.ActionEvent;
import java.awt.ev... |
package net.simplyrin.accountinfo;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.TimeZone;
import lombok.Getter;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bungee.api.connec... |
package com.kanomiya.mcmod.kmagic.api.magic.status;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.... |
package org.bschlangaul.graph.einfaches_format;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import org.bschlangaul.TestHelfer;
import org.junit.Test;
public class GraphenFormatTest {
private GraphenFormat lese(String graphenFormat) {
return new GraphenFormat(... |
package edu.zhdata.android.zhapp;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.os.H... |
package hex;
import water.H2O;
import water.Iced;
import water.util.ArrayUtils;
import water.util.Log;
import water.util.MathUtils;
import java.util.Arrays;
/**
* Low-weight keeper of scores
* Solely intended for display (either direct or as helper to create scoring history TwoDimTable)
* Not intended to store la... |
/*
* Copyright 2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Copyright 2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
package tusserver;
import org.springframework.core.env.Environment;
import tusserver.storage.model.TusFile;
import tusserver.exceptions.TusBadRequestException;
import tusserver.exceptions.TusDBFileNotFoundException;
import tusserver.storage.model.TusFilesRepository;
import tusserver.storage.services.StorageService;
im... |
package com.zipc.garden.webplatform.server;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
impo... |
package VolumeJ;
import java.awt.*;
import ij.*;
import ij.gui.*;
import ij.plugin.*;
import java.io.*;
/**
* This class implements the Levoy tent classification function with indexing.
* It implements a table for the rgb and alpha lookup.
* It can be subclassed for variations on the indexing and lookup methods.
*... |
package com.codepath.apps.restclienttemplate.activities;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.Log;
import android.view.Menu;
import ... |
package com.lukatu.agenerator.converter;
import com.lukatu.agenerator.Event;
import com.lukatu.agenerator.Screen;
import com.lukatu.agenerator.Utils;
import com.lukatu.agenerator.label.LabelEnum;
import com.lukatu.agenerator.label.LabelRaw;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOExcept... |
/*
* Copyright (C) 2010-2017 Alibaba Group Holding Limited.
*/
package com.aliyun.svideo.editor.effectmanager;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import androidx.annotation.Nullable;
i... |
package io.github.artislong.core.minio;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.io.file.FileNameUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hu... |
package dk.bec.unittest.becut.debugscript;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import dk.bec.unittest.becut.Settings;
import dk.bec.unittest.b... |
package com.github.ncoe.rosetta.io;
import com.github.ncoe.rosetta.dto.LanguageInfo;
import com.github.ncoe.rosetta.dto.TaskInfo;
import com.github.ncoe.rosetta.util.LanguageUtil;
import com.github.ncoe.rosetta.util.LocalUtil;
import org.apache.commons.lang3.NotImplementedException;
import org.apache.commons.lang3.fun... |
package burp;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pat... |
package com.kenshoo.pl.secondary;
import com.google.common.collect.ImmutableSet;
import com.kenshoo.jooq.AbstractDataTable;
import com.kenshoo.jooq.DataTable;
import com.kenshoo.jooq.DataTableUtils;
import com.kenshoo.jooq.TestJooqConfig;
import com.kenshoo.pl.entity.*;
import com.kenshoo.pl.entity.annotation.Id;
impo... |
// Copyright (c) 2015 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.xwalk.core.internal.extension.api.wifidirect;
import android.app.Activity;
import android.content.Context;
import android.content.BroadcastR... |
/*
* Copyright 2016 Danish Maritime Authority.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package nl.tudelft.context.cg2.client.controller.io.posedetection;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
/**
* Class representing the pose of a human body.
*/
public class Pose {
private Position leftArm;
private Position rightArm;
private Position leftLeg;
privat... |
/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 <NAME>. *
* All rights reserved. Email: <EMAIL> Web: www.q12.org *
* Open Dynamics Engine 4J, Copyrig... |
package io.jenkins.plugins.model;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Objects;
import java.util.TimeZone;
public class DevOpsTestSummary {
private String name;
private int passedTests;
private int failedTests;
private int skippedTests;
private int blockedTests;
priva... |
package org.battelle.clodhopper.fuzzycmeans;
import gnu.trove.list.array.TIntArrayList;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.battelle.clodhopper.... |
/*
* Copyright (C) 2005-2020 <NAME> & <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or a... |
/**
* Copyright 1996-2014 FoxBPM 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 applicable law or a... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package it.unirc.LiangScheme.policyManagement;
import java.math.BigInteger;
import java.util.List;
import ch.hsr.geohash.BoundingBox;
import ch.hsr.geohash.GeoHash;
public class PolicyParsing {
private static BigInteger BI_2_64 = BigInteger.ONE.shiftLeft(64);
private static BigInteger BI_2_32... |
/*******************************************************************************
* Copyright 2016 See https://github.com/gustavohbf/robotoy/blob/master/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... |
package sadco;
import common2.*;
import java.io.*;
import oracle.html.*;
/**
* Creates a drop-down of file names to select
*
* SadcoMrn
* screen.equals("load")
* version.equals("getfile")
*
* @author 001123 - SIT Group
* @version
* 001123 - <NAME> - create class <br>
* 020528 ... |
/*
* Copyright (c) 2016, 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 retain the above copyright notice,
* this list of c... |
package DP_Disambiguation_xgBoost;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.... |
package me.hsgminer.ultimatelights.blocks;
import net.minecraft.block.BlockState;
import net.minecraft.item.DyeColor;
import net.minecraft.state.properties.AttachFace;
import net.minecraft.util.Direction;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minec... |
package com.jiaxy.dreamwork;
import com.jiaxy.dreamwork.assist.IncubatorStat;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import static com.jiaxy.dreamwork... |
package com.cc.custom.rating;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.drawable.ClipDrawable;
import android.graphics.drawable.Drawable;
import android.os.Parcel;
import a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.