text stringlengths 7 995k |
|---|
/*
* Copyright 2016 Paulius Danenas
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* Copyright 2002-2015 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.cpython;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.cpython.global.python.*;
@Properties(inherit = org.... |
int abc(){
int a=1;
int b=2;
return a+b;
}
/* expected:
1 START -> 2
2 STEP -> 3
3 STEP -> 4
4 RETURN -> end
*/ |
package gov.nara.nwts.ftapp.ftprop;
import java.io.File;
import javax.swing.JComponent;
/**
* Contract that a File Test Property must satisfy in both the GUI and Command Line form of the File Analyzer
* @author TBrady
*
*/
public interface FTProp {
public String getName();
public String describe(... |
public class testGuessing {
public static void main(String[] args) {
GuessingGame game = new GuessingGame();
game.timeControl();
game.guess();
}
} |
package com.kodcu.main;
import com.kodcu.config.ElasticConfiguration;
import com.kodcu.config.FileConfiguration;
import com.kodcu.config.MongoConfiguration;
import com.kodcu.config.YamlConfiguration;
import com.kodcu.provider.ElasticToMongoProvider;
import com.kodcu.provider.MongoToElasticProvider;
import com.kodcu.pr... |
package uk.ac.ox.well.cortexjdk.playground.assemblies;
import com.google.common.base.Joiner;
import htsjdk.samtools.reference.FastaSequenceFile;
import htsjdk.samtools.reference.ReferenceSequence;
import uk.ac.ox.well.cortexjdk.commands.Module;
import uk.ac.ox.well.cortexjdk.utils.arguments.Argument;
import uk.ac.ox.w... |
package lab01.excercise.challenge;
import java.util.HashMap;
import java.util.Map;
public class Stock {
private static Map<Product,Integer> stock;
static {
stock = new HashMap<>();
stock.put(Product.A, 10);
stock.put(Product.B, 10);
stock.put(Product.C, 10);
stock.put(Product.D, 10);
}
public stati... |
package com.peterson.markovchain;
import com.peterson.markovchain.random.RandomNumberStrategy;
/**
* Created by Ryan on 6/15/2017.
*/
public class MockRandomNumberStrategy implements RandomNumberStrategy
{
private MockRandom rand;
public MockRandomNumberStrategy(Integer... randoms)
{
rand = new... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2011, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* T... |
package com.github.charithe.kafka;
public enum StartupMode {
WAIT_FOR_STARTUP,
DEFAULT
} |
package com.rainlf.ms.shopuser.domain.service.impl;
import com.rainlf.ms.shopuser.domain.entity.User;
import com.rainlf.ms.shopuser.domain.repository.UserRepository;
import com.rainlf.ms.shopuser.domain.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stere... |
package com.ctrip.xpipe.redis.console.healthcheck.actions.interaction;
import com.ctrip.xpipe.api.foundation.FoundationService;
import com.ctrip.xpipe.endpoint.HostPort;
import com.ctrip.xpipe.redis.console.healthcheck.RedisInstanceInfo;
import com.ctrip.xpipe.redis.console.healthcheck.actions.interaction.event.Abstra... |
package com.ctrip.xpipe.redis.console.model;
/**
* @author chen.zhu
* <p>
* Jun 19, 2018
*/
public class RouteModel {
private long id;
private long orgId;
private String srcProxyIds;
private String dstProxyIds;
private String optionProxyIds;
private String srcDcName;
private Stri... |
package edu.miu.groupx.card.cardservice.service.impl;
import edu.miu.groupx.card.cardservice.exception.CardException;
import edu.miu.groupx.card.cardservice.model.CardStatus;
import edu.miu.groupx.card.cardservice.model.CardType;
import edu.miu.groupx.card.cardservice.model.MasterCard;
import edu.miu.groupx.card.cards... |
package de.hsbo.geo.simsamples.eventqueues;
/**
* Base class for entity queues as processed by the {@link
* EventQueueSimulator}s.
*
* @author Benno Schmidt
*/
abstract public class EntityQueue extends Queue
{
private String symbol;
/**
* Constructor. As a parameter, a discrete state symbol has to be gi... |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002-2009 Oracle. All rights reserved.
*
* $Id$
*/
package com.sleepycat.persist.impl;
import com.sleepycat.bind.EntityBinding;
import com.sleepycat.bind.tuple.TupleBase;
import com.sleepycat.db.DatabaseEntry;
import com.sleepycat.per... |
/**
* Copyright (c) 2016-2019 雅南集团 All rights reserved.
*
* https://www.yanan.io
*
* 版权所有,侵权必究!
*/
package io.renren.common.utils;
import java.util.HashMap;
import java.util.Map;
/**
* 返回数据
*
* @author Mark sunlightcs@gmail.com
*/
public class R extends HashMap<String, Object> {
private static final long ... |
package com.liuguilin.framework.utils;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.view.View;
import android.view.animation.LinearInterpolator;
/**
* FileName: AnimUtils
* Founder: LiuGuiLin
* Profile: 动画工具类
*/
public class AnimUtils {
/**
* 旋转动画
... |
/*___Generated_by_IDEA___*/
package com.mediathekview.mobile;
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
public final class Manifest {
} |
/*
* 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 problem1;
import java.util.Scanner;
/**
*
* @author Jakir Hossain Riaz
*/
public class Problem1 {
/**
* @param a... |
/*
* Copyright 2018 Paul Schaub.
*
* 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 panda.ioc.json.pojo;
import panda.ioc.IocEventTrigger;
public class WhenDeposeAnimal implements IocEventTrigger<Animal> {
public void trigger(Animal obj) {
for (int i = 0; i < 10; i++)
obj.onDepose();
}
} |
package com.awen.codebase.common.utils;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import com.awen.codebase.CodeBaseApp;
import java.lang.... |
package io.betty.server;
import java.util.ServiceLoader;
import io.betty.BettyModuleProvider;
import io.betty.lifecycle.LifecycleEventExt;
import io.betty.lifecycle.LifecycleListener;
import io.betty.lifecycle.LifecycleState;
import io.betty.server.BettyServerFlowLogListenerProvder;
import io.betty.server.DefaultServ... |
/*
* $Id: ELPutListTagBeanInfo.java 471754 2006-11-06 14:55:09Z husted $
*
* 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 fil... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.example.scrollview;
public final class R {
public static final class attr {
}
public static final class dimen {
... |
package com.xcynice.playxandroid.module.ask_and_question;
import com.xcynice.playxandroid.base.BaseBean;
import com.xcynice.playxandroid.base.BaseView;
import com.xcynice.playxandroid.bean.Article;
/**
* @Author 许朋友爱玩
* @Date 2020/6/4 17:35
* @Github https://github.com/LoveLifeEveryday
* @JueJin https://juejin.i... |
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of this s... |
/*
* 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.company.springboot.utilities;
import javax.servlet.http.HttpServletRequest;
/**
*
* @author Dim.Kasimatis
*/
public cl... |
package org.apache.maven.shared.model.fileset.mappers;
/*
* 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 ... |
/*
* 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 app... |
// ----------------------------------------------------------------------------
// Copyright 2007-2014, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... |
package com.kaizhuo.tiangong.boot.framework.controller;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
/**
*
* @author Administrator
* @date 2018/1/30
*/
@JsonIgnorePropert... |
/*
* Copyright (c) 2020.
* Created by YoloSanta
* Created On 10/22/20, 1:23 AM
*/
package net.hcriots.hcfactions.listener;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.e... |
/*
MIT License
Copyright (c) 2017 Denis Lebedev
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, di... |
/*
* Copyright (c) 1998-2018 John Caron and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.nc2;
import com.google.common.collect.ImmutableList;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Forma... |
package com.finder.bar.domain.question;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
public interface QuestionRepository extends JpaRepository<Question, Long>, JpaSpecificationExecutor<Question>{
} |
/*
* Copyright (c) 2018-2021, Antonio Gabriel Muñoz Conejo <antoniogmc at gmail dot com>
* Distributed under the terms of the MIT License
*/
package com.github.tonivade.purefun;
public interface Recoverable {
// XXX: https://www.baeldung.com/java-sneaky-throws
@SuppressWarnings("unchecked")
default <X extend... |
package com.compomics.util.waiting;
/**
* This class is used to pass actions like cancel while waiting.
*
* @author Marc Vaudel
*/
public interface WaitingActionListener {
/**
* Method called whenever the user pressed cancel.
*/
public void cancelPressed();
} |
/*
* 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 org.hisp.dhis.period;
/*
* Copyright (c) 2004-2018, University of Oslo
* 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 copyrig... |
package cloud.xiguapi.orange.filter;
import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants;
/**
* Zuul Post生命周期的自定义过滤器抽象类
*
* @author 大大大西西瓜皮🍉
* date: 2021/7/12 11:49
* desc:
*/
public abstract class AbstractPostZuulFilter extends AbstractZuulFilter {
@Override
public String fi... |
/*
* Copyright 2013 Netflix, 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 t... |
public static void openURL(String address) {
if (address != null && address.startsWith("room://")) {
int idx = address.lastIndexOf("/");
Protocol.joinRoomByID(address.substring(idx + 1), "");
return;
}
try {
Desktop desktop = null;
if (... |
/*
* Copyright (C) 2004-2016 L2J Server
*
* This file is part of L2J Server.
*
* L2J Server is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any ... |
package de.homedev.springboot.jpav2.entity;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax... |
package aop5.validator;
import java.util.LinkedList;
import java.util.List;
import aop5.domain.Course;
public class CourseValidator implements Validator<Course>
{
@Override
public String[] validate(Course entity)
{
List<String> errors = new LinkedList<String>();
if (!entity.getName().mat... |
/*******************************************************************************
* 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... |
package edu.neu.coe.info6205.life.base;
import java.util.HashMap;
import java.util.List;
import java.util.Objects;
import java.util.function.BiConsumer;
import java.util.function.Predicate;
public class Game implements Generational<Game, Grid>, Countable, Renderable {
/**
* Method to get the cell count.
... |
/*
* 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.dot.assign_1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends AppCompatActivity
{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstan... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.jpa.test.persistenceunit;
import java.io.IOException;
import... |
/*
* 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.allesad.habraclient.robospice.requests.posts;
import com.allesad.habraclient.helpers.RequestHelper;
import com.allesad.habraclient.robospice.response.posts.CommentsListResponse;
import com.octo.android.robospice.request.SpiceRequest;
import java.io.IOException;
/**
* Copyright (C) 2014 HabraClient Proje... |
/*
* 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 ... |
public class class327 {
static final int method6244(int i_0, int i_1, int i_2, int i_3) {
if (i_2 > 179) {
i_1 /= 2;
}
if (i_2 > 192) {
i_1 /= 2;
}
if (i_2 > 217) {
i_1 /= 2;
}
if (i_2 > 243) {
i_1 /= 2;
}
int i_4 = (i_1 /... |
package org.lanqiao.algo;
public class TreeNode<T> {
public T val;
public TreeNode<T> left = null;
public TreeNode<T> right = null;
public TreeNode<T> parent = null;
public TreeNode(T val) {
this.val = val;
}
} |
/**
* Copyright © 2012-2014 <a href="http://www.iwantclick.com">iWantClick</a>iwc.shop All rights reserved.
*/
package com.iwc.shop.modules.cms.service;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.iwc.shop.common.service.BaseService;
import com.iwc.shop.modules.cms.dao.Articl... |
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
// Complete the sockMerchant function below.
static int sockMerchant(int n, int[] ar)
{
HashSet<Integer> socks = ne... |
package explorviz.server.experiment;
import java.io.*;
import java.util.logging.Logger;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import explorviz.server.main.Configuration;
import explorviz.shared.experiment.Step;
import explorviz.visualization.experiment.services.TutorialService;
/**
* @author ... |
/*
* This file is part of the Heritrix web crawler (crawler.archive.org).
*
* Licensed to the Internet Archive (IA) by one or more individual
* contributors.
*
* The IA licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
*... |
package com.atguigu.gulimall.thirdparty.controller;
import com.aliyun.oss.OSS;
import com.aliyun.oss.common.utils.BinaryUtil;
import com.aliyun.oss.model.MatchMode;
import com.aliyun.oss.model.PolicyConditions;
import com.atguigu.common.utils.R;
import org.springframework.beans.factory.annotation.Value;
import org.spr... |
/*
* 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 ... |
/*
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
*
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
* arose from modification of the original source, or othe... |
/*
* 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.cedric.fyvents;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Text... |
package com.wolfcoder.adapter;
/**
* Created with IntelliJ IDEA.
* User: chenchen42
* Date: 2018/1/18
* Time: 下午8:24
* To change this template use File | Settings | File Templates.
* role:Adapter
*/
public class PhoneAdapter extends OldPhone implements IModernPhone{
@Override
public void userApp(String ... |
package com.project.convertedCode.servlets.vendor.mockery.mockery.library.Mockery.Exception;
import com.runtimeconverter.runtime.includes.RuntimeIncludable;
import com.runtimeconverter.runtime.includes.RuntimeConverterServlet;
import com.runtimeconverter.runtime.RuntimeEnv;
import javax.servlet.http.HttpServletRequest... |
package ca.bc.gov.open.ecrc.controller;
import static org.mockito.Mockito.when;
import org.junit.Assert;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.mockito.InjectMocks;
import org.mockito.Moc... |
package com.lunchnlearn;
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import java.util.Arrays;
import java.util.Li... |
package stack;
/**
* 栈的简单链式实现
*
* @author llliujw
*/
public class LinkedStack implements Stack {
/**
* 头节点,第一个元素之前的节点
*/
private Node top;
/**
* 大小
*/
private int size;
@Override
public void push(Integer value) {
top = new Node(value, top);
size++;
... |
package net.glowstone.generator.objects.trees;
import net.glowstone.util.BlockStateDelegate;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.material.CocoaPlant;
import org.bukkit.material.CocoaPlant.CocoaPlantSize;
import org.bu... |
/*
* Copyright 2012-2014 One Platform 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 applicable ... |
package com.walmartlabs.concord.plugins.http.request;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2018 Walmart 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
*
... |
package org.opencv.samples.colorblobdetect;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import org.opencv.core.MatOfPoint;
import org.opencv.core.MatOfPoint2f;
import org.opencv.core.Point;
import org.opencv.core.Scalar;
im... |
package io.quarkus.devtools.project.buildfile;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import org.gradle.api.Project;
import org.gradle.api.artifacts.Configuration;
import org.gradle.api.artifacts.Dependency;
import org.gradle.... |
/*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
//package com.dft.onyx50demo;
//
//import android.Manifest;
//import android.app.Activity;
//import android.content.Context;
//import android.content.pm.PackageManager;
//import android.graphics.Bitmap;
//import android.os.Build;
//import android.os.Environment;
//import android.util.Log;
//
//import androidx.core.app.... |
package com.baiyi.opscloud.datasource.jenkins;
import com.baiyi.opscloud.datasource.jenkins.base.BaseJenkinsTest;
import com.baiyi.opscloud.datasource.jenkins.driver.JenkinsUsersDriver;
import com.baiyi.opscloud.datasource.jenkins.entity.JenkinsUser;
import org.junit.jupiter.api.Test;
import javax.annotation.Resource... |
// Copyright 2000-2019 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.ide;
import com.intellij.configurationStore.StorageUtilKt;
import com.intellij.ide.impl.ProjectUtil;
import com.intellij.openapi.actionSystem.AnAction;
impor... |
/*
* 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 u... |
package com.ajjpj.acollections;
import com.ajjpj.acollections.immutable.AHashMap;
import com.ajjpj.acollections.mutable.AMutableMapWrapper;
import com.ajjpj.acollections.util.AOption;
import java.util.Iterator;
import java.util.Map;
import java.util.function.Function;
import java.util.function.Predicate;
/**
* Thi... |
/*
* Copyright 2012-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.roncoo.education.system.service.api.pc.biz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import com.roncoo.education.system.common.req.MsgTemplateDeleteREQ;
import com.roncoo.education.system.co... |
/*
* Copyright (c) 2017, MegaEase
* 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 ap... |
/*
* 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 ... |
/**
* 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... |
import CGAL.Kernel.Point_3;
import CGAL.Kernel.Segment_3;
import CGAL.Kernel.Triangle_3;
import CGAL.AABB_tree.AABB_tree_Polyhedron_3_Facet_handle;
import CGAL.AABB_tree.AABB_tree_Triangle_3_soup;
import CGAL.AABB_tree.Optional_Object_and_Integer;
import CGAL.AABB_tree.Object_and_Integer;
import CGAL.AABB_tree.Object;
... |
package com.maryanto.dimas.example;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public ... |
package com.lchli.utils.tool;
import org.greenrobot.eventbus.EventBus;
/**
* Created by lchli on 2016/4/3.
*/
public class EventBusUtils {
public static void register(Object subcriper) {
if (!EventBus.getDefault().isRegistered(subcriper)) {
EventBus.getDefault().register(subcriper);
... |
package io.github.qzcsfchh.android.pay;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import andro... |
package org.zbi.server.utils.okhttp;
public enum HttpMethod {
POST,DELETE,GET,PUT
} |
package com.jeefw.model.sys.param;
import java.util.Date;
import core.support.ExtJSBaseParameter;
/**
* TzzUserUpload 的参数类
* Thu Sep 17 18:18:08 CST 2015 tudou
*/
public class TzzUserUploadParameter extends ExtJSBaseParameter{
private int $userId;
private String $file;
private int $fami... |
/*
* Copyright 2010-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 "lice... |
package io.spoud.agoora.agents.test;
import io.spoud.agoora.agents.api.client.BlobClient;
import io.spoud.agoora.agents.api.client.DataItemClient;
import io.spoud.agoora.agents.api.client.DataPortClient;
import io.spoud.agoora.agents.api.client.DataSubscriptionStateClient;
import io.spoud.agoora.agents.api.client.Hook... |
/*
* The MIT License
*
* Copyright 2016 Focused Ultrasound Foundation.
*
* 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
... |
/*
* 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.lmonkey.servlet.user;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.