text stringlengths 3.08k 15.2k |
|---|
package com.seven.designbox.designpatterns.weatherInfo;
import com.android.volley.RequestQueue;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import andr... |
package net.mossan.java.reversi.client;
import io.socket.client.IO;
import io.socket.client.Socket;
import net.mossan.java.reversi.client.boarddrawer.BoardDrawerType;
import net.mossan.java.reversi.common.message.EventType;
import net.mossan.java.reversi.common.message.response.RoomDetail;
import net.mossan.java.rever... |
/*
* Copyright 2019 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Copyright 2017, OpenSkywalking Organization 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 re... |
/*
* 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.intuit.graphql.orchestrator;
import static org.assertj.core.api.Assertions.assertThat;
import com.google.common.collect.ImmutableMap;
import graphql.ExecutionInput;
import graphql.GraphQLContext;
import graphql.language.BooleanValue;
import graphql.language.Document;
import graphql.language.Field;
import ... |
/*
* Copyright 2010-2013 Ning, Inc.
*
* Ning licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
Copyright (c) 2006-2007 <NAME>
Copyright (c) 2007-2013 GoPivotal, 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/LI... |
/*
* The MIT License
*
* Copyright (c) 2017 <NAME> (http://zgyarmati.de)
*
* 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
... |
/*
* Copyright (C) 2016 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 applic... |
package com.cs.googlemaproute;
import android.app.ProgressDialog;
import android.content.Context;
import android.graphics.Color;
import android.os.AsyncTask;
import android.widget.Toast;
import com.google.android.gms.maps.CameraUpdate;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.... |
/*
Copyright 2019 XEBIALABS
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, publish, distribute, sublicens... |
package com.example.upload;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.Toast;
import androi... |
package com.altoros.temporal.iso8601;
import java.io.IOException;
import com.altoros.temporal.MillisecTimeSource;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.junit.Assert;
imp... |
package com.jmco.chessbot.controller.home;
import com.jmco.chessbot.chess.ChessDrawerWindow;
import com.jmco.chessbot.chess.controller.home.LocateListener;
import com.jmco.chessbot.chess.controller.home.StartProcessingListener;
import com.jmco.recorder.DesktopScreenRecorder;
import com.jmco.utils.ChessProcessorL... |
/*
* Copyright 2002-2008 <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://ruleml-dev.sourceforge.net/
*
* Unless required by applicable law or agreed to in writing... |
/*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2014 the MechIO 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 applicable law or a... |
package top.flytop.studentsign.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import sun.misc.BASE64Encoder;
import ... |
/*
* Copyright 2020 聂钊 <EMAIL>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package dev.ny.aoc;
import lombok.Data;
import lombok.Getter;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import static java.util.stream.Collectors.groupingBy;
import static java.util.stream.Collectors.toList;
public class Day10 {
public static void main... |
package easel.utils;
import basemod.ReflectionHacks;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenera... |
/*
* Copyright 2021 magaofei
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package snell.http2.frames;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkArgument;
import static java.nio.channels.Channels.newInputStream;
import static snell.http2.utils.IoUtils.int2uvarint;
import static snell.http2.utils.IoUtils.long2uvari... |
/*
* Copyright (C) 2014-2015 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.tencent.protocol.pay_protocol;
import com.tencent.common.RandomStringGenerator;
import com.tencent.common.Signature;
import com.tencent.protocol.AppInfo;
import com.tencent.protocol.WechatPayReqData;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Ma... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015 Umeng, Inc
*
* 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 u... |
package ru.i_novus.ms.rdm.n2o.service;
import net.n2oapp.platform.i18n.Messages;
import net.n2oapp.platform.i18n.UserException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springfram... |
/**Copyright 2022 <NAME> (Github ID: zanyaziz)
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, publish, ... |
package com.dao.factory;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
import com.dao.exception.DAOConfigurationException;
import com.dao.impl.UserDAOJDBC;
import com.dao.... |
/*
* 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 Orang;
import Interface.Kalkulasi;
import java.util.Scanner;
/**
*
* @author <NAME>
*/
public class Pembeli extends Orang ... |
/*
* Copyright (C) 2015 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 applic... |
package no.nav.foreldrepenger.historikk.tjenester.dittnav;
import static no.nav.foreldrepenger.historikk.config.TxConfiguration.KAFKA_TM;
import static no.nav.foreldrepenger.historikk.tjenester.dittnav.DittNavMapper.avslutt;
import static no.nav.foreldrepenger.historikk.tjenester.dittnav.DittNavMapper.beskjed;
import ... |
import static org.junit.Assert.*;
import org.junit.Test;
import java.util.HashSet;
public class HashMapTest {
@Test
public void testConstructor() {
// assert constructors are initialized, seem to work correctly, and
// don't cause errors
HashMap<String, String> dictionary = new HashMa... |
package com.google.android.gms.internal.ads;
import android.annotation.SuppressLint;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import com.mopub.volley.DefaultRetryPolicy;
import java.util.Iterator;
import java.util.concurrent.CopyOnWriteArraySet;
/* renamed from: com.google.androi... |
/*
* Copyright 2019, Perfect Sense, 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 a... |
package com.brin.denonremotefree.HomeControl.Elements;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import andr... |
package com.smartflyer;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Li... |
package io.github.ushiosan23.resgen.generators;
import com.squareup.javapoet.*;
import io.github.ushiosan23.resgen.config.ResourceGenerationOptions;
import io.github.ushiosan23.resgen.utils.PluginUtils;
import org.gradle.api.Project;
import org.gradle.api.file.SourceDirectorySet;
import org.jetbrains.annotations.NotNu... |
/**
* Copyright (c) 2013, Sana
* All rights reserved.
* <p>
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* <p>
* * Redistributions of source code must retain the above copyright
* notice, this list of condition... |
import static spark.Spark.*;
import com.google.gson.Gson;
import dao.Sql2oDepartmentsDao;
import dao.Sql2oNewsDao;
import dao.Sql2oUsersDao;
import exceptions.ApiException;
import models.Departments;
import models.News;
import models.Users;
import org.sql2o.Connection;
import org.sql2o.Sql2o;
import java.util.HashMap... |
package view;
import banco.Dao;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
i... |
package com.mocean.modules.message;
import com.mocean.TestingUtils;
import com.mocean.exception.MoceanErrorException;
import com.mocean.exception.RequiredFieldException;
import com.mocean.modules.Transmitter;
import com.mocean.modules.message.mapper.SmsResponse;
import com.mocean.system.Mocean;
import com.mocean.utils... |
/**
* Copyright (c) 2002-2015 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* 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... |
package com.prvalue.wechat.controller;
import com.prvalue.wechat.model.Person;
import com.prvalue.wechat.service.CoreService;
import com.prvalue.wechat.service.PersonService;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.Http... |
/*
The MIT License (MIT)
[OSI Approved License]
The MIT License (MIT)
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, including without limitation the... |
package org.jchmlib;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
... |
package net.japan.kana.hakana.activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.... |
package org.apache.maven.archetype.mojos;
/*
* 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 Li... |
/*
* Copyright (C) 2015 The Casser 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 app... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.software.banco;
import com.software.cidade.IU_BuscaCidade;
import com.software.ferramentas.Formatos;
import com.s... |
package com.griddelta.lyza;
import static org.junit.Assert.assertEquals;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
impo... |
package nl.weeaboo.vn.desktop;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.badlogic.gdx.Files.FileType;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.back... |
package com.braintreepayments.api;
import android.os.Parcel;
import androidx.annotation.NonNull;
import org.json.JSONException;
import org.json.JSONObject;
import static com.braintreepayments.api.BinData.BIN_DATA_KEY;
/**
* {@link PaymentMethodNonce} representing a Google Pay card.
*
* @see PaymentMethodNonce
... |
package gui;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.awt.GridLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;
import java.awt.Color;
import javax.swing.JLabel;
import java.awt.Font;
import java.io.BufferedReader;
import java.io.PrintW... |
/*
* This software is distributed under following license based on modified BSD
* style license.
* ----------------------------------------------------------------------
*
* Copyright 2003 The Nimbus Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... |
package dao;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.StringTokenizer;
import beans.Admin;
import beans.User;
import java.... |
/*
===========================================================================
Copyright 2002-2010 <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/l... |
package sha_256;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Font;
import org.apache.poi.ss.usermodel.IndexedColors;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermode... |
/**************************
* MergerEx - see LICENSE
**************************/
package edu.gmu.cds.img;
import edu.gmu.cds.util.FileUtil;
import edu.gmu.cds.util.URLUtil;
public class ImageDownloader
{
public static final int DR8 = 1;
public static final int DR7 = 2;
public static final int DSS_POSS1_RED = 3;... |
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
/*
* Copyright 2016 <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 use, copy, modify, merge, publi... |
package dk.sebsa.amber.math;
import java.util.List;
public class Vector2f {
public float x;
public float y;
public Vector2f(Vector2f v) { x = v.x; y = v.y; }
public Vector2f(float x, float y) {
this.x = x;
this.y = y;
}
public Vector2f() {
this.x = 0;
this.y = 0;
}
public void zero() {
this.x ... |
package com.tecyle.question.core;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.List;
... |
package com.dezen.riccardo.musicplayer.utils;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Build;
... |
/* $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
package com.conveyal.datatools.manager.controllers.api;
import com.conveyal.datatools.manager.auth.Actions;
import com.conveyal.datatools.manager.auth.Auth0UserProfile;
import com.conveyal.datatools.manager.models.FeedSource;
import com.conveyal.datatools.manager.models.JsonViews;
import com.conveyal.datatools.manager... |
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package org.cjoakim.azure.cogsearch;
import com.azure.core.credential.AzureKeyCredential;
import com.azure.search.documents.SearchClientBuilder;
import com.azure.search.documents.SearchClient;
import com.azure.search.documents.SearchDocument;
im... |
package com.unact.yandexmapkit;
import android.content.Context;
import androidx.annotation.NonNull;
import com.yandex.mapkit.geometry.Geometry;
import com.yandex.mapkit.geometry.Point;
import com.yandex.mapkit.geometry.BoundingBox;
import com.yandex.mapkit.map.GeoObjectSelectionMetadata;
import com.yandex.mapkit.sea... |
package chapter2_linked_lists;
/**
* Created by <NAME> on 31/03/19.
*/
public class Exercise5_SumLists {
// O(n) runtime
// O(n) space
// Recursive version
public static Node sumListsInverseOrder(Node head1, Node head2, int carryOver) {
if (head1 == null && head2 == null && carryOver == 0) {... |
/*
* Copyright (C) 2018 <NAME> and other contributors
* as indicated by the @author tags. 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.a... |
/*
* Copyright 2019 DeNA Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
/*
* Copyright 2018 Tinkoff Bank
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package com.pkms.sys.system.model;
import com.pkms.common.model.AbstractModel;
public class SystemUserModel extends AbstractModel {
public enum SYSTEM_USER_CHARGE_GUBUN {
VU("VU", "상용 검증담당자"), AU("AU", "상용 승인담당자"), PU("PU", "사업계획 담당자"), BU("BU", "협력업체 담당자"), DV("DV", "개발 검증담당자"), DA("DA", "개발 승인담당자"),
VO("VO",... |
package android.support.v4.content;
import android.content.Context;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.os.Process;
import android.support.an... |
package mart.firefly.tile;
import mart.firefly.item.FireflyPotion;
import mart.firefly.recipes.CauldronRecipe;
import mart.firefly.setup.ModRecipes;
import mart.firefly.setup.ModTileEntities;
import net.minecraft.entity.item.ItemEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item... |
package org.spongepowered.asm.lib;
public class Label {
static final int DEBUG = 1;
static final int RESOLVED = 2;
static final int RESIZED = 4;
static final int PUSHED = 8;
static final int TARGET = 16;
static final int STORE = 32;
static final int REACHABLE = 64;
static final int JSR = 128;
... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.bookstore.model;
import com.bookstore.business.bll.catalogmngmt.BookManagerServiceBean;
import com.bookstore.business.bll.... |
/*
* Copyright 2015 AVAST Software s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
package org.datum.generators;
import static org.datum.algorithm.Algorithm.*;
import static org.datum.generators.RandomGeneratorUtils.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.Supplier;
import java.util.regex.Pa... |
package com.project.convertedCode.globalNamespace.namespaces.Symfony.namespaces.Component.namespaces.Translation.namespaces.Dumper.classes;
import com.runtimeconverter.runtime.references.ReferenceContainer;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.ref... |
package com.melnick.java8;
import com.melnick.java8.StreamExample.Transaction;
import com.melnick.java8.StreamExample.TransactionStatus;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Li... |
package org.timothyb89.lifx.bulb;
import java.io.IOException;
import lombok.Getter;
import lombok.ToString;
import org.timothyb89.eventbus.EventBus;
import org.timothyb89.eventbus.EventBusClient;
import org.timothyb89.eventbus.EventBusProvider;
import org.timothyb89.eventbus.EventHandler;
import org.timothyb89.lifx.ga... |
package com.bv.eidss.model;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.os.Parcel;
import android.os.Parcelable;
import com.bv.eidss.ReferenciesProvider;
import com.bv.eidss.data.EidssDatabase;
import com.bv.eidss.model.generated.ASSam... |
package com.dolphin.renmaicircle.base;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.view.... |
/*
* #%L
* ImgLib2: a general-purpose, multidimensional image processing library.
* %%
* Copyright (C) 2009 - 2020 <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>, <NAME>,
* <N... |
package com.runningcode.tcs;
import java.util.Arrays;
import com.runningcode.tcs.Game.Direction;
/**
* 完成贪吃蛇的AI算法,让贪吃蛇能自行寻找食物
* 此实现只是一个简单样例
*
* map中,0代表空白,1代表边界,2代表食物,3代表贪吃蛇的头部,4代表贪吃蛇的身体
*
* 返回Direction.left表示贪吃蛇向左走,Direction.right向右,Direction.up向上,Direction.down向下
*
* @author obj
* @email... |
package com.bhasha.learnhindibhasha.activities.categories;
import android.app.SearchManager;
import android.content.Context;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.inputmethod.EditorInfo;
import android.widget.SearchView;
... |
package com.sxjs.jd.composition.html.homeweb;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
import andro... |
package com.dailystudio.annotation.processor;
import androidx.annotation.Keep;
import com.dailystudio.annotation.DBColumn;
import com.dailystudio.annotation.DBObject;
import com.dailystudio.annotation.processor.database.ColumnSpecs;
import com.dailystudio.annotation.processor.utils.GenUtils;
import com.squareup.javapo... |
package com.app.feng.fixtablelayout.widget;
import android.graphics.Rect;
import android.util.Log;
import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
public class TableLayoutManager extends RecyclerView.LayoutManager {
priv... |
/* Copyright (c) 2017 ifly6
*
* 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, publish, distribute... |
package tw.fondus.fews.adapter.pi.grid.merge;
import com.google.common.base.Preconditions;
import org.zeroturnaround.exec.InvalidExitValueException;
import strman.Strman;
import tw.fondus.commons.cli.exec.Executions;
import tw.fondus.commons.cli.util.Prevalidated;
import tw.fondus.commons.fews.pi.config.xml.log.LogLev... |
package com.ponyvillelive.pvlmobile.ui;
import android.app.Activity;
import android.content.Context;
import android.graphics.Rect;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.view.GestureDetectorCompat;
import android.support.v4.view.MotionEventC... |
/*
* AsymSecureFile
* https://ablog.jc-lab.net/186
*
* This software may be modified and distributed under the terms
* of the Apache License 2.0. See the LICENSE file for details.
*/
package kr.jclab.javautils.asymsecurefile.internal.jasf3;
import kr.jclab.javautils.asymsecurefile.internal.deprecated.Chunk;
... |
package com.stephenwranger.graphics.renderables;
import java.nio.FloatBuffer;
import com.jogamp.opengl.GL;
import com.jogamp.opengl.GL2;
import com.jogamp.opengl.GL2GL3;
import com.jogamp.opengl.GLAutoDrawable;
import com.jogamp.opengl.fixedfunc.GLLightingFunc;
import com.jogamp.opengl.glu.GLU;
import com.stephenwran... |
/**
* Copyright (c) 2009-2012, Regents of the University of Colorado
* 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... |
package netQuant.stringconnection;
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;... |
/**
*
*/
package black.door.crypto;
import java.security.SecureRandom;
import java.util.Arrays;
import black.door.crypto.Crypto.EncryptionResult;
import black.door.util.Misc;
/**
* @author kAG0
* a class containing simple static implementations of secure but non-standardized encryption algorithms
*/
public cla... |
package com.checkmarx.jenkins.tools;
import com.checkmarx.jenkins.CxLoggerAdapter;
import com.checkmarx.jenkins.tools.internal.DownloadService;
import hudson.Extension;
import hudson.FilePath;
import hudson.Functions;
import hudson.model.Node;
import hudson.model.TaskListener;
import hudson.remoting.VirtualChannel;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.