text stringlengths 7 1.01M |
|---|
package link.ebbinghaus.planning.ui.view.extension.fragment;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.widget.Toolbar;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widge... |
package scraper.util.patterns;
import java.util.regex.Pattern;
class CommentBlockReplacer extends PatternReplacer {
CommentBlockReplacer() {
super.pattern = Pattern.compile("(```){1,}?(.+?)(```){1,}", Pattern.DOTALL | Pattern.MULTILINE);
super.replacement = "";
}
}
|
/*
* Copyright 2007 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 ... |
package powermock.examples.logging;
import org.apache.log4j.Logger;
public class Log4jUserParent
{
protected static final Logger log = Logger.getLogger(Log4jUserParent.class);
}
|
package com.example.butterknife.functional;
import android.content.Context;
import android.view.View;
import androidx.test.InstrumentationRegistry;
import butterknife.BindArray;
import butterknife.ButterKnife;
import butterknife.Unbinder;
import com.example.butterknife.test.R;
import org.junit.Test;
import static com... |
package com.socrata.datasync.deltaimporter2;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.DeserializationContext;
... |
package com.atguigu.gmall.wms.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.common.bean.PageResultVo;
import com.atguigu.gmall.common.bean.PageParamVo;
import com.atguigu.gmall.wms.entity.WareSkuEntity;
import java.util.Map;
/**
* 商品库存
*
* @author 小伙 not bad
* @ema... |
package io.github.dipo33.gtmapaddon.storage;
import com.sinthoras.visualprospecting.Utils;
public class MinedChunk {
private final int chunkX;
private final int chunkZ;
private final int dimensionId;
private final String minedBy;
public MinedChunk(int chunkX, int chunkZ, int dimensionId, String ... |
/*
* 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 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi.codeStyle;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
@State(name = "CodeStyleSettingsManager", stora... |
package dev.vinothm.algorithms;
import static org.junit.jupiter.api.Assertions.*;
import java.util.List;
import org.junit.jupiter.api.Test;
class SubarrayDivisionTest {
@Test
void testBirthday() {
var divider = new SubarrayDivision();
assertEquals(divider.birthday(List.of(1, 2, 1, 3, 2), 3, 2), 2);
}
}
|
/* Copyright (c) 2017 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
/**
* This file is part of the Iritgo/Aktario Framework.
*
* Copyright (C) 2005-2011 Iritgo Technologies.
* Copyright (C) 2003-2005 BueroByte GbR.
*
* Iritgo 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 ... |
/*
* Copyright 2020-present Open Networking 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
*
* Unless required by appli... |
package org.cocos2d.layers;
import java.nio.IntBuffer;
import java.util.ArrayList;
import java.util.HashMap;
import javax.microedition.khronos.opengles.GL10;
import org.cocos2d.nodes.CCNode;
import org.cocos2d.nodes.CCSprite;
import org.cocos2d.nodes.CCSpriteSheet;
import org.cocos2d.nodes.CCTextureCache;
import org... |
/*
File: StructSdtB707_SD02_REG_MEMO_RTN
Description: B707_SD02_REG_MEMO_RTN
Author: GeneXus Java Generator version 10_3_3-92797
Generated on: July 3, 2017 17:20:58.13
Program type: Callable routine
Main DBMS: mysql
*/
import com.genexus.*;
public final clas... |
package com.nadeem.app.kata.piece;
import com.nadeem.app.kata.Piece;
import com.nadeem.app.kata.Color;
import com.nadeem.app.kata.Position;
/**
* @author Nadeem Mohammad
*
*/
public class King extends Piece {
public King(int id, Color color) {
super(id, color);
}
@Override
public String ge... |
package ch.rasc.ky;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Value {
private final String value;
@JsonCreator
public Value(@JsonProperty("value") String value) {
this.value = value;
}
public String getValue() {... |
package com.fmi.se.dm.hw4;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
*
* @author Dimitar
*/
public class Tour implements Comparable<Tour> {
private List<City> tour;
private double distance;
public Tour() {
tour = new ArrayList<>();
}
public ... |
package com.tencent.liteav.demo.videoediter;
import android.graphics.Bitmap;
import com.tencent.liteav.basic.log.TXCLog;
import com.tencent.ugc.TXVideoEditConstants;
import com.tencent.ugc.TXVideoEditer;
import java.util.ArrayList;
import java.util.List;
/**
* Created by vinsonswang on 2017/10/26.
* <p>
* 由于SDK提... |
package de.undercouch.citeproc.tool;
import de.undercouch.citeproc.CSL;
import de.undercouch.citeproc.CSLBuilder;
import de.undercouch.citeproc.ItemDataProvider;
import de.undercouch.citeproc.helper.tool.ToolUtils;
import de.undercouch.citeproc.output.Bibliography;
import de.undercouch.underline.InputReader;
import de... |
/**
* @FileName: InitMonitorSide.java
* @Package com.asura.framework.monitor.springinit
*
* @author zhangshaobin
* @created 2013-1-9 下午8:52:15
*
* Copyright 2011-2015 asura
*/
package com.asura.framework.monitor.springinit;
import com.asura.framework.monitor.annotation.MBeanAnnotationProcessor;
import com.as... |
package org.motechproject.security.model;
import org.motechproject.security.domain.MotechRole;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* Transfer Motech role data between representations.
* <p/>
* Role data transfer object facilitates exchange of role data among services,
... |
package com.konstantinlevin77.hrms.entities.concretes;
import javax.persistence.*;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="jobseeker_cvs")
public class JobseekerCv {
@Id
@Gene... |
package test.io;
import java.io.*;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
public class TestNIO {
public static void main(String[] args) throws IOException {
File file = new File("Nio.java");
file.createNewFile();
FileInputStream fis = new FileInputStream(
... |
/*
* Copyright (c) 2008-2017, Hazelcast, 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 required ... |
/*
* Copyright IBM Corp. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.example;
import java.io.FileReader;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.PrivateKey;
import java.security.cert.X509Certificate;
import java.time.LocalDateTime;
import io.grpc.Ch... |
/*
* Copyright (c) Sematext International
* All Rights Reserved
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Sematext International
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
*/
package org.apache.solr.handler.component;
import s... |
package com.arrow.pegasus.data.event;
public enum EventType {
Normal, Encrypted
} |
package org.nutz.qq.bean.graph.resp;
/**
* Created by Jianghao on 2020/4/14
*
* @author Freshplay Inc.
*/
public class GetUserInfoResp {
private Integer ret;
public Integer getRet() {
return ret;
}
public void setRet(Integer ret) {
this.ret = ret;
}
private String msg;
... |
package ru.job4j.chess;
import org.junit.Test;
import ru.job4j.chess.firuges.Cell;
import ru.job4j.chess.firuges.black.BishopBlack;
import ru.job4j.chess.firuges.black.PawnBlack;
import static org.junit.Assert.*;
public class LogicTest {
@Test
public void moveFigureWhenWayNotEmpty() {
Logic logic =... |
package ghost.framework.web.module.event.servlet.context;
import ghost.framework.web.module.event.servlet.WebServletEventTargetHandle;
import javax.servlet.ServletContextEvent;
/**
* package: ghost.framework.web.module.event.servlet.context
*
* @Author: 郭树灿{gsc-e590}
* @link: 手机:13715848993, QQ 27048384
* @Desc... |
/*
* Copyright 2014 Google 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 required by applica... |
/*
* Copyright 2013-2018 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 "licen... |
/*
* 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 top.one.jiemo.service;
import top.one.jiemo.model.Favorite;
import top.one.jiemo.model.VideoEntity;
import java.io.IOException;
import java.util.List;
public interface VideoUpload {
List<VideoEntity> findylVideos();//主页展示视频:yl,yx,dh*8
List<VideoEntity> findyxVideos();
List<VideoEntity> finddhVide... |
package com.mutool.javafx.core.util;
/**
* @ClassName: AttributeConvertUtil
* @Description: 类属性转换工具类
* @author: xufeng
* @date: 2017年7月11日 下午1:20:05
*/
public class AttributeConvertUtil {
public static String getAttributeNameByXml(String str) {
StringBuilder stringBuilder = new StringBuilder();
String[] stri... |
package com.hdq.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 属性&属性分组关联
*
* @author huangdaoquan
* @email 1758398270@qq.com
* @date 2022-01-23 23:36... |
package org.primftpd.filesystem;
import android.content.ContentResolver;
import androidx.documentfile.provider.DocumentFile;
import org.apache.sshd.common.Session;
import org.apache.sshd.common.file.SshFile;
import org.primftpd.services.PftpdService;
import java.util.List;
public class SafSshFile extends SafFile<Ss... |
package com.navercorp.study1.code04;
import static org.junit.Assert.assertEquals;
import java.sql.SQLException;
import org.junit.Test;
import com.navercorp.study1.code04.dao.UserDao;
import com.navercorp.study1.domain.User;
public class Code04Test {
@Test
public void test() throws ClassNotFoundExc... |
/*
* Tencent is pleased to support the open source community by making Tinker available.
*
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a ... |
package huoShan.AnZhuo.JiBen;
public class rg_YingYongChengXu extends android.app.Application {
protected java.util.HashMap<String, java.lang.Object> rg_QuanJuBianLiangBiao = new java.util.HashMap<String, java.lang.Object> ();
private static rg_YingYongChengXu ms_objApp;
protected rg_QuanJuShuJuCunChuQiL... |
package ConditionalStatementsAdvanced.exercise;
import java.util.Scanner;
public class FishingBoat {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int budjet = Integer.parseInt(scanner.nextLine());
String season = scanner.nextLine();
int numFish... |
/*
* 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.extranjeros.resources;
import co.edu.uniandes.csw.extranjeros.dtos.ViviendaDTO;
import co.edu.unia... |
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Minecraft Forge
* Copyright (c) 2016.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it will... |
package com.sonnata.sonnata;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
public class rythmeCours extends AppCompatActivity {
... |
package com.lexisnexis.platform.eclwatch;
//import autoitx4java.AutoItX;
//import autoit-0.1.13;
import static org.junit.Assert.assertEquals;
import java.util.concurrent.TimeUnit;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.openqa.selenium.By;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.common.implementation;
import com.azure.common.annotations.BodyParam;
import com.azure.common.annotations.GET;
import com.azure.common.annotations.Host;
import com.azure.common.annotations.PUT;
import com... |
/*
* (C) Copyright IBM Corp. 2021.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
package contest.acm;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class ACM_Foxling_Feeding_Frenzy {
static final int MOD = 1000000007;
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
stati... |
package com.sequenceiq.cloudbreak.core.flow2.chain;
import static com.sequenceiq.cloudbreak.core.flow2.cluster.downscale.ClusterDownscaleEvent.DECOMMISSION_EVENT;
import static com.sequenceiq.cloudbreak.core.flow2.stack.downscale.StackDownscaleEvent.STACK_DOWNSCALE_EVENT;
import java.util.Optional;
import java.util.Q... |
/*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Martin Eigenbrodt
*
* 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, ... |
package de.smartformer.articlesapi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ArticlesApiApplication {
public static void main(String[] args) {
SpringApplication.run(ArticlesApiApplication.class, args... |
package org.mage.test.cards.abilities.keywords;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
* @author BetaSteward
*/
public class ConspireTest extends CardTestPlayerBase {
/**
* 702.77. Conspire 702.77a Co... |
package com.nhpatt.androidm.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import com.nhpatt.androidm.R;
public class PermissionsActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle saved... |
package net.evilcult.scenic.block;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.block.IWaterLoggable;
import net.minecraft.fluid.FluidState;
import net.minecraft.fluid.Fluids;
import net.minecraft.item.BlockItemUseContext;
import net.m... |
/*
* Decompiled with CFR 0.150.
*/
package me.wintware.client.module.visual;
import me.wintware.client.event.EventTarget;
import me.wintware.client.event.impl.Event3D;
import me.wintware.client.event.impl.EventPreMotionUpdate;
import me.wintware.client.module.Category;
import me.wintware.client.module.Module;
publi... |
/*
*
* 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"); ... |
/* 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... |
/****************************************************************
* 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... |
// Pecan 1.0 operators. Free and open source. See licence.txt.
package pecan;
/* Op constants represent parsing expression operators, and are used to classify
nodes. */
public enum Op {
Error, // Parse error, with message in note field
Temp, // Temporary node used during parsing
List, ... |
package Practica3.principalpack;
import java.io.*;
import java.net.*;
public class MetPrincipal {
public String principal(String host) {
try {
Socket socket = new Socket(host, 80);
InputStream input = socket.getInputStream();
return input + "";
} catch (Exceptio... |
package com.hy.micro.service.dingding.utils;
import org.springframework.beans.BeanUtils;
import com.hy.micro.service.dingding.dto.OrderDTO;
import com.hy.micro.service.dingding.entity.OrderMaster;
import java.util.List;
import java.util.stream.Collectors;
/**
* Convert master order to DTO order
*
* @Author: Edd... |
/*
* Copyright 2012-present Facebook, 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... |
package AST;
import AST.Visitor.Visitor;
import java_cup.runtime.ComplexSymbolFactory.Location;
public class True extends Exp {
public True(Location pos) {
super(pos);
}
public void accept(Visitor v) {
v.visit(this);
}
}
|
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.common.data.tuple;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class Tuple1Test {
@Test
void getA() {
Tuple1<String> t = new Tuple1<>("a");
assertEquals("a", t.getA());
}
@Test
void ap... |
package com.zcc.smarthome.activity;
import android.database.ContentObserver;
import android.os.Bundle;
import android.os.Handler;
import android.provider.Settings;
import android.support.v7.app.AppCompatActivity;
import com.gyf.barlibrary.ImmersionBar;
import com.gyf.barlibrary.OSUtils;
public class BaseActivity ex... |
package ltd.newbee.mall.dao;
import ltd.newbee.mall.entity.NewBeeMallOrderItem;
import ltd.newbee.mall.util.PageQueryUtil;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface NewBeeMallOrderItemMapper {
int deleteByPrimaryKey(Long orderItemId);
int insert(NewBeeMallOrderItem ... |
/*
* Copyright (c) 2008-2016, GigaSpaces Technologies, 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
*
* Un... |
package com.k8swatcher;
import javax.enterprise.context.Dependent;
import io.fabric8.kubernetes.api.model.rbac.RoleBinding;
@Dependent
public class RoleBindingWatcher extends ResourceWatcher<RoleBinding> {
public RoleBindingWatcher(WatchConfig config, NotificationPublisher notificationPublisher) {
super... |
package hr.vkeglevic.doomsdayterminal.ui.dialogs;
import com.googlecode.lanterna.gui2.AnimatedLabel;
import com.googlecode.lanterna.gui2.Borders;
import static com.googlecode.lanterna.gui2.Borders.*;
import com.googlecode.lanterna.gui2.Button;
import com.googlecode.lanterna.gui2.Direction;
import com.googlecode.lanter... |
package com.atguigu.gmall.oms.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans... |
package com.allever.social.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.allever.social.BaseActivity;
import com.allever.social.R;
import com.allever.so... |
/*
* Copyright 1999-2018 Alibaba Group Holding 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 a... |
/*
* Copyright 2014-2019 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 "licen... |
package mobi.hsz.idea.gitignore.completion;
import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase;
import mobi.hsz.idea.gitignore.file.type.kind.GitFileType;
import org.jetbrains.annotations.NotNull;
import java.io.IOException;
public class CompletionTest extends LightPlatformCodeInsight... |
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.adapters.eventbus.topic.kafka;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.clients.producer.ProducerRec... |
/*
* Copyright 2015-present Open Networking Laboratory
*
* 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 appli... |
package net.avicus.atlas.core.command;
import com.google.common.collect.Lists;
import com.sk89q.minecraft.util.commands.Command;
import com.sk89q.minecraft.util.commands.CommandContext;
import com.sk89q.minecraft.util.commands.CommandException;
import com.sk89q.minecraft.util.commands.CommandPermissions;
import com.sk... |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package org.mindinformatics.gwt.domeo.client.ui.annotation.plugins;
import java.util.HashMap;
/**
* @author Paolo Ciccarese <paolo.ciccarese@gmail.com>
*/
public abstract class APlugin {
/**
* This is the list of required plugins (names, version) for the present plugin
*/
public HashMap<String, String> requ... |
/*
Copyright 2021 Fausto Spoto
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
di... |
package module0287_public_tests_unittests.a;
import java.io.*;
import java.rmi.*;
import java.nio.file.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores e... |
package com.waka.workspace.smalldianping.Activity.Main.Fragment.Store;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.w... |
/**
* Copyright 2009-2017 the original author or 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
*
* Unle... |
/*
* ====================================================================
* 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
... |
package com.redhat.developer.demos.customer.rest;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.ProcessingException;
import javax.ws.rs.Produces;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import or... |
package com.jparams.junit4.data.converter;
import com.jparams.junit4.reflection.MethodParameter;
import java.math.BigDecimal;
public class BigDecimalConverter implements Converter {
@Override
public Object convert(Object data, MethodParameter methodParameter) {
return new BigDecimal(data.toString());... |
/*
* Ory Kratos
* Welcome to the ORY Kratos HTTP API documentation!
*
* The version of the OpenAPI document: v0.5.4-alpha.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package sh.ory.kr... |
/**
* 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 2017 Vincenzo-Maria Cappelleri <vincenzo.cappelleri@gmail.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... |
package vetcilinicservice.RestControllers;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.Authorization;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web... |
/*
* Copyright (c) 2008-2012, Hazel Bilisim Ltd. 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 requir... |
package mb.tiger;
import mb.jsglr1.common.JSGLR1ParseTable;
import mb.jsglr1.common.JSGLR1ParseTableException;
import org.checkerframework.checker.nullness.qual.Nullable;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
public class TigerParseTable implements Serializable {
fi... |
/*
* 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 distributed under t... |
package toll.geofence;
import android.app.IntentService;
import android.content.Intent;
import android.util.Log;
import com.google.android.gms.common.api.Result;
import com.google.android.gms.common.api.ResultCallback;
/**
* Created by simarv on 2016-06-06.
*/
public class GeoFenceService extends IntentService {
... |
package tcp.array.client;
import java.io.*;
import java.net.Socket;
import java.util.Scanner;
import java.util.logging.*;
/*
Đề bài: Viết chương trình TCP Client/Server trong đó Client gửi lên một số nguyên dương n.
Server tạo mảng có kích thước bằng n. Sinh ngẫu nhiên các phần tử trong mảng. Server gửi trả
... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* 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, cop... |
package org.jboss.resteasy.security;
import org.jboss.resteasy.util.Base64;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.cert.X509Certificate;
/**
* U... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.