text stringlengths 7 995k |
|---|
package com.baeldung.web;
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
import org.junit.runner.RunWith;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRu... |
package org.intermine.web.logic.widget;
/*
* Copyright (C) 2002-2019 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/le... |
/*
* Copyright 2014 - 2020 Blazebit.
*
* 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... |
/*
* Copyright 2016 Little Robots
*
* 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 applicab... |
package net.zhanqi.jfinal.frame.controller;
import com.jfinal.core.Controller;
import com.jfinal.log.Logger;
import com.jfinal.upload.UploadFile;
import java.io.File;
/**
* FileController
*/
public class FileController extends Controller {
private static final Logger log = Logger.getLogger(FileController.clas... |
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.strategies.basic.dispatching.selection.orders;
import static ja... |
/*
* This file is part of fabric-loom, licensed under the MIT License (MIT).
*
* Copyright (c) 2016, 2017, 2018 FabricMC
*
* 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 restr... |
package org.webswing.directdraw.model;
import java.awt.geom.RoundRectangle2D;
import org.webswing.directdraw.DirectDraw;
import org.webswing.directdraw.proto.Directdraw.RoundRectangleProto;
public class RoundRectangleConst extends MutableDrawConstantHolder<RoundRectangle2D, RoundRectangleProto> {
public RoundRecta... |
package org.jenkinsci.plugins.oic;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import hudson.Extension;
import hudson.security.csrf.CrumbExclusion;
import java.io.IOException;
/**
* Excluding t... |
/*
* Copyright 2018-2022 adorsys GmbH & Co KG
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version. This progra... |
/*
* 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.hl7.fhir.dstu2016may.model.codesystems;
/*
Copyright (c) 2011+, HL7, 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 ab... |
/*
* 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.lambdaschool.schools.handlers;
import com.lambdaschool.schools.exceptions.ResourceNotFoundException;
import com.lambdaschool.schools.models.ErrorDetail;
import com.lambdaschool.schools.services.HelperFunctions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.O... |
/*******************************************************************************
* Copyright (c) 2002 - 2006 IBM Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... |
package com.google.firebase.iid;
import android.os.IInterface;
import android.os.Message;
import android.os.RemoteException;
interface zzn extends IInterface {
void zza(Message message) throws RemoteException;
} |
package com.jstarcraft.swing.component.dnd;
import java.awt.Component;
import java.awt.Container;
import java.awt.Cursor;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JComponent;
import javax.swing.JViewport;
import javax.sw... |
/*
* 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
*
* 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
... |
/*
* 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 com.guider.healthring.helper;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper;
/**
* Created by wyl on 2017/9/8.
*
* 使用ItemTouchHelper需要实现ItemTouchHelper.Callback接口
* 通过该接口对move和swipe事件进行监听、也可以控制View的选择状态和覆盖默认动画
*/
public class ItemTouchHelperCallbac... |
package org.robolectric.shadows;
import android.os.Looper;
import org.robolectric.Robolectric;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.RealObject;
import org.robolectric.annotation.Resetter;
import org.robolectric.internal.Hidde... |
/*-
* #%L
* Home Automation
* %%
* Copyright (C) 2016 - 2017 Koen Serneels
* %%
* 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
*... |
package br.ufal.cpmat.tomate.view.fita;
import java.awt.FlowLayout;
import java.util.Vector;
import javax.swing.JPanel;
public class FitaPanel extends JPanel {
private Vector<FitaCelula> celulas = new Vector<FitaCelula>();
/**
*
*/
private static final long serialVersionUID = -5304625740740174421L;
public... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distr... |
package launcher.helper;
import launcher.LauncherAPI;
import java.util.Map;
import java.util.Objects;
import java.util.function.DoublePredicate;
import java.util.function.IntPredicate;
import java.util.function.LongPredicate;
import java.util.function.Predicate;
import java.util.regex.Pattern;
public final class Ver... |
package ru.betterend.config;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import ru.bclib.config.EntryConfig;
import ru.bclib.config.IdConfig;
import ru.bclib.config.PathConfig;
import ru.betterend.BetterEnd;
public class Configs {
public static final PathConfig ENTITY_CONFIG = new PathConfi... |
/**
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, s... |
package com.intellij.openapi.vcs.roots;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vcs.*;
import com.intellij.openapi.vfs.VirtualFile;
imp... |
/**
* DateErrorReason.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201402.cm;
public class DateErrorReason implements java.io.Serializable {
private java.lang.String _value_;
private sta... |
/*
* 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 migration;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
/... |
package net.sf.l2j.gameserver.scripting.quests;
import net.sf.l2j.gameserver.model.actor.Npc;
import net.sf.l2j.gameserver.model.actor.instance.Player;
import net.sf.l2j.gameserver.model.base.ClassRace;
import net.sf.l2j.gameserver.scripting.Quest;
import net.sf.l2j.gameserver.scripting.QuestState;
public class Q316_... |
package org.hisp.dhis.ll.action.llelements;
/*
* Copyright (c) 2004-2007, 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 t... |
// Copyright (c) 2013 VMware, Inc. All Rights Reserved.
// Copyright (C) 2017 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/l... |
package edu.fiuba.algo3.controlador;
import edu.fiuba.algo3.modelo.Jugador;
import edu.fiuba.algo3.modelo.excepciones.NoHayPreguntasException;
import edu.fiuba.algo3.modelo.excepciones.ArchivoJsonMalEscritoException;
import edu.fiuba.algo3.modelo.excepciones.ErrorAlAbrirArchivoException;
import edu.fiuba.algo3.modelo... |
package forms;
public class ProgramForm {
private String name;
private String description;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String descripti... |
/* Generated SBE (Simple Binary Encoding) message codec */
package sbe.msg;
public enum MetaAttribute
{
EPOCH,
TIME_UNIT,
SEMANTIC_TYPE
} |
/*
* Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package jdk.internal.reflect;
import java.lang.reflect.Field;
class UnsafeObjectFieldAccessorImpl ext... |
/*-
* ========================LICENSE_START=================================
* TeamApps
* ---
* Copyright (C) 2014 - 2021 TeamApps.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... |
package com.rainbow.bridge.mysqltarget;
import com.rainbow.bridge.targetcore.model.TaskRule;
/**
* mysql的任务规则
* @author gujiachun
*/
public class MysqlTaskRule extends TaskRule {
/** 目标库 */
private String targetDb;
/** 目标表 */
private String targetTable;
/** 同步时对应的关联PK,格式(源列1=目标列1;源列2=目标列2);如... |
package cn.benlocke.webservice.domain;
import lombok.Data;
import javax.persistence.*;
@Entity
@Table(name = "t_user")
@Data
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
private String password;
private String roles;
... |
package br.com.filter;
import java.io.IOException;
import javax.inject.Inject;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.Serv... |
package gol.gridselector;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
import gol.grid.Grid;
import gol.panels.GamePanel;
@SuppressWarnings("rawtypes")
public class CellComboBox extends JComboBox implements ActionListe... |
package org.sagebionetworks.repo.model.jdo;
import java.util.Date;
import org.sagebionetworks.repo.model.EntityType;
import org.sagebionetworks.repo.model.Node;
public class NodeTestUtils {
/**
* Create a new node using basic data.
* @param name
* @return
*/
public static Node createNew(String name, Long ... |
/* 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... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.mingcai.edu.modules.oa.dao.wx;
import com.mingcai.edu.common.persistence.CrudDao;
import com.mingcai.edu.common.persistence.annotation.MyBatisDao;
import com.mingcai.edu.modules.oa.entity.wx... |
package com.github.adriano6877.services;
import com.github.adriano6877.dao.HolderAccountService;
import com.github.adriano6877.dao.UpdateHolderDataInDatabase;
import com.github.adriano6877.entity.Address;
import com.github.adriano6877.entity.HolderAccount;
import com.google.gson.Gson;
import com.google.gson.GsonBuilde... |
package top.chenqwwq.leetcode.lcof._2021._34;
import top.chenqwwq.leetcode.common.TreeNode;
import java.util.ArrayList;
import java.util.List;
/**
* 剑指 Offer 34. 二叉树中和为某一值的路径
* 输入一棵二叉树和一个整数,打印出二叉树中节点值的和为输入整数的所有路径。从树的根节点开始往下一直到叶节点所经过的节点形成一条路径。
* <p>
* <p>
* 示例:
* 给定如下二叉树,以及目标和 target = 22,
* <p>
* 5
* / \
*... |
package com.company;
import java.util.Scanner;
public class P01_HelloName {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println(AddGreetingToName(scanner.nextLine()));
}
static String AddGreetingToName(String nameToGreet) {
Strin... |
/**
* 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.kirago.chapter24.service;
import com.kirago.chapter24.entity.Role;
import com.kirago.chapter24.entity.User;
import com.kirago.chapter24.mapper.RoleMapper;
import com.kirago.chapter24.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.u... |
/*
* Copyright 2014-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.*;
import com.ctrip.framework.apollo.biz.message.MessageSender;
import com.ctrip.framework.apollo.biz.message.Topics;
import com.ctrip.framework.apollo.biz.repository.NamespaceRepository;
import com.ctrip.framework.apollo.biz.... |
package rlbotexample.bot_behaviour.skill_controller.advanced_controller.offense;
import rlbot.render.Renderer;
import rlbotexample.bot_behaviour.skill_controller.SkillController;
import rlbotexample.bot_behaviour.panbot.BotBehaviour;
import rlbotexample.bot_behaviour.skill_controller.basic_controller.AerialOrientation... |
package com.redhat.service.smartevents.integration.tests.steps;
import java.time.Duration;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import java.util.concurrent.TimeUnit;
import org.awaitility.Awaitility;
import com.redhat.service.smartevents.integration.tests.common.ChronoUnitConverter;
import... |
package com.example.mycustomview.utils;
import android.content.Context;
import android.util.TypedValue;
import com.example.mycustomview.activity.MyApplication;
public class DisplayUtil {
private DisplayUtil(){
throw new UnsupportedOperationException("can not be instantiated");
}
/**
* dp值转化... |
/*
* 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.hzero.config.config;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.config.server.config.ConfigServerEncryptionConfiguration;
import org.springframework.cloud.config.server.config.ConfigServerMvcConfiguration;
import org.springframework.cl... |
/*
* MundiAPILib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
package com.mundipagg.api.models;
public class GetBillingAddressResponseBuilder {
//the instance to build
private GetBillingAddressResponse getBillingAddressResponse;
/**
* Default constructor ... |
/*
*
* Paros and its related class files.
*
* Paros is an HTTP/HTTPS proxy for assessing web application security.
* Copyright (C) 2003-2004 Chinotec Technologies Company
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Clarified Artistic License
* as publi... |
package org.swtk.commons.dict.wordnet.frames.instance.p0.p7; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.DataNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounFrame0706 { private static Map<String, DataNoun> map = new TreeMap<String, ... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.mango.autumnleaves.dosentest.unittest;
import androidx.test.espresso.Espresso;
import androidx.test.espresso.ViewAssertion;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.rule.ActivityTestRule;
import com.mango.autumnleaves.R;
import com.mango.autumnleaves.ui.activity.dosen.Mai... |
package hwu.elixir.scrape.scraper.examples;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import hwu.elixir.scrape.exceptions.FourZeroFourException;
import hwu.elixir.scrape.exceptions.MissingHTMLException;
import hwu.elixir.scrape.exceptions.MissingMarkupException;
import hwu.elixir.scrape.exceptions.NTri... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.synapse.v2019_06_01_preview.implementation;
impo... |
/*
* Copyright 2020-2021 original 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 applicable law or agr... |
package com.vivek.Web.dto;
import org.hibernate.validator.constraints.NotEmpty;
import com.vivek.Validator.PasswordMatches;
import com.vivek.Validator.ValidEmail;
import com.vivek.Validator.ValidPassword;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializa... |
/**
* Copyright (c) 2013-2014, JCabi.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of condition... |
package net;
import com.google.common.base.Predicate;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import net.minecraft.entity.Entity;
import net.minecraft.scoreboard.ScoreObjective;
import net.minecraft.scoreboard.Scoreboard;
import net.minecraft.server.MinecraftServer;
final class a2... |
package org.maltparserx.core.feature;
import java.util.ArrayList;
import java.util.Stack;
import java.util.regex.Pattern;
import org.maltparserx.core.config.ConfigurationRegistry;
import org.maltparserx.core.exception.MaltChainedException;
import org.maltparserx.core.feature.function.AddressFunction;
import org.malt... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.protocol;
import com.yahoo.config.subscription.ConfigSet;
import com.yahoo.config.subscription.ConfigSourceSet;
import com.yahoo.config.subscription.ConfigSubscriber;
import com.yahoo... |
/*
* 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 ... |
package no.ion.mvndeps.dot;
import org.junit.jupiter.api.Test;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class EdgeStatementTest {
@Test
void edgeStatement() {
assertEdgeStatement(" ... |
/*
* 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 io.deephaven.db.util;
import java.io.Serializable;
/**
* Pickled result for a Python fetch.
*/
public class PickledResult implements Serializable {
private String pickled;
private String pythonVersion; // version of python used to perform pickle
PickledResult(String pickled, String pythonVersi... |
package com.cg.spring.demo.db;
import java.util.List;
import java.util.Scanner;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import com.cg.spring.demo.db.model.Employee;
import com.cg.spring.demo.db.service.EmployeeServ... |
package com.oounabaramusic.android.widget.gridlayout;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.GridLayout;
import android.widget.TextView;
import com.oounabaramusic.android.util.D... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... |
/*
* generated by Xtext 2.11.0
*/
package com.robertkoszewski.dsl;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import com.robertkoszewski.dsl.generator.QuickUIGenerator;
import com.robertkoszewski.dsl.parser.antlr.QuickUIAntlrTokenFileProvider;
import com.... |
/*
* Copyright (c) 2020 Richard Hauswald - https://quantummaid.de/.
*
* 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
* ... |
/*
* 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 (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... |
/*
* 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 faltkullen;
import java.util.Random;
/*
*
*/
public class ProbabilityTest {
static int hits;
static int misses;
static int ammunition = 300; //"ammunition"
static Random rng = new Random();
public ProbabilityTest() {
}
public static void main(String args[]) {
double ... |
package io.renren.modules.management.dao;
import io.renren.modules.management.entity.DeviceMaintainEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 设备日常维护记录表
*
* @author qiaosixun
* @email qiaosixun@handweb.com
* @date 2019-10-09 15:39:27
*/
@Mapper
... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.ap... |
package com.szymon1013.myair.data;
import com.google.gson.annotations.SerializedName;
/**
* Created by szymon on 2017-02-14.
*/
public class CityDetail {
@SerializedName("name")
String mName;
@SerializedName("url")
String mUrl;
public String getUrl() {
return mUrl;
}
public v... |
package ml.alternet.misc;
import ml.alternet.util.JNDIUtil;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactory;
/**
* A factory that supplies ... |
// Do not apply Lily license header
// This file was copied from the Apache Cocoon 2.1.x source tree.
// Please keep the original license on this file.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for addition... |
package io.bokun.inventory.plugin.harness.validation;
import java.math.*;
import javax.annotation.*;
/**
* Ensures given number is not negative (zero or positive).
*
* @author Mindaugas Žakšauskas
*/
public final class NonNegativeNumberValidator implements Validator<Number> {
@Nonnull
private final Stri... |
package com.rdebokx.ltga.shared;
public enum Problem {
ONEMAX,
DECEPTIVE_TRAP_4_TIGHT_ENCODING,
DECEPTIVE_TRAP_4_LOOSE_ENCODING,
DECEPTIVE_TRAP_5_TIGHT_ENCODING,
DECEPTIVE_TRAP_5_LOOSE_ENCODING,
NK_LANDSCAPES,
MAXCUT,
OPTIMAL_FIXED_FOS
} |
package no.nav.pto.veilarbportefolje.util;
import no.nav.common.types.identer.AktorId;
import no.nav.common.types.identer.Fnr;
import no.nav.pto.veilarbportefolje.domene.value.*;
import static java.lang.String.valueOf;
import static java.util.concurrent.ThreadLocalRandom.current;
public class TestDataUtils {
pu... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
/*
* Copyright (c) Microsoft Corporation
*
* All rights reserved.
*
* MIT License
*
* 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
* ... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ml.inference.ingest;
import org.elasticsearch... |
/*
* 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 de.uni_hamburg.corpora;
import de.uni_hamburg.corpora.utilities.PrettyPrinter;
import java.io.IOException;
import java.net.URI... |
package com.touwolf.mailchimp.data.condiction.types;
import com.google.gson.annotations.SerializedName;
public enum McIPGeoInZipOpEnum {
@SerializedName("ipgeoinzip")
IP_GEO_IN_ZIP
} |
package com.ammarahmed.scopedstorage;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.UriPermission;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.os.ParcelFileDescri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.