text stringlengths 7 995k |
|---|
package org.broadinstitute.hellbender.tools.funcotator;
import htsjdk.samtools.SAMSequenceDictionary;
import htsjdk.samtools.SAMSequenceRecord;
import htsjdk.samtools.reference.ReferenceSequence;
import htsjdk.samtools.util.Locatable;
import htsjdk.samtools.util.SequenceUtil;
import htsjdk.tribble.annotation.Strand;
i... |
/*
* Copyright (C) 2020 Temporal Technologies, Inc. All Rights Reserved.
*
* Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Modifications copyright (C) 2017 Uber Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this f... |
/*
* Copyright 2017 Keval Patel.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
/*
* Copyright 2019 EMBL - European Bioinformatics Institute
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or ag... |
package com.kongzue.dialog.v3;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import andro... |
/**
* 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 it.besmart.ocppLib.wrappers.Request;
import javax.validation.constraints.NotEmpty;
public class RechargeRequest {
@NotEmpty
private String sessionId;
private String roamingUserCode;
public RechargeRequest() {
super();
}
public String getSessionId() {
return sessionId;
}
public void setSe... |
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdatacenter_1_0.models;
import com.aliyun.tea.*;
public class QueryGroupLiveStatisticalDataResponse extends TeaModel {
@NameInMap("headers")
@Validation(required = true)
public java.util.Map<String, String> headers;
@Nam... |
/*
* ====================================================================
* 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
... |
/*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... |
/*
* 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 howest.groep14.game.powers;
import howest.groep14.game.actor.SpriteActor;
import howest.groep14.game.actor.health.StandardHealth;
import howest.groep14.game.powers.PowerBehavior;
public class ExtraLife extends PowerBehavior {
@Override
public void startPower(SpriteActor target) {
if (target.ge... |
/*
* TRAC Controller API
* This is a simple API for the connecting to the Two Rivers Activity Centers waterpark control system. It should only be accessable from within the internal network.
*
* OpenAPI spec version: 1.0.0
* Contact: brandan.schmitz@uj.edu
*
* NOTE: This class is auto generated by the swagger co... |
package io.openvidu.ipcameras;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.aut... |
package com.hjq.language;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Build;
import android.os.LocaleList;
import java.util.Locale;
/**
* author : Android 轮子哥
* github : https://github.com/getActivity/MultiLanguages
* t... |
package com.wdeanmedical.service;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.MalformedURLException;
import jav... |
package net.tslat.aoawikihelpermod.weaponcategories;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.server.MinecraftServer;
import net.minec... |
/*
* (c) 2016-2021 Swirlds, Inc.
*
* This software is owned by Swirlds, Inc., which retains title to the software. This software is protected by various
* intellectual property laws throughout the world, including copyright and patent laws. This software is licensed and
* not sold. You must use this software only ... |
/* Copyright 2002-2018 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... |
// This is a generated file. Not intended for manual editing.
package org.mule.tooling.lang.dw.parser.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface WeaveOptionElement extends PsiElement {
@NotNull
WeaveExpression getExpression();
@NotNull
... |
/**
* Authors:
*
* Sinclert Perez (100317201)
* Daniel Brinzei (100318049)
*/
import aima.core.agent.Action;
import aima.core.search.framework.StepCostFunction;
public class ActionCost implements StepCostFunction{
@Override
public double c(Object s, Action a, Object sDelta) {
State state = (Stat... |
package org.homework.my.cassandra;
import com.datastax.driver.mapping.annotations.Column;
import com.datastax.driver.mapping.annotations.PartitionKey;
import com.datastax.driver.mapping.annotations.Table;
import java.nio.ByteBuffer;
/**
* Created by ml636r on 8/20/2017.
*/
@Table(keyspace = "content", name = "page... |
/*
* 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... |
/**
* @author Geoffrey Long
*
* This class serves to start the program. The primary function is to
* instantiate the frame. This is surrounded by a try-catch to ensure
* that no fatal errors arise if the frame cannot be initialized.
*/
package start;
import javax.swing.UIManager;
import user.NullPlayer;
im... |
package cw;
import static cw.Reflections.reflectPoint;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import org.junit.jupiter.api.Test;
class ReflectionsTest {
@Test
void sample() {
assertArrayEquals(new int[]{0, 0}, reflectPoint(new int[]{0, 0}, new int[]{0, 0}));
assertArrayEquals(n... |
package cn.edu.tsu.se.mylife.ui.book.pdf;
public interface Pullable
{
boolean canPullDown();
boolean canPullUp();
} |
/*
* Copyright 2020 Rackspace US, 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 agr... |
/*
* Copyright 2000-2021 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... |
/*
*
* 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"); y... |
package com.illusory.i.shop.service.upload.fastdfs;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Java 配置方式定义 StorageFactory 的 Bean 使其可以被依赖注入
*
* @author illusory
* @version 1.0.0
* @date 2019/4/2
*/
@Configuration
public class FastDFSConf... |
package com.fiap.pesqueiros;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
sup... |
/* */ package com.wtpgaming.omzp.Config.CustomItems.Weapons.Swords;
/* */
/* */ import com.wtpgaming.omzp.OMZP;
/* */ import org.bukkit.ChatColor;
/* */ import org.bukkit.Material;
/* */ import org.bukkit.event.Listener;
/* */
/* */ public class MuramasaConfig
/* */ implements Listener {
... |
/*
* Copyright (c) CovertJaguar, 2014 http://railcraft.info
*
* This code is the property of CovertJaguar
* and may only be used with explicit written
* permission unless otherwise specified on the
* license page at http://railcraft.info/wiki/info:license.
*/
package mods.railcraft.common.modules;
import java... |
/*
* 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 org.springframework.nanotrader.quote;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import feign.Feign;
import feign.gson.GsonEncoder;
@Configuration
public class DefaultConfig {
@Bean
public QuoteRepository quoteRepository() {
return Fe... |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright 2017-2019 CodingApi .
*
* 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 queue;
//Queue ADT = Data + operations
/**
*
* @author IT676
* @param <E>
*/
public class ArrayBasedQueue<E> implements Queue<E> {
//Data
private final E[] queue;
private int rear;//counter of index
private int size;//the number of items in the queue
public ArrayBasedQueue(in... |
package cn.edu.whu.glink.core.index;
import org.apache.flink.api.java.tuple.Tuple2;
import org.junit.Before;
import org.junit.Test;
import org.locationtech.jts.geom.*;
import org.locationtech.jts.io.ParseException;
import org.locationtech.jts.io.WKTReader;
import java.util.ArrayList;
import java.util.List;
import st... |
/*
* 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.tinyelectronicblog.remotecontrol.ui.remotecontrol.on_off;
/**
* MIT License
* Copyright (c) 2022 TinyElectronicBlog
* 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 r... |
package net.bingosoft.mock.mysql.protocol.datatype.pint;
import net.bingosoft.mock.mysql.protocol.ByteArrayAble;
import net.bingosoft.mock.mysql.protocol.support.ByteArray;
import net.bingosoft.mock.mysql.protocol.utils.HexUtil;
import java.io.IOException;
import java.io.InputStream;
/**
* protocol int
*
* @autho... |
//package gr.dit.homework2;
/* Linked list Node*/
class Node {
byte[] data = new byte[1000000];
Node next;
}
public class A {
public static void main(String[] args) {
long start = System.nanoTime();
Node head = null;
try {
for (;;) {
head = A.push(head);
if (A.listLength(head)... |
package com.cp3.cloud.authority.dao.auth;
import com.cp3.cloud.authority.entity.auth.Role;
import com.cp3.base.basic.mapper.SuperMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* Mapper 接口
* 角色
* </p>
*
* @author zuihou
* @... |
/*
* Copyright 2002-2009 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
*
* Unless required by ap... |
/**
* Write a description of class BankAccount here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class BankAccount
{
} |
/*
* Written by Doug Lea and Josh Bloch with assistance from members of
* JCP JSR-166 Expert Group and released to the public domain, as explained
* at http://creativecommons.org/publicdomain/zero/1.0/
*/
package java.util;
// BEGIN android-note
// removed link to collections framework docs
// END android-note
/... |
/*
* Copyright 2009-2020 Tilmann Zaeschke
*
* 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 ... |
/*
* Copyright © 2012-2014 Cask Data, 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 ... |
/*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.example.newbiechen.ireader.presenter.crawler.contract;
import com.example.newbiechen.ireader.ui.base.BaseContract;
import com.gylang.novel.domain.bean.crawler.CrawlerBookInfo;
import java.util.List;
/**
* @author gylang
* data 2021/11/1
*/
public interface BookSourceContract {
interface View exte... |
/*================================================================================
Copyright (c) 2013 Steve Jin. 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 re... |
/*
* Copyright 2006 Webmedia Group 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 agree... |
package org.testcontainers.utility;
public class FakeImageSubstitutor extends ImageNameSubstitutor {
@Override
public DockerImageName apply(final DockerImageName original) {
return DockerImageName.parse("transformed-" + original.asCanonicalNameString());
}
@Override
protected String getDes... |
/*
* 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 ... |
/*
* Copyright (c) 2010-2014. Axon Framework
*
* 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 ... |
/**
* 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"); yo... |
/*
* Copyright 2021-2021 Alfresco Software, 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 ... |
/*
* 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 org.demo.solr.solrtwitterdemo.db;
import org.demo.solr.solrtwitterdemo.Tweet;
import org.demo.solr.solrtwitterdemo.TweetRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.stream.Collectors;
import javax.persistence.EntityManager;
import javax.persistence.Per... |
package com.test;
public interface ITest {
public void itest1();
public void itest2();
} |
/**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat 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 r... |
/*
* Copyright 2020, 2021, Ludovic Henry
*
* 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, pu... |
package com.ppdai.framework.raptor.annotation;
import java.lang.annotation.*;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RaptorInterface {
String appId() default "";
String appName() default "";
String version() default "";
String protoFile() defaul... |
package com.datazuul.apps.countries;
import java.net.URL;
import javax.swing.ImageIcon;
public class Country implements Comparable<Country> {
private String name;
private ImageIcon flagIcon;
private URL path;
private String code;
public Country() {
}
public Country(String code, String name) {
super();
t... |
package net.vapormusic.animexstream.utils.model.MALModel.UserAnimeList;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ListStatus {
@SerializedName("status")
@Expose
private String status;
@SerializedName("score")
@Expose
private Int... |
/*
* 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 org.supercsv.io;
import java.io.IOException;
import java.util.List;
import org.supercsv.cellprocessor.ift.CellProcessor;
/**
* Supertype for readers reading into lists.
*
* @author Kasper B. Graversen
*/
public interface ICsvListReader extends ICsvReader {
/**
* Plain reading a line into a list of stri... |
/*
* 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.walmart.warehouse.rest.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CreateBoxModel {
private Double length;
private Double width;
private Double height;
private Integer count;
} |
package algorithms;
import algorithms.base.model.TreeNode;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
/**
* 从上到下打印二叉树 II
*
* @author samin
* @date 2021-01-11
*/
class LevelOrder {
public static void main(String[] args) {
TreeNode t1 = new... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.... |
package io.clickhandler.web.reactRouterGwt.client;
import io.clickhandler.web.reactGwt.client.Reflection;
import javax.inject.Inject;
import javax.inject.Provider;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Constructs ReactRouter Route configuration base... |
package org.pulcifer.climate.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.pulcifer.climate.model.serialization.CityJsonDeserializer;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.ma... |
package atonkish.quartzelv.item;
import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Identifier;
import atonkish.quartzelv.QuartzElevatorMod;
import atonkish.quartzelv.block.ModBlocks;
public class... |
/**
* 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... |
/*
* 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 2015-2020 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... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* Copyright 2000-2009 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 io.kestra.core.models.executions;
import lombok.AllArgsConstructor;
import lombok.Value;
import io.kestra.core.models.tasks.Task;
import javax.validation.constraints.NotNull;
@Value
@AllArgsConstructor
public class NextTaskRun {
@NotNull
TaskRun taskRun;
@NotNull
Task task;
} |
/**
* Copyright (C) 2013-2014 EaseMob Technologies. 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 requi... |
/*
* Copyright (c) 2010, Soar Technology, Inc.
* 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
* list ... |
/*
* Copyright 2013 Universidade do Minho
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
package com.app.videoAndPictureUpload;
import android.util.SparseArray;
import android.view.View;
/**
* Created by Wxcily on 15/10/29.
* Adapter ViewHolder 的简单写法
*/
public class AdapterUtils {
private AdapterUtils() {
//私有化构造方法防止实例化
}
/**
* 用于自定义adapter if (convertView == null) { convertV... |
/**
* 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 br.com.zup.estrelas.gothamcityhall.entity;
import java.time.LocalDate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ForeignKey;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.... |
/*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2021, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.solver.constraints.nary.channeling;
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 db.juhaku.juhakudb.test.bean;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
/**
* Created by juha on 06/04/16.
*
... |
package online.devtools.unsoup;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Collection;
public class BookTest {
@Test
public void testBookAnnotatedFields() throws IllegalAccessExc... |
package de.npe.api.nparcade;
import de.npe.api.nparcade.util.IArcadeSound;
import de.npe.api.nparcade.util.Size;
/**
* Created by NPException (2015)
*/
public interface IArcadeMachine {
/**
* (OPTIONAL)
* Sends output to the arcade which should be output to a console output.
* Whether or not calling this me... |
/**
* 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... |
//,temp,sample_4684.java,2,6,temp,sample_7899.java,2,6
//,3
public class xxx {
public static void handleNotRegisteredExceptionAndReRegister( ApplicationAttemptId attemptId, ApplicationMasterProtocol rmProxy, RegisterApplicationMasterRequest registerRequest) throws YarnException {
log.info("app attempt not registered ... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.Servo;
@TeleOp(name = "Whel... |
/*
* 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.pivotallabs;
import android.app.Activity;
import android.widget.LinearLayout;
import android.widget.TextView;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
import java.util.ArrayList;
impo... |
package org.scify.talkandplay.gui;
import org.scify.talkandplay.utils.ResourceManager;
import org.scify.talkandplay.utils.ResourceType;
import java.util.Date;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.MouseAdapter;
import jav... |
package com.velocitypowered.api.command;
import com.velocitypowered.api.permission.PermissionSubject;
import net.kyori.text.Component;
/**
* Represents something that can be used to run a {@link Command}.
*/
public interface CommandSource extends PermissionSubject {
/**
* Sends the specified {@code component}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.