text stringlengths 3.08k 15.2k |
|---|
package com.bergerkiller.bukkit.common.inventory;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
import com.bergerkiller.bukkit.common.nbt.CommonTagCompound;
/**
* A single metadata rule for the ItemParser.
* Represents, for example, that a particular key should equal a certain valu... |
// Copyright 2007, 2008, 2009, 2010, 2011, 2012 The Apache Software Foundation
//
// 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
//
// Unles... |
/**
* Copyright © 2016 <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... |
package org.openstreetmap.atlas.utilities.command.subcommands;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.openstreetmap.atlas.locale.IsoCountry;
import org.openstreetmap.atlas.locale.IsoCountryFuzzyMatcher;
/**
... |
package com.young.android.bleproject;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Binder;
import an... |
package jpl.cws.console;
import jpl.cws.core.db.SchedulerDbService;
import org.joda.time.DateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import software.amazon.awssdk.services.cl... |
package org.gmu.config;
import android.location.LocationManager;
import org.gmu.base.R;
import org.gmu.control.Controller;
import org.gmu.dao.OrderDefinition;
import org.gmu.inappbilling.PurchaseManager;
import org.gmu.pojo.PlaceElement;
import org.gmu.utils.Utils;
import java.util.Arrays;
import java.util.HashMap;... |
package com.githang.java;
import org.apache.commons.io.FileUtils;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Attribute;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.uti... |
package com.eki.mapreduce.MedianStdDev;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.*;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.lib.inp... |
/*
* Copyright 2021 <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 ... |
package gr.codehub.rsapi.service;
import gr.codehub.rsapi.dto.JobOfferDto;
import gr.codehub.rsapi.enums.Region;
import gr.codehub.rsapi.enums.Status;
import gr.codehub.rsapi.exception.JobOfferCreationException;
import gr.codehub.rsapi.exception.JobOfferIsInactive;
import gr.codehub.rsapi.exception.JobOfferNotFoundExc... |
/**
*
* Original work copyright dyagent
* Modified work Copyright (c) 2020 <NAME> [ready.work]
*
* 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/LICE... |
import java.util.NoSuchElementException;
/**
* <h1>Indexed Min Priority Queue: It is a traditional priority queue variant which on top of the regular PQ operations
* supports quick updates and deletions of key-value pairs. </h1>
*
* <li> Associate an index between 0 & N-1 with each key in a priority queue.
... |
package de.jonato.jfxc.controls.combobox;
/*
* #%L
* JFXC
* %%
* Copyright (C) 2016 Jonato IT Solutions
* %%
* 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.apac... |
package com.caul.modules.account.service;
import cn.easybuild.core.dao.AppBaseDao;
import cn.easybuild.core.exceptions.BusinessException;
import cn.easybuild.core.exceptions.InvalidOperationException;
import cn.easybuild.core.service.StringPojoAppBaseServiceImpl;
import cn.easybuild.core.utils.BeanHelper;
import cn.ea... |
package hu.sztaki.lpds.dataavenue.adaptors.cassandra;
import java.net.URI;
import java.net.URISyntaxException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import hu.sztaki.lpds.dataavenue.interfaces.URIBase;
import hu.sztaki.lpds.dataavenue.interfaces.exceptions.URIException;
public class CassandraURI ... |
package dain;
import dain.events.Logger;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.TextChannel;
import net.kronos.rkon.core.Rcon;
import net.kronos.rkon.core.ex.AuthenticationException;
import java.io.*;
import java.util.*;
public class Minecraft... |
/*
* Copyright 2014 Capptain
*
* Licensed under the CAPPTAIN SDK LICENSE (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://app.capptain.com/#tos
*
* This file is supplied "as-is." You bear the risk of using ... |
package org.evomaster.client.java.instrumentation.staticstate;
import java.io.PrintWriter;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.atomic.AtomicInteger;
/**
* Keep track of all objective coverage so far.
* This... |
/*
Copyright 2020 IBM Corp All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable l... |
package com.github.rtempleton.processors.UltraDirect.beans;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.annotations.SerializedName;
public class RTRCRPBean implements Serializable{
@SerializedName("R... |
/*******************************************************************************
* Software Name : RCS IMS Stack
*
* Copyright (C) 2010 France Telecom S.A.
* Copyright (C) 2014 Sony Mobile Communications Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... |
package bayou.mime;
import _bayou._tmp._ByteBufferUtil;
import _bayou._str._CharDef;
import _bayou._tmp._StreamIter;
import _bayou._tmp._Util;
import bayou.async.Async;
import bayou.bytes.ByteSource;
import bayou.util.End;
import bayou.util.Result;
import java.nio.ByteBuffer;
import java.util.Map;
import java.util.Ra... |
package lexxzone.fightx.models;
/**
* Created by <NAME> on 10.02.18
*/
public class Fighter {
private String name;
private String fighterClass; // unused
private int power; // unused
private int dexterity; // unused
private int strength; // unused
private int hp;
private int shield; ... |
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
package com.starrocks.sql.analyzer;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.starrocks.analysis.StatementBase;
import com.starrocks.analysis.TableName;
import com.starrock... |
package com.thecacophonytrust.cacophonometer.videoRecording;
import android.media.CamcorderProfile;
import android.media.MediaRecorder;
import android.os.Looper;
import android.view.SurfaceHolder;
import com.thecacophonytrust.cacophonometer.Settings;
import com.thecacophonytrust.cacophonometer.activity.CameraPreviewA... |
package com.Ntut.portal;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.vi... |
package com.iflytek.mscv5plusdemo;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.EditText;
import android.widg... |
package org.jeecg.modules.nuoze.nz.service.impl;
import org.jeecg.common.exception.JeecgBootException;
import org.jeecg.common.util.oConvertUtils;
import org.jeecg.modules.nuoze.nz.entity.NzSourceType;
import org.jeecg.modules.nuoze.nz.mapper.NzSourceTypeMapper;
import org.jeecg.modules.nuoze.nz.service.INzSourceTypeS... |
package utexp;
import com.fasterxml.jackson.databind.JsonNode;
import io.restassured.mapper.ObjectMapper;
import org.apache.http.HttpHeaders;
import org.apache.http.HttpStatus;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBoot... |
package com.adenki.smpp.util;
import java.util.HashMap;
import java.util.Map;
/**
* Abstract base class for {@link APIConfig} instances. Provides some basic
* functionality useful across all <tt>APIConfig</tt> instances.
* <p>
* <b>Boolean values:</b> Any of the strings "true", "on" or "yes" will
* evaluate to a... |
package com.example.test;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayo... |
package pdlab.minecraft.core;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.JarURLConnection;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Logger;
import org.bukkit.ChatColor;
import org.bukkit.Serve... |
package com.fr.swift.segment.relation;
import com.fr.swift.bitmap.ImmutableBitMap;
import com.fr.swift.cube.io.BuildConf;
import com.fr.swift.cube.io.Types.DataType;
import com.fr.swift.cube.io.Types.IoType;
import com.fr.swift.cube.io.input.BitMapReader;
import com.fr.swift.cube.io.input.IntReader;
import com.fr.swif... |
package com.mmi.demo.java.fragments;
import android.os.Bundle;
import com.mmi.demo.R;
import com.mmi.demo.java.model.MarkerModel;
import com.mmi.demo.java.util.Data;
import com.mmi.demo.java.util.Utils;
import com.mmi.layers.BasicInfoWindow;
import com.mmi.layers.Marker;
import com.mmi.util.GeoPoint;
import java.uti... |
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("nq")
public final class class386 {
@ObfuscatedName("su")
@ObfuscatedGetter(
intValue = 513737707
)
static int field4337;
@ObfuscatedName("v")
@ObfuscatedSi... |
package com.huawei.hiai.text.detection;
import android.Manifest;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android... |
package fossilsarcheology.server.block;
import fossilsarcheology.Revival;
import fossilsarcheology.server.api.DefaultRenderedItem;
import fossilsarcheology.server.item.FAItemRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.BlockBush;
import net.minecraft.block.SoundType;
import net.minecraft.bloc... |
package com.coralogix.jenkins.pipeline;
import com.cloudbees.plugins.credentials.common.StandardListBoxModel;
import com.cloudbees.plugins.credentials.domains.DomainRequirement;
import com.cloudbees.plugins.credentials.domains.URIRequirementBuilder;
import com.cloudbees.workflow.rest.external.RunExt;
import com.google... |
/*
* Copyright 2015 <NAME>. (iamovrhere)
*
* 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 ag... |
package com.logginghub.logging.frontend.views.timetravel;
import java.awt.Color;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import javax.swing.JPanel;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartMouseEvent;
imp... |
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
System.out.println("請輸入每一個鍵(key)和機率(probability)兩者以空白隔開,結束請輸入 0 :");
ArrayList<Integer> key =new ArrayList<>(); // key 鍵值
ArrayList<... |
package com.alibaba.alink.operator.batch.linearprogramming;
import com.alibaba.alink.common.comqueue.IterativeComQueue;
import com.alibaba.alink.common.comqueue.communication.AllReduce;
import com.alibaba.alink.common.comqueue.communication.AllReduce.SerializableBiConsumer;
import com.alibaba.alink.operator.batch.Batc... |
package simpledb.storage;
import simpledb.common.Database;
import simpledb.common.DbException;
import simpledb.common.Debug;
import simpledb.common.Permissions;
import simpledb.transaction.TransactionAbortedException;
import simpledb.transaction.TransactionId;
import java.io.*;
import java.nio.Buffer;
import java.uti... |
package mindustry.entities;
import java.util.Iterator;
import arc.Core;
import arc.func.Boolf;
import arc.func.Cons;
import arc.graphics.Camera;
import arc.math.geom.QuadTree;
import arc.math.geom.Rect;
import arc.struct.Array;
import arc.struct.IntMap;
import mindustry.entities.traits.DrawTrait;
import mindustry.ent... |
/*
* 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.example.diary.adapter;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;... |
/*
* Copyright (C) 2008 FoxLabs
*
* 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 edu.ithaca.comp345.Rockstar.ui;
import edu.ithaca.comp345.Rockstar.Employee;
import edu.ithaca.comp345.Rockstar.Order;
import edu.ithaca.comp345.Rockstar.Table;
import edu.ithaca.comp345.Rockstar.WaiterApi;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.*;
public cl... |
/**
* This software was developed and / or modified by Raytheon Company,
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
*
* U.S. EXPORT CONTROLLED TECHNICAL DATA
* This software product contains export-restricted data whose
* export/transfer/disclosure is restricted by U.S. law. Dissemination
... |
package org.apache.uss.argus.expr;
import com.alibaba.druid.sql.SQLUtils;
import com.alibaba.druid.util.JdbcConstants;
import org.apache.uss.argus.TypeMismatchException;
import org.apache.uss.argus.operand.EvaluatedOperand;
import org.apache.uss.argus.visitor.EvaluatorVisitor;
import org.junit.jupiter.params.Parameter... |
package com.github.theholywaffle.teamspeak3;
/*
* #%L
* TeamSpeak 3 Java API
* %%
* Copyright (C) 2014 <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... |
/*
* Copyright 2012 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 de.is24.util.monitoring.jmx;
import de.is24.util.monitoring.MultiValueProvider;
import de.is24.util.monitoring.ReportVisitor;
import de.is24.util.monitoring.State;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.LineIterator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ... |
package ie.cit.group3.repository;
import static org.junit.Assert.*;
import java.util.List;
import ie.cit.group3.DefaultConfig;
import ie.cit.group3.domain.ChObject;
import ie.cit.group3.repository.JdbcChObjectRepository;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.spr... |
/**
* Licensed to the Sakai Foundation (SF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use t... |
package org.ggp.base.player.gamer.statemachine.MCTS.manager.treestructure.propnet.sequential;
import java.util.List;
import org.ggp.base.player.gamer.statemachine.MCTS.manager.treestructure.MctsNode;
import org.ggp.base.player.gamer.statemachine.MCTS.manager.treestructure.propnet.PnTreeNodeFactory;
import org.ggp.bas... |
package com.kickitvx.thomas.kickitv7;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.Ap... |
/*
*
* * Copyright 2017 Bait Inc
* * Licensed under the Apache License, Version 2.0 Jubilee 2017;
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* * http://www.apache.org/licenses/LICENSE-2.0
* * Unless required by applicable law or agr... |
package com.nethergrim.combogymdiary.activities;
import android.app.ActionBar;
import android.app.Activity;
import android.app.DialogFragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle;
import android.... |
package com.zjclugger.lib.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.View;
... |
package com.apkscanner.gui.dialog;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Image;
import java.awt.Insets;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.eve... |
package com.dailysaver.shadowhite.dailysaver.utills;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.icu.text.DateFor... |
/*
* MIT License
*
* Copyright (c) 2021-2022 <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,... |
package ftc.vision;
import android.util.Log;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import org.opencv.core.MatOfKeyPoint;
import org.opencv.core.MatOfPoint;
import org.opencv.core.MatOfPoint2f;
import org.opencv.core.Point;
import org.opencv.core.Rect;
import org.openc... |
package com.spiralespace3;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import java.util.Vect... |
package org.swisspush.gateleen.user;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
/**
* Encapsulates the information, which are used to create and update profiles.
* This contains mainly the mapping of http request headers to prof... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... |
/*
* Copyright 2019-2021 workoss (https://www.workoss.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 a... |
package com.ndnhealthnet.androidudpclient.Activities;
import android.app.Activity;
import android.app.AlertDialog;
import android.bluetooth.BluetoothAdapter;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import a... |
package org.batfish.dataplane.rib;
import static org.batfish.common.util.CollectionUtil.maxValues;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Streams;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
i... |
/*
* Copyright 2017 ISE TU Berlin
*
* 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 fr.unilim.iut.spaceinvaders;
import fr.unilim.iut.spaceinvaders.utils.DebordementEspaceJeuException;
import fr.unilim.iut.spaceinvaders.utils.HorsEspaceJeuException;
import fr.unilim.iut.spaceinvaders.utils.MissileException;
import fr.unilim.iut.spaceinvaders.moteur.Commande;
import fr.unilim.iut.spaceinvaders... |
package uk.org.goldendogconsulting;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Scanner;
import java.util.Set;
import java.util.concurrent.ConcurrentSkipListSet;
import java.util.concurrent.Execu... |
package de.alexanderkohout.seriesreminder.ui;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
impo... |
/*
* MIT License
*
* Copyright (c) 2020-present Cloudogu GmbH and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the r... |
package in.ac.iitm.shaili.ImageProcessing;
import android.graphics.Bitmap;
import android.graphics.Color;
/**
* Created by <NAME> on 24/06/15.
*/
public class BinarizeAdaptiveOld {
private static final String LOG_TAG = "BinarizeAdaptive";
private static final int WINDOW_FACTOR = 8;
// private stati... |
/* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional debugrmation
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.google.cloud.bigquery.utils.queryfixer.fixer;
import com.google.cloud.bigquery.utils.queryfixer.entity.FixOption;
import com.google.cloud.bigquery.utils.queryfixer.entity.FixResult;
import com.google.cloud.bigquery.utils.queryfixer.entity.IToken;
import com.google.cloud.bigquery.utils.queryfixer.entity.Pos... |
package com.mangneung.voicedetector;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder;
import androidx.core.app.ActivityCompat;
/**
* Detects audio input from the ... |
/*
* Launcher.java
*
* Copyright (c) 2019 <NAME>.
*
* In keeping with the traditional purpose of furthering education and research, it is
* the policy of the copyright owner to permit non-commercial use and redistribution of
* this software. It has been tested carefully, but it is not guaranteed for any 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
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
* Copyright 2008 blue media labs 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 ag... |
package org.saatsch.framework.jmmo.data.editor.fx.types;
import static org.saatsch.framework.jmmo.data.api.PropertyUtil.isPropertyAnnotatedWith;
import javafx.scene.control.Label;
import javafx.scene.layout.Pane;
import org.joda.beans.Bean;
import org.joda.beans.Property;
import org.saatsch.framework.jmmo.cdi... |
package rocks.inspectit.ocelot.core.selfmonitoring;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.classic.spi.LoggingEvent;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.LoggerFactory;
import org.springframework.st... |
package com.example.enactusapp.Utils;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.ImageFormat;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.graphics.YuvImage;
import android.os.Environment;
import android.text.TextUtils;
import java.io... |
/*******************************************************************************
* Copyright 2012 <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/lic... |
package com.ipd.jmq.server.broker.service;
import com.ipd.jmq.common.network.v3.command.GetMessage;
import com.ipd.jmq.common.network.v3.command.PutMessage;
import com.ipd.jmq.server.broker.BrokerConfig;
import com.ipd.jmq.server.broker.SessionManager;
import com.ipd.jmq.server.broker.cluster.ClusterManager;
import co... |
package noppes.npcs.scripted;
import net.minecraft.nbt.*;
import noppes.npcs.util.NBTJsonUtil;
import java.util.Iterator;
public class ScriptNBT {
private NBTTagCompound compound;
public ScriptNBT(NBTTagCompound compound) {
this.compound = compound;
}
public void remove(String key) {
... |
package com.tiagocc.tgame;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;
import android.graphics.Region;
im... |
package com.nitu.andrei.wearable;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import... |
/*
* Copyright © 2015-2016
*
* This file is part of Spoofax for IntelliJ.
*
* 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 req... |
package net.anotheria.moskito.core.decorators.predefined;
import net.anotheria.moskito.core.decorators.AbstractDecorator;
import net.anotheria.moskito.core.decorators.value.LongValueAO;
import net.anotheria.moskito.core.decorators.value.StatValueAO;
import net.anotheria.moskito.core.predefined.IMemoryPoolStats;
import... |
/*
* Copyright (C) 2010-2021 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.web.page.login;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.ht... |
import com.cycling74.max.*;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.twitter.hbc.ClientBuilder;
import com.twitter.hbc.core.Client;
import com.twitter.hbc.core.Constants;
import com.twitter.hbc.core.Hosts;
import com.twitter.hbc.core.HttpHosts;
import com.twitter.hbc.core.endpoin... |
package br.com.basis.abaco.service.dto;
/**
* @author eduardo.andrade
* @since 15/05/2018
*/
public class ImpactoDTO {
private Integer aliInclusao;
private Integer aliAlteracao;
private Integer aliExclusao;
private Integer aliConversao;
private Integer aieInclusao;
... |
package com.batch.android.lisp;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
public class Parser {
private static final ch... |
/*
* BSD 3-Clause License
*
* Copyright 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:
*
* 1. Redistributions of source code must retain the above copyright notice, t... |
package com.jtricks.jira.reports;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import com.atlassian.jira.bc.issue.search.SearchService;
import com.atlassian.jira.issue.Issue;
import com.atlassian.jira.issue.search.Searc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.