text stringlengths 3.52k 24k |
|---|
package pHomomorphism;
import java.util.*;
import static java.lang.System.out;
/**
*
* The class has methods to calculate max Cardinality Mapping.
*
* @author <NAME> (<EMAIL>)
* @see LICENSE (MIT style license file).
*
*/
public class MaxCardinality {
private List<Match> mapping = new ArrayList<Match>(... |
package nz.ac.auckland.kafka.http.sink;
import nz.ac.auckland.kafka.http.sink.handler.ResponseExceptionStrategyHandlerFactory;
import nz.ac.auckland.kafka.http.sink.validator.EnumValidator;
import nz.ac.auckland.kafka.http.sink.validator.JsonValidator;
import org.apache.kafka.common.config.AbstractConfig;
import org.a... |
package org.doogwood.jp1ajs2.jobdoc.service;
import org.doogwood.jp1ajs2.unitdef.FileWatchingCondition;
import org.doogwood.jp1ajs2.unitdef.HoldAttrType;
import org.doogwood.jp1ajs2.unitdef.Param;
import org.doogwood.jp1ajs2.unitdef.Params;
import org.doogwood.jp1ajs2.unitdef.UnitType;
import org.springframework.stere... |
package com.project.convertedCode.globalNamespace.namespaces.Mockery.namespaces.Generator.classes;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.classes.StaticBaseClass;
import com.runtimeconverter.runtime.nativeClasses.Closure;
import com.runtimeconverter... |
package com.github.bohnman;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugins.annotations.Component;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.pl... |
/*
* 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 (C) 2012 Google Inc.
* Licensed to 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
... |
/*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Li... |
package madgik.exareme.master.queryProcessor.composer;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import madgik.exareme.utils.properties.AdpProperties;
import madgik.exareme.worker.art.container.ContainerProxy;
import madgik.exareme.worker.art.executionEngine.ExecutionEngineLocator;
import madgik... |
package io.bazel.kotlin.builder;
import io.bazel.kotlin.builder.toolchain.CompilationException;
import io.bazel.kotlin.builder.toolchain.CompilationStatusException;
import io.bazel.kotlin.builder.utils.BazelRunFiles;
import io.bazel.kotlin.builder.utils.CompilationTaskContext;
import io.bazel.kotlin.model.*;
import or... |
/*
* Copyright (C) 2014 RoboVM 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 agree... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package main.framework.component;
import com.jogamp.opengl.GL3;
import com.jogamp.opengl.util.GLBuffers;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXExcept... |
package com.oracle.st.xmldb.pm.saxLoader;
import com.oracle.st.xmldb.pm.common.baseApp.ApplicationSettings;
import com.oracle.st.xmldb.pm.common.baseApp.Logger;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import org.w3c.dom.Element;
import org.w3c.do... |
package io.kurumi.fuckmfs;
import com.sollyu.android.appenv.helper.RandomHelper;
import de.robv.android.xposed.IXposedHookLoadPackage;
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XC_MethodReplacement;
import de.robv.android.xposed.XposedHelpers;
import de.robv.android.xposed.callbacks.XC... |
/* 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 (c) 2008-2011, <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, publis... |
package mil.nga.giat.geowave.test.spark;
import org.apache.spark.SparkContext;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.SparkSession;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass... |
package com.igormaznitsa.GameKit_FE652.Balloon;
import com.igormaznitsa.GameAPI.GameStateRecord;
import com.igormaznitsa.GameAPI.PlayerBlock;
import com.igormaznitsa.GameAPI.StrategicBlock;
import com.igormaznitsa.GameAPI.GameActionListener;
import com.igormaznitsa.GameAPI.Utils.RndGenerator;
import java.io.*;
publi... |
package com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.Util.classes;
import com.runtimeconverter.runtime.references.ReferenceContainer;
import com.runtimeconverter.runtime.nativeFunctions.string.function_trim;
import com.runtimeconverter.runtime.nativeFunctions.array.function_sort;
import com.runt... |
/**
* The MIT License
*
* Original work sponsored and donated by National Board of e-Health (NSI), Denmark
* (http://www.nsi.dk)
*
* Copyright (C) 2011 National Board of e-Health (NSI), Denmark (http://www.nsi.dk)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this softwa... |
package minecraftschurli.mcstech.init;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.tags.BlockTags;
import net.minecraft.tags.ItemTags;
import net.minecraft.tags.Tag;
import net.minecraft.util.ResourceLocation;
import static minecraftschurli.mcslib.data.TagHelper.forgeTag;
im... |
// Generated by delombok at Sun Feb 26 12:31:38 KST 2017
package scouter.bytebuddy.agent.builder;
import scouter.bytebuddy.description.type.TypeDescription;
import scouter.bytebuddy.dynamic.ClassFileLocator;
import scouter.bytebuddy.dynamic.loading.ClassInjector;
import java.lang.instrument.ClassFileTransformer;
impo... |
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.tartarus.snowball.ext.porterStemmer;
public class RunBM25Stemmed {
public static void main(String[] args) throws IOException {
try {
String type = "stemAndStop";
Utili... |
package org.apache.flume.source.hdfsdir;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Table;
import com.google.gson.stream.JsonReader;
import org.apa... |
import java.io.FileWriter;
import java.util.Random;
/**
* This class is responsible for actually running the tests.
* Pay no attention to the fact that it apparently uses multithreading;
* that's not something that's taught in CS150
*
* @author <NAME>
* @version 42
*/
public class Runner
{
public static voi... |
package com.github.mummyding.ymsecurity.adapter;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.CheckBox;
import android.widget... |
package net.malwarehub.twitter_notifier;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.Bitmap;
im... |
/**
* 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"); yo... |
package tech.mgl;
import com.googlecode.htmlcompressor.compressor.HtmlCompressor;
import com.yahoo.platform.yui.compressor.CssCompressor;
import org.apache.commons.lang3.StringUtils;
import org.apache.maven.plugin.MojoExecutionException;
import org.codehaus.plexus.util.FileUtils;
import tech.mgl.closure.compiler.Compr... |
/**
* 请勿将俱乐部专享资源复制给其他人,保护知识产权即是保护我们所在的行业,进而保护我们自己的利益
* 即便是公司的同事,也请尊重 JFinal 作者的努力与付出,不要复制给同事
*
* 如果你尚未加入俱乐部,请立即删除该项目,或者现在加入俱乐部:http://jfinal.com/club
*
* 俱乐部将提供 jfinal-club 项目文档与设计资源、专用 QQ 群,以及作者在俱乐部定期的分享与答疑,
* 价值远比仅仅拥有 jfinal club 项目源代码要大得多
*
* JFinal 俱乐部是五年以来首次寻求外部资源的尝试,以便于有资源创建更加
* 高品质的产品与服务,为... |
package com.forum.web.test.dao;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.sql.DataSource;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.bea... |
package matrix;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import application.MMMDataModel;
import application.setup.LinkListDialog;
import application.setup.Triple;
import at.jku.sea.cloud.Artifact;
import init.setup.Link;
import javafx.sc... |
package com.example.acetumor.components;
import androidx.annotation.NonNull;
import androidx.annotation.StringRes;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.core.app.Acti... |
/*
* The MIT License (MIT)
* Copyright © 2016 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the “Software”), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... |
package com.ph.grib2tools.grib2file.griddefinition;
import com.ph.grib2tools.grib2file.DataUtil;
import com.ph.grib2tools.grib2file.GribSection;
import java.io.IOException;
import java.io.RandomAccessFile;
public class GridDefinitionTemplate30 extends GridDefinitionTemplate3x {
private int shapeOfEarth;
... |
package org.teacon.slides.renderer;
import com.mojang.blaze3d.platform.GlStateManager;
import com.mojang.blaze3d.platform.NativeImage;
import com.mojang.blaze3d.platform.TextureUtil;
import com.mojang.blaze3d.systems.RenderSystem;
import net.minecraft.client.Minecraft;
import org.apache.commons.lang3.StringUtils;
impo... |
/**
* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*
Copyright (c) 2012 - SCAPI (http://crypto.biu.ac.il/scapi)
* This file is part of the SCAPI project.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Permission is hereby granted, free of charge, to any person obta... |
/*
* Copyright © 2015-2016 <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 agreed... |
package com.xunlei.downloadprovider.frame;
import com.xunlei.downloadprovider.member.login.LoginHelper.m;
// compiled from: MainTabActivity.java
final class w implements m {
final /* synthetic */ MainTabActivity a;
w(MainTabActivity mainTabActivity) {
this.a = mainTabActivity;
}
/* JADX WARN... |
package game_cmm134;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.input.KeyCode;
import javafx.scene.paint.Color;
... |
/*
* This file is part of lanterna (http://code.google.com/p/lanterna/).
*
* lanterna 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 3 of the License, or
* (at your option) any lat... |
package com.carrotsearch.progresso.util;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Objects;
import java.util.function.Consu... |
package pro.chenggang.project.reactive.mybatis.support.r2dbc.binding;
import org.apache.ibatis.annotations.Flush;
import org.apache.ibatis.binding.BindingException;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.SqlCommandType;
import org.apache.ibatis.reflection.ParamNameResolver;
... |
/*
* Copyright (C) 2012 TopCoder Inc., All Rights Reserved.
*/
package gov.medicaid.screening.dao.impl;
import gov.medicaid.entities.License;
import gov.medicaid.entities.LicenseStatus;
import gov.medicaid.entities.OptometryLicenseSearchCriteria;
import gov.medicaid.entities.ProviderProfile;
import gov.medicaid.enti... |
/**
* Copyright 2009-2018 WSO2, Inc. (http://wso2.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
*
* Unless required by applic... |
/*
* Copyright 2016 LinkedIn Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package org.strangeforest.orm.db;
import java.util.*;
import java.util.function.*;
import javax.sql.*;
import org.apache.commons.lang3.builder.*;
import org.strangeforest.db.gateway.*;
import org.strangeforest.orm.*;
import org.strangeforest.util.*;
//TODO Add support for eager fetching of entities (eager fetching o... |
package i5.las2peer.services.deployService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.ws.rs.Produces;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.*;
import ... |
package vip.frendy.mediasel.model;
import android.graphics.Color;
import com.yalantis.ucrop.entity.LocalMedia;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import vip.frendy.mediasel.R;
public class FunctionConfig implements Serializable {
// 裁剪模式
public static final int... |
/*
* 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 com.anriku.imcheck.Adapter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.graphics.Color;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import a... |
package de.kosmos_lab.kosmos.platform.gesture;
import de.kosmos_lab.kosmos.platform.gesture.data.Gesture;
import de.kosmos_lab.kosmos.platform.gesture.data.Point;
import de.kosmos_lab.kosmos.platform.persistence.Constants;
import de.kosmos_lab.utils.FileUtils;
import de.kosmos_lab.utils.StringFunctions;
impor... |
/*-
* #%L
* The Labkit image segmentation tool for Fiji.
* %%
* Copyright (C) 2017 - 2022 <NAME>
* %%
* 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 c... |
package com.martin.opencv4android;
import android.app.ProgressDialog;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.... |
package org.opentosca.toscana.plugins.cloudformation.visitor;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.opentosca.toscana.core.transformation.TransformationContext;
import org.opentosca.toscana.model.capability.EndpointCapability;
import org.opentosc... |
package mandarin.packpack.supporter.bc;
import common.CommonStatic;
import common.battle.data.MaskAtk;
import common.battle.data.MaskEntity;
import common.battle.data.MaskUnit;
import common.pack.Identifier;
import common.util.Data;
import common.util.lang.Formatter;
import common.util.lang.ProcLang;
import common.uti... |
package remote_webview.view;
import android.annotation.TargetApi;
import android.app.Presentation;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import andr... |
package com.example.asknanterre;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.Log;
import android... |
package nl.knmi.geoweb.backend.product.taf;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.NotDirectoryException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.springframew... |
package pokemodCore;
import basemod.BaseMod;
import basemod.interfaces.*;
import com.evacipated.cardcrawl.modthespire.lib.SpireField;
import com.evacipated.cardcrawl.modthespire.lib.SpireInitializer;
import com.megacrit.cardcrawl.core.Settings;
import com.badlogic.gdx.graphics.Color;
import com.megacrit.cardcr... |
package aztux.quadcontrol;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.graphics.Point;
import android.os.Bundle;
import andro... |
import javax.swing.*;
import java.awt.*;
import java.net.URI;
public class ControlLayout extends JPanel{
GraphLayout graphLayout;
StartListener startListener;
double socialDistancePercent;
double handWashingPercent;
double wearingMaskPercent;
double wearingGlovePercent;
String[] presetStr... |
/*
* Copyright 2008-2020 <NAME>.V. (http://www.onehippo.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
*
* Unless requ... |
package slimeknights.mantle.client.model.util;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonObject;
import com.mojang.datafixers.util.Pair;
import com.mojang.math.Transformation;
import com.mojang.math.Vector3f;
import lombok.RequiredArgsConstructor;
import net.minecraft.client.rendere... |
package Email_Mails.Controller;
import Database.LogIn_Todo;
import Email_Mails.Model.Mail;
import Email_Mails.Model.Model;
import Email_Mails.View.View;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.... |
package j3dio.obj;
import j3dio.FloatColor;
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.security.InvalidParameterException;
import java.util.ArrayList;
import java.util.Collecti... |
/**
* 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.bpm;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import com.github.mikephil.charting.charts.BarChart;
import com.github.mikephil.charting.components.Legend;
import com.github.mikephil.charting.data.BarData;
import com.gith... |
package com.tomgibara.geom.path;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import com.tomgibara.geom.core.Context;
import com.tomgibara.geom.core.LineSegment;
import com.tomgibara.geom.core.Point;
import com.tomgibara.geom.core.Vector;
import com.tomgibara.geom.helper.Locator;
i... |
package io.managed.services.test.quickstarts.steps;
import io.cucumber.java.After;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import io.managed.services.test.cli.AsyncProcess;
import io.managed.services.test.cli.KafkaScripts;
import io.managed.services.test.cli.... |
/**
* Copyright 2019 The JoyQueue 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... |
/**
*
*/
package org.flowninja.collector.common.netflow9.types;
/**
* Type of a record
*
* @author rainer
*
*/
public enum FieldType {
IN_BYTES,
IN_PKTS,
FLOWS,
PROTOCOL,
SRC_TOS,
TCP_FLAGS,
L4_SRC_PORT,
IPV4_SRC_ADDR,
SRC_MASK,
INPUT_SNMP,
L4_DST_PORT,
IPV4_DST_ADDR,
DST_MASK,
OUTPUT_SNMP,
IPV... |
/*
* Copyright (C) <NAME>, 2017
* SPDX-License-Identifier: Apache-2.0
*/
package com.igorinov.variometer.common;
import org.ejml.data.DMatrixRMaj;
import org.ejml.dense.row.factory.LinearSolverFactory_DDRM;
import org.ejml.interfaces.linsol.LinearSolverDense;
import static org.ejml.dense.row.CommonOps_DDRM.add;... |
package com.johncaboose.adventofcode.days.twentytwentyone;
import com.johncaboose.adventofcode.shared.Couple;
import com.johncaboose.adventofcode.shared.ISolvableDay;
import com.johncaboose.adventofcode.shared.Interval;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.ut... |
/*
BSD 3-Clause License
Copyright (c) 2018, <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 conditions and... |
package com.example.springlearndemo.io;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.Numb... |
package edu.buffalo.cse.cse486586.groupmessenger1;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.telephony.TelephonyManager;
import ... |
package fi.riista.feature.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import fi.riista.feature.account.user.SystemUser;
import fi.riista.feature.account.user.SystemUserPrivilege;
import fi.riista.feature.common.dto.BaseEntityDTO;
import fi.riista.feature.organization.OrganisationNameDTO;
import fi.r... |
import java.util.Scanner;
import java.util.regex.Pattern;
public class TTTGame {
private TTTBoard board; // the game board
private GameState currentState; // the current state of the game (of enum GameState)
private Seed currentPlayer; // the current player (of enum Seed)
private PlayerS... |
/**
*
*/
package com.yanxin.common.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import com.jcbase.core.controller.JCBaseController;
import com.jcbase.core.util.CommonUtils;
import com.jcbase.core.util.JqGridModel... |
/**
* @Title: ApkDownloadManager.java
* @Package com.channelsoft.netphone.ui.activity
* @author miaolikui
* @date 2013-9-22 下午5:28:10
* @version V1.0
*/
package com.patient.softUpdate;
import java.io.File;
import java.io.IOException;
import android.annotation.SuppressLint;
import android.annotation.Targe... |
/*
* Copyright 2015 Karlsruhe Institute of Technology.
*
* 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... |
/*
* This source file is part of InAppDevTools, which is available under
* Apache License, Version 2.0 at https://github.com/rafaco/InAppDevTools
*
* Copyright 2018-2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
package com.revature.bank.menu;
import java.util.Scanner;
import com.revature.bank.bean.Account;
import com.revature.bank.bean.User;
import com.revature.bank.util.Logging;
import com.revature.bank.util.Verify;
public class MenuMethod {
static Scanner input = new Scanner(System.in);
public static void login() {
... |
package factory;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map.Entry;
import org.bouncycastle.asn1.ASN1Boolean;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.DEROctetString;
import org.bouncycastle.asn1.DERUTF8String;
import ... |
import java.awt.Shape;
import java.awt.geom.*;
import java.text.DecimalFormat;
import java.util.ArrayList;
// Bezier circle: http://spencermortensen.com/articles/bezier-circle/
public class CornerFinder {
private static DecimalFormat df = new DecimalFormat("#.####");
public static void main (String[] args) {
... |
/**
* This software is released as part of the Pumpernickel project.
*
* All com.pump resources in the Pumpernickel project are distributed under the
* MIT License:
* https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt
*
* More information about the Pumpernickel project is available he... |
/*
* Copyright 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
package com.sixtyfour.web;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
impor... |
package com.jshaz.daigo.recyclerviewpack.adapter;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.ec.jap.entiti.saap;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... |
/*******************************************************************************
* Copyright (c) 2002 - 2006 IBM Corporation.
* 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 avail... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017, <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... |
package org.innovateuk.ifs.application.repository;
import org.innovateuk.ifs.application.domain.Application;
import org.innovateuk.ifs.application.resource.ApplicationState;
import org.innovateuk.ifs.application.resource.PreviousApplicationResource;
import org.innovateuk.ifs.competition.domain.Competition;
import org.... |
package de.pxlab.pxl.display;
import java.awt.event.KeyEvent;
import de.pxlab.pxl.*;
/**
* Shows a rectangular color sample and allows for selection of a subset of
* color patches. Selected colors are indicated by their circular form. Also may
* contain a separate circular patch which always shows the sele... |
/**
* Copyright (c) 2009 Perforce Software. All rights reserved.
*/
package com.perforce.team.ui.mylyn.search;
import com.perforce.p4java.core.IJobSpec;
import com.perforce.team.core.PerforceProviderPlugin;
import com.perforce.team.core.p4java.IP4Connection;
import com.perforce.team.core.p4java.IP4Job;
import com.p... |
package com.atlassian.clover.instr.java;
import clover.antlr.CharScanner;
import clover.antlr.CommonHiddenStreamToken;
import clover.antlr.Token;
import clover.antlr.TokenStreamException;
import clover.antlr.TokenStreamHiddenTokenFilter;
import com.atlassian.clover.api.instrumentation.InstrumentationSession;
import co... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
package vnmr.util;
import java.awt.*;
import java.awt.event.*;
import java.a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.