text
stringlengths
7
995k
/* This file is part of the Yet Another Extensible Simulator Created on: Sep 28, 2009 yaes.framework.simulation.parametersweep.actions.dtaRun Copyright (c) 2008-2009 Ladislau Boloni This package is licensed under the LGPL version 2. */ package yaes.framework.simulation.parametersweep.actions; impo...
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.fasten.component.spi.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 作者:created by storm on 2019-12-07 */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) publ...
/* * (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...
/* * Copyright 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 * * Unless required by applica...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.05....
package org.divy.common.bo.endpoint.test.json; import org.divy.common.bo.database.AbstractBusinessObject; import org.divy.common.bo.business.BOManager; import org.divy.common.bo.endpoint.BaseBOEndpoint; import org.divy.common.bo.query.Query; import org.divy.common.bo.rest.response.ResponseEntityBuilderFactory; import...
/* * The MIT License (MIT) * * Copyright (c) 2015-2020 EXL <exlmotodev@gmail.com> * * 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 th...
package com.lichkin.springframework.entities.impl; import javax.persistence.Entity; import com.lichkin.springframework.entities.suppers.BaseStatisticsEntity; import lombok.Getter; import lombok.Setter; /** * 公园人流量统计表实体类 * @author SuZhou LichKin Information Technology Co., Ltd. */ @Getter @Setter @Entity public c...
package com.gentics.mesh.parameter; /** * Definition for user specific query parameters. */ public interface UserParameters extends ParameterProvider { public static final String TOKEN_PARAMETER_KEY = "token"; /** * Return the token code which was set. * * @return */ default String getToken() { retur...
package edu.psu.compbio.seqcode.gse.viz.metagenes; import java.util.ArrayList; import java.util.List; import edu.psu.compbio.seqcode.gse.datasets.general.Point; import edu.psu.compbio.seqcode.gse.datasets.general.Region; import edu.psu.compbio.seqcode.gse.datasets.general.StrandedPoint; import edu.psu.compbio.seqcode...
package pl.edu.agh.school; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.Collection; import java.util.List; import com.google.inject.Guice; import...
/** * Copyright © 2017 Jeremy Custenborder (jcustenborder@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 of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
package ru.android73.geekstagram.ui.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.TaskStackBuilder; import android.support.v7.widget.AppCompatRadioButton; import android.util.TypedValue; import android.widget.CompoundButton; import com...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v5/errors/keyword_plan_campaign_keyword_error.proto package com.google.ads.googleads.v5.errors; public final class KeywordPlanCampaignKeywordErrorProto { private KeywordPlanCampaignKeywordErrorProto() {} public static void...
package com.wolanx.echo.iothub.broker; import com.wolanx.echo.iothub.broker.process.*; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec.mqtt.*; import lombok.extern.slf4j.Slf4j; import org.springfra...
/* Copyright 2009-2016 David Hadka * * This file is part of the MOEA Framework. * * The MOEA Framework 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, either version 3 of the License, or (at your ...
/* * Copyright (C) 2012 The CyanogenMod Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
package com.niafikra.internship.justlist.ui.vaadin.login; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener; import com.vaadin.server.Resource; import com.vaadin.server.ThemeResource; import com.vaadin.ui.*; /** * @author Boniface Chacha * @email boniface.chacha@niafikra.com * @email...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/* * 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 gov.healthit.chpl.dao.impl; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.Query; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.c...
/* * This file was automatically generated by EvoSuite * Fri Nov 06 11:35:51 GMT 2020 */ package weka.classifiers; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import java.util.ArrayList; import java.util.Random; import java.util.Vector; import org.ev...
package tr.havelsan.ueransim.ngap0.ies.sequences; import tr.havelsan.ueransim.ngap0.core.*; import tr.havelsan.ueransim.ngap0.pdu.*; import tr.havelsan.ueransim.utils.bits.*; import tr.havelsan.ueransim.utils.octets.*; import tr.havelsan.ueransim.ngap0.ies.bit_strings.*; import tr.havelsan.ueransim.ngap0.ies.octet_str...
package jeex.ejb.beans; import jeex.ejb.domain.Discussion; import jeex.ejb.domain.Topic; import jeex.ejb.entities.DiscussionEntity; import javax.persistence.TypedQuery; import java.util.List; public class DiscussionManagerBean extends ManagerBean<Discussion, DiscussionEntity, Long> implements DiscussionManager...
/** * * 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 ...
// @formatter:off /* * Unlicensed, generated by javafx.ftl */ package javafx.scene.control; /** * {@link ButtonType}建構器延伸(供客製化) * * @author JarReflectionDataLoader-1.0.0 * @version openjfx-dialogs-1.0.2.jar * @param <Z> 要建構的物件型態(需繼承{@link ButtonType}) * @param <B> 建構器本身的型態(需繼承{@link ButtonTypeMaker}) */ @jav...
package com.sequenceiq.cloudbreak.orchestrator.host; import java.util.List; import java.util.Set; import com.sequenceiq.cloudbreak.orchestrator.exception.CloudbreakOrchestratorException; import com.sequenceiq.cloudbreak.orchestrator.executor.ParallelOrchestratorComponentRunner; import com.sequenceiq.cloudbreak.orches...
/* * Copyright 2014 lprimak. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package com.atguigu.gulimall.coupon.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 sunjunyao * @email sjy@gmail.com * @date 2021-05-27 11:05:09 *...
/******************************************************************************* * Copyright 2019 Fabrizio Pastore, Leonardo Mariani * * 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 L...
/* * 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...
package com.koushikdutta.async.test; import android.os.Handler; import android.os.Looper; import androidx.test.runner.AndroidJUnit4; import com.koushikdutta.async.AsyncServer; import com.koushikdutta.async.callback.CompletedCallback; import com.koushikdutta.async.callback.ContinuationCallback; import com.koushikdutta...
/* * Copyright 2009 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 com.joviegas; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; public class AppTest { @Test public void handleRequest_shouldReturnConstantValue() { App function = new App(); Object result = function.handleRequest("echo", null); a...
/* * Copyright 2014 Anton Tananaev (anton@traccar.org) * * 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...
// Copyright 2015-2021 Nkisi 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...
// $Id: CdRomArchiver.java,v 1.1 2007/06/17 15:34:38 jim Exp $ package us.temerity.pipeline.plugin.CdRomArchiver.v2_0_0; import us.temerity.pipeline.*; import java.util.*; import java.io.*; /*------------------------------------------------------------------------------------------*/ /* T A R B A L L A R C H I...
/** * Copyright 2017 Equipment & Tool Institute */ package net.soliddesign.iumpr.ui; import java.io.File; import java.util.List; import net.soliddesign.iumpr.bus.Adapter; import net.soliddesign.iumpr.bus.j1939.J1939; import net.soliddesign.iumpr.modules.ReportFileModule; /** * The interface for a UI Controller *...
package com.github.kostyasha.yad.utils; import com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.model.ResponseItem; import hudson.model.TaskListener; /** * @author Kanstantsin Shautsou */ public class LogUtils { private LogUtils() { } public static void printResponseItemToListener(TaskLis...
/* * 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.test.resource.transaction.jdbc.autocommit; import java.sql.C...
// Copyright 2017 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 applicable law...
/* * The MIT License (MIT) * * Copyright (c) 2015 Ivan Maslov * * 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, ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE80_XSS__Servlet_getQueryString_Servlet_53b.java Label Definition File: CWE80_XSS__Servlet.label.xml Template File: sources-sink-53b.tmpl.java */ /* * @description * CWE: 80 Cross Site Scripting (XSS) * BadSource: getQueryString_Servlet Parse id param out of the URL qu...
package com.maven.config; import java.io.IOException; import java.util.Properties; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.maven.utility.PropertiesUtils; public class SystemConstant { private static Logger logger= LogManager.getLogger(SystemConstant.class.get...
package io.ctsi.tenet.kafka.connect.policy; import io.ctsi.tenet.kafka.connect.error.ConnectException; import io.ctsi.tenet.kafka.connect.error.RetriableException; import io.ctsi.tenet.kafka.connect.metrics.ErrorHandlingMetrics; import io.ctsi.tenet.kafka.connect.source.SourceRecord; import org.apache.kafka.clients.co...
package android.support.v4.widget; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.view.View; import android.widget.ImageView; import android.widget.TextView; public class SimpleCursorAdapter extends ResourceCursorAdapter { private CursorToStringConverter mCu...
package io.cjf.jpaywepayback.dto; public class PayDownloadFundflowDTO { private String appid; private String mch_id; private String nonce_str; private String sign; private String sign_type; private String bill_date; private String account_type; public String getAppid() { return...
/* * Corona-Warn-App / cwa-verification * * (C) 2020, T-Systems International GmbH * All modifications are copyright (c) 2020 Devside SRL. * * Deutsche Telekom AG and all other contributors / * copyright owners license this file to you under the Apache * License, Version 2.0 (the "License"); you may not use thi...
package br.com.pilovieira.updater4j; import java.util.Locale; import java.util.ResourceBundle; public enum Lang { English("en"), Portuguese("pt"); public static ResourceBundle lang; public static void initialize(Lang lang) { Lang.lang = ResourceBundle.getBundle("lang/Messages", new Locale(l...
package com.teufelsturm.tt_downloader3.foundSummitList; import android.content.Context; import android.location.Location; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CheckBox; import android.widget.TextView; import androidx.annotation.NonNull; imp...
/** * Copyright (C) 2010-2013 eBusiness Information, Excilys Group * * 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 ...
package com.teamacronymcoders.contenttweaker.api.ctobjects.resourcelocation; import com.teamacronymcoders.contenttweaker.api.ICTObject; import crafttweaker.annotations.ZenRegister; import net.minecraft.util.ResourceLocation; import stanhebben.zenscript.annotations.ZenClass; import stanhebben.zenscript.annotations.ZenG...
package serenitymodel.net.thucydides.core.requirements.model.cucumber; import io.cucumber.messages.Messages; import java.util.List; public class NarrativeFromCucumberComments { public static String in(List<Messages.GherkinDocument.Comment> comments) { return ""; } }
// // ======================================================================== // Copyright (c) 1995-2013 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package com.example1.locationapp.test; import com.example1.locationapp.SubCommetsRead; import com.google.gson.JsonElement; import Controller.BitmapConverter; import android.graphics.Bitmap; import android.test.ActivityInstrumentationTestCase2; /** * JUnit test cases for BitmapConverter. * * @author cye2 * */ public...
package module; import java.io.IOException; import java.security.SecureRandom; import java.util.ArrayList; import java.util.HashMap; import java.util.Map.Entry; import java.util.Random; import bouyomi.BouyomiProxy; import bouyomi.DailyUpdate; import bouyomi.DailyUpdate.IDailyUpdate; import bouyomi.IAutoSave; import b...
/* * 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 2017-2022 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 com.bitmesra.bitotsav.features.nights; import android.content.Context; import com.bitmesra.bitotsav.database.DataManager; import com.bitmesra.bitotsav.database.models.nights.NightsModel; import java.util.List; /** * Created by Batdroid on 5/2/17 for Bitotsav. */ public class NightPresenter implements Nig...
package net.sumppen.whatsapi4j; public class WhatsAppException extends Exception { public WhatsAppException(String message) { super(message); } public WhatsAppException(Throwable t) { super(t); } public WhatsAppException(String message, Exception e) { super(message,e); } /** * */ private static...
package com.e16din.shoppinglist.model; import com.e16din.shoppinglist.model.db.ShoppingListDb; import com.raizlabs.android.dbflow.annotation.Column; import com.raizlabs.android.dbflow.annotation.ModelContainer; import com.raizlabs.android.dbflow.annotation.PrimaryKey; import com.raizlabs.android.dbflow.annotation.Tab...
/* * Copyright (C) 2007-2008 Esmertec AG. * Copyright (C) 2007-2008 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/lice...
package cn.rongcloud.im.ui.activity; import android.content.Context; import android.graphics.drawable.Drawable; import android.media.AudioManager; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; imp...
/* * 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 java.util.*; /* Link list node */ class Node { int data; Node next; Node(int d) {data = d; next = null;} } class MergeLists { Node head; /* Method to insert a node at the end of the linked list */ public void addToTheLast(Node node) { if (head == null) { ...
/* * Copyright (c) 2011-2016, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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...
package com.accesodatos.xestion; import java.awt.Dimension; import java.sql.Connection; import java.util.ArrayList; import javax.swing.DefaultListModel; import javax.swing.JOptionPane; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Te...
/* * Copyright (c) 2014 * Mikol Faro <mikol.faro@gmail.com> * Simone Mangano <simone.mangano@ieee.org> * Mattia Tortorelli <mattia.tortorelli@gmail.com> * * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (t...
/* * 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 ...
package io.github.suxil.service.constance; /** * Application constants. */ public final class LearnServiceConstants { public static final String BACKEND = "learnService"; private LearnServiceConstants() { } }
package com.rjhister.app.config; /** * Application constants. */ public final class Constants { // Regex for acceptable logins public static final String LOGIN_REGEX = "^[_.@A-Za-z0-9-]*$"; public static final String SYSTEM_ACCOUNT = "system"; public static final String DEFAULT_LANGUAGE = "en"; ...
package org.study.datamining.association.apriori; /** * 频繁项集 * * @author lyq * @modify gwd */ public class FrequentItem implements Comparable<FrequentItem>{ // 频繁项集的集合ID private String[] idArray; // 频繁项集的支持度计数 private int count; //频繁项集的长度,1项集或是2项集,亦或是3项集 private int length; public FrequentItem(String[]...
/* * Copyright 2012-2017 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 ...
/* * Copyright 2016 The Bazel Authors. 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 a...
/* * Copyright © 2016 <code@io7m.com> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ...
package com.ylzinfo.forum.service; import com.baomidou.mybatisplus.extension.service.IService; import com.ylzinfo.forum.entity.Topic; import com.ylzinfo.forum.entity.TopicDetail; public interface TopicDetailService extends IService<TopicDetail> { Topic getContent(Long id); boolean updateTopic(Topic topicDTO)...
/** * Copyright (c) 2012, University of Konstanz, Distributed Systems Group 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 noti...
package org.granitemc.granite.reflect; /* * License (MIT) * * Copyright (c) 2014. Granite Team * * 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...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 口碑商户人群组创建接口 * * @author auto create * @since 1.0, 2017-08-30 14:58:36 */ public class KoubeiMarketingCampaignCrowdCreateModel extends AlipayObject { private static final long serialVersionU...
package chillverse.plasma.examples.appletrunner; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; public class AppletClassLoader extends URLClassLoader { /** * Constructs a new {@code AppletClassLoader} object. * * @param codebase The code base of the applet. * @param a...
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CommandParserTestUtil.assertParseFailure; import static seedu.address.logic.parser.CommandParserTestUtil.assertParseSuccess; import java.util.Arrays; import o...
/* * Copyright 2006-2007 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...
/* Copyright 2018 The TensorFlow Authors. 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 applicable law or a...
package net.minecraft.entity.passive; import net.minecraft.block.Block; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIFollowParent; import net.minecraft.entity.ai.EntityAILookIdle; imp...
package com.jd.living.screen.settings.pickers; import android.content.Context; import android.preference.DialogPreference; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.util.AttributeSet; import android.view.View; import android.widget.ArrayAdapter; 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 ...
package com.simpleweather.android; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void o...
/* * ============LICENSE_START======================================================= * ONAP : APPC * ================================================================================ * Copyright 2018 TechMahindra *================================================================================= * Licensed under the Apa...
package jetbrains.mps.lang.extension.constraints; /*Generated by MPS */ import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; import jetbrains.mps.smodel.runtime.base.BasePropertyConstraintsDescriptor; import jetbrains.mps.smodel.runtime.ConstraintsDescriptor; import org.jetbrains.mps.openapi.model.SNod...
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
//<editor-fold defaultstate="collapsed" desc="initial program settings..."> import java.awt.Color; import java.awt.Font; import static java.lang.Double.parseDouble; import static java.lang.Float.parseFloat; import static java.lang.Integer.parseInt; import static java.lang.String.valueOf; import java.util.ArrayList; im...
package com.home.commonClient.net.response.func.base; import com.home.commonClient.constlist.generate.GameResponseType; import com.home.commonClient.net.base.GameResponse; import com.home.shine.bytes.BytesReadStream; import com.home.shine.support.DataWriter; import com.home.shine.support.pool.DataPool; /** 功能关闭(genera...
/** * (C) Copyright IBM Corp. 2010, 2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
package q250; import org.junit.runner.RunWith; import util.provided.TreeNode; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * https://leetcode.com/problems/invert-binary-tree/ * * Invert a binary tree. * * Example: * * In...
/* * 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.faforever.client.chat; import com.faforever.client.config.CacheNames; import com.faforever.client.i18n.I18n; import com.faforever.client.theme.UiService; import com.google.common.net.MediaType; import javafx.scene.Node; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import lombok.Req...
/* * Copyright (c) 2010-2019, sikuli.org, sikulix.com - MIT license */ package org.sikuli.util; import java.io.File; import java.io.FilenameFilter; import java.io.PrintStream; import org.sikuli.basics.Debug; import org.sikuli.basics.FileManager; import org.sikuli.script.support.RunTime; /** * INTERNAL USE: all th...
package hu.bme.mit.spaceship; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.mockito.Mockito.*; public class GT4500Test { private GT4500 ship; private TorpedoStore mockPrimaryTorpedoStore; private To...