text stringlengths 3.08k 15.2k |
|---|
package com.natelenergy.porter.worker;
import java.lang.invoke.MethodHandles;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
im... |
/*
* Copyright 2014 Goodow.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 applicable law or agreed to in wr... |
/*
* Elastic Cloud API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the clas... |
/* --------------------------------------------------------------------
* Copyright (C) 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/lic... |
package denominator.ultradns.service;
import denominator.model.Zone;
import denominator.ultradns.service.integration.UltraDNSRest;
import denominator.ultradns.exception.UltraDNSRestException;
import denominator.ultradns.model.AccountList;
import denominator.ultradns.model.RRSet;
import denominator.ultradns.model.Recor... |
package cofh.lib.entity;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.item.minecart.AbstractMinecartEntity;
import net.minecraft.entity.projectile.AbstractArrowEntity;
import net.minecraf... |
package net.xasquatch.myblog.service;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
i... |
package imgui;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
/**
* All draw data to render a Dear ImGui frame.
* BINDING NOTICE: DO NOT TRY TO MODIFY FIELDS OF THIS CLASS MANUALLY! You should only access their values after {@link ImGui#render()} call.
*/
public final class ImDrawDa... |
package stream.flarebot.webhook_distributor;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.google.gson.JsonParser;
import com.squareup.okhttp.MediaType;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.Request;
import com.... |
package com.asiainfo.util;
import java.util.*;
/**
* 过滤敏感词语
*
* @author zq
* @date 2017年11月15日 下午5:12:21
* Copyright: 北京亚信智慧数据科技有限公司
*/
public class SensitiveWordUtil {
private static Map<String, Node> sensitiveKeyMap;
//初始化敏感词语列表
public static void initSensitiveWord(Set... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* 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 ... |
/*
* The MIT License
*
* Copyright (c) 2018 <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, modif... |
/*
* 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.biggestnerd.altviewer;
import java.awt.Color;
import java.io.IOException;
import java.util.ArrayList;
import org.lwjgl.input.Keyboard;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.GuiSlot;
impo... |
package com.appsmata.qtoa.fragments;
import android.os.Bundle;
import android.os.Handler;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import androidx.recyclerview.widget.... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... |
package com.google.android.gms.internal.ads;
import android.location.Location;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.andr... |
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.physics.box2d.collision.broadphase;
import com.almasb.fxgl.core.math.Vec2;
import com.almasb.fxgl.physics.box2d.callbacks.PairCallback;
import com.almasb.fxgl.physics.box2... |
package com.zp.sample;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import com.devilist.recyclerwheelpicker.DateWheelPicker;
import com.devilist.re... |
package com.t2pellet.teams.client.ui.hud;
import com.mojang.blaze3d.systems.RenderSystem;
import com.t2pellet.teams.TeamsMod;
import com.t2pellet.teams.client.core.ClientTeam;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.... |
package site.zido.elise.client;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import site.zido.elise.Operator;
import site.zido.elise.Spider;
import site.zido.elise.events.SingleEventListener;
import site.zido.elise.processor.BlankSaver;
import site.zido.elise.process... |
package com.zgeorg03.core;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.zgeorg03.database.DBServices;
import com.zgeorg03.utils.YoutubeTool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import twitter4j.*;
import twitter4j.auth.AccessToken;
import java.util.HashMap;
impo... |
package projetocalendario;
public class Mes {
Dia[] diaMes;
private int qtdDia;
private String nomeMes;
private int numMes;
Mes(int num, int qtd, String nome, int numA)
{
numMes = num;
qtdDia=qtd;
nomeMes=nome;
diaMes = new Dia[qtdDia];
for ... |
/**
* Copyright (C) 2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package com.elead.fragment;
import android.content.Context;
import android.os.Bundle;
import android.os.Message;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.e... |
package io.prometheus.client.exporter;
import io.prometheus.client.*;
import org.eclipse.jetty.client.HttpClient;
import org.eclipse.jetty.client.api.ContentResponse;
import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.ecl... |
package utils;
import edu.uci.ics.cs221.analysis.Analyzer;
import edu.uci.ics.cs221.analysis.PunctuationTokenizer;
import edu.uci.ics.cs221.index.inverted.MergedWordBlock;
import edu.uci.ics.cs221.index.inverted.Pair;
import edu.uci.ics.cs221.index.inverted.WordBlock;
import edu.uci.ics.cs221.storage.Document;
import... |
package com.example.gk.medi;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.L... |
package org.glycoinfo.rdf.dao;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.glycoinfo.rdf.SparqlBean;
import org.glycoinfo.rdf.SparqlException;
import org.glycoinfo.rdf.utils.TripleStoreProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hp.hpl.... |
/*
* 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 ... |
/*
* Copyright 2022, operon.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
package org.chrisle.netbeans.plugins.nbsvgpreview;
import java.awt.EventQueue;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.util.EnumSet;
import java.util.Set;
import javax.swing.Action;
import javax.swing.JComponent;
import javax.swing.JPanel... |
// @LICENSE@
package cz.kruch.track.ui;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Font;
import api.location.LocationProvider;
import api.location.QualifiedCoordinates;
import cz.kruch.track.configuration.Config;
/**
* OSD.
*
* @author <EMAIL>
*/
final class OSD extends Bar {
... |
package com.kymjs.oslab.module.blog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v7.app.ActionBar;
imp... |
/*
* Copyright 2016 SRI International
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/******************************************************************************
* Copyright (C) 2019 <NAME>.
*
* This file and the ThunderbirdLite application is licensed under the
* BSD-3-Clause.
*
* You may use any part of the file as long as you give credit in your
* source code.
*
* This application u... |
package net;
import java.util.Date;
import net.Ql;
import net.bg8;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import org.apache.commons.lang3.StringUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class afq {
private static final afq... |
package com.github.ibole.microservice.rpc.client.grpc;
import com.github.ibole.microservice.config.rpc.client.ClientOptions;
import com.github.ibole.microservice.discovery.HostMetadata;
import com.github.ibole.microservice.discovery.ServiceDiscovery;
import com.github.ibole.microservice.discovery.ServiceDiscovery... |
package eu.hansolo.fx.customcontrols.ledregion;
import javafx.animation.AnimationTimer;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.BooleanPropertyBase;
import javafx.beans.property.LongProperty;
import javafx.beans.property.LongPropertyBase;
import javafx.beans.property.ObjectProperty;
... |
package audioanalyzer.view;
import audioanalyzer.Main;
import audioanalyzer.logic.helpers.AudioStreamInfo;
import audioanalyzer.logic.preprocessors.FFmpegDemuxer;
import audioanalyzer.logic.preprocessors.FFmpegProbe;
import audioanalyzer.logic.preprocessors.IAudioFileDemuxer;
import audioanalyzer.logic.preproce... |
package com.dixit.dairydaily.MyAdapters;
import android.app.AlertDialog;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.content.DialogInterface;
import android.text.format.DateFormat;
import android.util.Log;
import android.view.Lay... |
package simulator;
import java.util.Arrays;
import java.util.Comparator;
public class Scheduler {
protected int nProcess;
protected int timeLine = 0;
protected int avgTurnTime;
protected int avgWaitTime;
protected int avgResTime;
protected float totBurst;
protected int avgCompTime;
protected boolean isBatch;
... |
package com.cyou.fusion.game.Battle.Move;
import com.cyou.fusion.game.Battle.SkillBullet.SkillVector3;
import com.github.jlinqer.collections.List;
/**
* Created by huangzhenyu on 2017/5/15.
*/
public class MagicMoveRecord
{
public enum SpeedChangeType
{
None(0),
SkillUp(1),//技能加速
Ski... |
package controller;
import java.util.Collections;
import java.util.Scanner;
import model.Cliente;
import model.ClienteComparator;
import model.Plantao;
import view.Util;
import view.Main;
/**
*
* @author <NAME>, <NAME>, <NAME> e <NAME>
*/
public abstract class SistemaApplication {
/**
* Construtor padrão... |
package gov.usgs.hazdevbroker;
import java.util.*;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import org.json.simple.JSONObject;
import org.jso... |
package org.rundeck.plugins.notification;
import com.dtolabs.rundeck.core.plugins.Plugin;
import com.dtolabs.rundeck.core.plugins.configuration.PropertyScope;
import com.dtolabs.rundeck.plugins.descriptions.PluginDescription;
import com.dtolabs.rundeck.plugins.descriptions.PluginProperty;
import com.dtolabs.rundeck.pl... |
package com.zyzx;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.... |
package Benchmark.Debug;
import Benchmark.Config.ConfigFile;
import Benchmark.Databases.Timescale.AbstractTimescaleQueries;
import Benchmark.Databases.Timescale.TimescaleHelper;
import Benchmark.Generator.GeneratedData.GeneratedAccessPoint;
import Benchmark.Generator.GeneratedData.GeneratedFloor;
import Benchmark.Quer... |
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.revolsys.geometry.graph;
import java.util.Comparator;
public class BinaryRoutePath {
public static final Comparator<BinaryRoutePath> COMPARATOR = (a, b) -> {
int compare = Integer.compare(a.x, b.x);
if (compare == 0) {
compare = Integer.compare(a.y, b.y);
if (compare == 0) {
... |
package uk.co.ordnancesurvey.android.demos.osgazetteersearch;
import android.annotation.TargetApi;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuIt... |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. 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 req... |
/*
* 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 net.minestom.vanilla.blocks;
import net.minestom.server.coordinate.Point;
import net.minestom.server.coordinate.Pos;
import net.minestom.server.entity.ItemEntity;
import net.minestom.server.entity.Player;
import net.minestom.server.instance.Instance;
import net.minestom.server.instance.block.Block;
import net.... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package co.edu.uniandes.csw.traductor.test.logic;
import co.edu.uniandes.csw.traductor.ejb.AreaConocimientoLogic;
import co.ed... |
package com.aws.ssa.mcs;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import com.amazonaws.services.secretsmanager.AWSSecretsManager;
import com.amazonaws.services.secretsmanager.AWSSecretsManagerClientBuilder;
import com.amazonaws.services.secrets... |
/*
* 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 io.pivotal.cc.app;
import io.pivotal.cc.common.Constants;
import io.pivotal.cc.common.Order;
import io.pivotal.cc.common.OrderRepository;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.concu... |
package fi.riista.feature.organization.jht.expiry;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import fi.riista.config.HandlebarsConfig;
import fi.riista.config.LocalizationConfig;
import fi.riista.test.rules.SpringRuleConfigurer;
import fi.riista.util.Locales;
import ... |
/**
* Copyright 2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*
* Copyright 2018 Confluent Inc.
*
* Licensed under the Confluent Community License (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.confluent.io/confluent-community-license
*
* Unless required by applicable law or a... |
package com.guonl.controller;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.web.bind.annotation.G... |
package Crypto;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Random;
import javax.swing.JOptionPane;
import de.henku.jpaillier.KeyPairBuilder;
import de.... |
/*
* 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 tools;
import conn.ConexaoFB;
import conn.ConexaoMySQL;
import java.text.DateFormat;
import java.text.SimpleDateForm... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.unifig.mall.bean.model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
* <p>
* 物流订单表
* </p>
*
*
* @since 2019-02-15
*/
@TableNa... |
package de.lessvoid.nifty.render.image.renderstrategy;
import de.lessvoid.nifty.layout.Box;
import de.lessvoid.nifty.spi.render.RenderDevice;
import de.lessvoid.nifty.spi.render.RenderImage;
import de.lessvoid.nifty.tools.Color;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.u... |
package org.jitsi.bouncycastle.eac.operator.jcajce;
import java.io.IOException;
import java.io.OutputStream;
import java.math.BigInteger;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.s... |
////////////////////////////////////////////////////////////////////////////////////////////////////
// PdfixUtils.java
// Copyright (c) 2016 Pdfix. All Rights Reserved.
////////////////////////////////////////////////////////////////////////////////////////////////////
package utils;
import java.io.File;
import java.... |
package breadth_first_search;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
/**
*
* @author minchoba
* 백준 16569번: 화산쇄설류
*
* @see https://www.acmicpc.net/problem/16569/
*
*/
pub... |
package com.guokm.tibetanroot.util;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.os.Build;
import android.os.Environme... |
package com.laog.ytdown.service;
import android.app.ActivityManager;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;
import java.io.File;
import java.util.concurrent.ConcurrentHashMap;
import gyf.... |
package com.conveyal.gtfs.service;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeSet;
import org.geotools.geometry.GeometryBuilder;
import org.geotools.geometry.jts.JTS;
import org.geotools.referencing.CRS;
import org.geotools.referencing.crs.DefaultGeographicCRS;
import org.onebusaway.gtfs.... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
package us.kbase.assemblyhomology.minhash;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.LinkedList;
import java.util.List;
import us.kbase.assemblyhomology.minhash.MinHashDBLocation;
import us.kbase.assemblyhomology.minhash.MinHashParameters;
import us.kbase.assemblyhomology.minh... |
/*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright (C) 2015 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 ... |
// File generated by rpc compiler. Do not edit.
package org.commoncrawl.protocol.shared;
import java.io.DataInput;
import java.io.DataOutput;
import java.util.BitSet;
import java.io.IOException;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.io.WritableComparable;
import org.apache.hadoop.record.Buffe... |
/*******************************************************************************
* Copyright (c) 2011 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
* and... |
/*
* 3D City Database - The Open Source CityGML Database
* https://www.3dcitydb.org/
*
* Copyright 2013 - 2021
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.lrg.tum.de/gis/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* Virtua... |
package com.kevin.personnages;
import java.awt.Image;
import javax.swing.ImageIcon;
import com.kevin.audio.Audio;
import com.kevin.jeu.Main;
import com.kevin.objets.Objet;
import com.kevin.objets.Piece;
public class Mario extends Personnage {
//**** VARIABLES ****//
private Image imgMario;
privat... |
package com.elastisys.autoscaler.predictors.reactive;
import static java.lang.String.format;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.inject.Inject;
import org.joda.time.DateTime;
import org.slf4j.Logger;
import com.e... |
/**
* Unlicensed code created by A Softer Space, 2020
* www.asofterspace.com/licenses/unlicense.txt
*/
package com.asofterspace.accountant;
import com.asofterspace.accountant.Database;
import com.asofterspace.accountant.entries.Entry;
import com.asofterspace.accountant.entries.Incoming;
import com.asofterspace.acco... |
package modelling.infrastructure.kylm.ngram.writer;
import modelling.infrastructure.kylm.ClassMap;
import modelling.infrastructure.kylm.LanguageModel;
import modelling.infrastructure.kylm.ngram.NgramLM;
import modelling.infrastructure.kylm.ngram.NgramNode;
import modelling.util.SymbolSet;
import java.io.IOException;
... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to ... |
package byteitsolutions.co.customedittext;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.InputType;
import android.text.TextWatcher;
import android.view.View;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import andr... |
package org.skr.SkrScript;
/**
* Created by rat on 06.12.14.
*/
public class Value {
private Object val = null;
private byte dts = Def.DTS_NULL;
public void set ( Value v ) {
val = v.val;
dts = v.dts;
}
public Object val() {
return val;
}
public byte dts() {
... |
package org.judal.jdbc;
/**
* © Copyright 2016 the original author.
* This file is licensed under the Apache License version 2.0.
* 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 b... |
package com.stumpner.mediadesk.media.importing;
import eu.medsea.mimeutil.MimeUtil;
import java.io.File;
import java.util.Map;
import java.util.HashMap;
import com.stumpner.mediadesk.media.MimeTypeNotSupportedException;
/*********************************************************
Copyright 2017 by <NAME> (<EMAIL>)
... |
package com.booking.ooziezombie.services;
import com.booking.ooziezombie.Tools;
import com.booking.ooziezombie.json.Action;
import com.booking.ooziezombie.json.Job;
import com.booking.ooziezombie.json.Jobs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Aut... |
package com.umar.simply.jdbc.fluent.dao.supplier;
import com.umar.simply.jdbc.ddl.CreateTablesInH2db;
import com.umar.simply.jdbc.fluent.dao.JdbcUtilService;
import java.util.List;
import java.util.Map;
import org.junit.jupiter.api.*;
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
public class ProductSupplier... |
/*-
* ============LICENSE_START==========================================
* OPENECOMP - DCAE
* ===================================================================
* Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================
* Licensed... |
package travel.management.system;
import java.awt.*;
import javax.swing.*;
import java.sql.*;
import java.awt.event.*;
public class ViewBookedHotel extends JFrame implements ActionListener
{
JButton b1,b2,b3;
ViewBookedHotel(String username)
{
setBounds(550,250,1000,540);
... |
package com.sf3.gamedata.sprites;
import com.sf3.binaryview.HighlightGroups;
import com.sf3.gamedata.utils.Block;
import com.sf3.gamedata.utils.HexValue;
import com.sf3.util.ByteArrayImageInputStream;
import com.sf3.util.Sf3Util;
import com.sf3.util.Utils;
import javax.imageio.ImageIO;
import javax.imageio.stream.Ima... |
package com.econet.app.uitl;
import com.econet.app.homepage.BaseActivity;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.security.GeneralSecurityException;
import java.security.KeyStore;
import java.security.SecureRan... |
package email;
import edu.cmu.minorthird.text.CharAnnotation;
import edu.cmu.minorthird.text.StringAnnotator;
import edu.cmu.minorthird.util.*;
import java.io.*;
import edu.cmu.minorthird.classify.Example;
import edu.cmu.minorthird.classify.*;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.... |
package com.nateyolles.sling.publick.filters;
import org.osgi.framework.Constants;
import org.apache.commons.lang.CharEncoding;
import org.apache.commons.lang.StringUtils;
import org.apache.felix.scr.annotations.Reference;
import org.apache.felix.scr.annotations.Properties;
import org.apache.felix.scr.annotations.Prop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.