text
stringlengths
7
995k
/* * MIT License * * Copyright (c) 2018-2019 Mateusz Chudyk * * 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, co...
package me.doshou.admin.personal.calendar.repository; import me.doshou.common.repository.BaseRepository; import me.doshou.admin.personal.calendar.entity.Calendar; import org.springframework.data.jpa.repository.Query; import java.util.Date; /** * @author YorkChow<york.chow@actionsky.com> * @since 2014/12/4 * Time: ...
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.example.akshika.opencvtest; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class BruteForceActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.la...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright (c) 2012, Indraprastha Institute of Information Technology, * Delhi (IIIT-D) and The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
package net.gupt.community.exception; import lombok.extern.slf4j.Slf4j; import net.gupt.community.entity.CodeMsg; import net.gupt.community.entity.Result; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.DuplicateKeyException; import org.springframework.stereotype.Controll...
package com.ruoyi.common.core.constant; /** * 服务名称 * * @author Lion Li */ public interface ServiceNameConstants { String AUTH_SERVICE = "ruoyi-auth"; String SYSTEM_SERVICE = "ruoyi-system"; String FILE_SERVICE = "ruoyi-file"; }
package exemplos.jsf.validation; import java.net.URI; import java.net.URISyntaxException; import javax.faces.application.FacesMessage; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.validator.FacesValidator; import javax.faces.validator.Validator; import javax.fa...
/** * Copyright (c) 2004-2005, Regents of the University of California * 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 ...
/* * Copyright oVirt Authors * SPDX-License-Identifier: Apache-2.0 */ package org.ovirt.engine.api.v3.json; import java.util.List; import org.codehaus.jackson.map.SerializationConfig; import org.codehaus.jackson.map.ser.BeanPropertyWriter; import org.codehaus.jackson.map.ser.BeanSerializerBuilder; import org.codeh...
package com.haisenberg.f1st.sys.dao; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org....
/*=========================================================================== * Licensed Materials - Property of IBM * "Restricted Materials of IBM" * * IBM SDK, Java(tm) Technology Edition, v8 * (C) Copyright IBM Corp. 2003, 2004. All Rights Reserved * * US Government Users Restricted Rights - Use, duplication...
package datastructure.sort.quicksort; /** * Created by Administrator on 2017/9/6. */ public class QuickSort1App { public static void main(String[] args) { int maxSize = 16; // array size ArrayIns arr; arr = new ArrayIns(maxSize); // create array for(int j=0; j<maxSize; ...
package org.apache.ibatis.cache; import org.apache.ibatis.reflection.ArrayUtil; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.StringJoiner; /** Mybatis 的缓存使用了 key-value 的形式存入到 HashMap 中,而 key 的话,Mybatis 使用了 CacheKey 来表示 key,它的生成规则为:mappedStementId + offset + limit ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: bitsong/auction/v1beta1/tx.proto package bitsong.auction.v1beta1; public final class Tx { private Tx() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerA...
// typeinfo/toys/ToyTest19.java // TIJ4 Chapter Typeinfo, Exercise 19, page 593 // In ToyTest.java, use reflection to create a Toy object using // the non-default constructor. package typeinfo.toys; import static net.mindview.util.Print.*; import java.lang.reflect.*; interface HasBatteries {} interface Waterproof {} i...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/** * Copyright (C) 2017 Cambridge Systematics, 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 app...
/* * MIT License * * Copyright (c) 2021 Gaurav Ratnawat - Distributed Systems & Cloud Computing with Java * * 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, in...
package net.pkhapps.ddd.orders.infra.hibernate; import net.pkhapps.ddd.orders.domain.model.OrderItemId; import net.pkhapps.ddd.shared.infra.hibernate.DomainObjectIdCustomType; import net.pkhapps.ddd.shared.infra.hibernate.DomainObjectIdTypeDescriptor; public class OrderItemIdType extends DomainObjectIdCustomType<Orde...
/********************************************************************** * Copyright (c) 2014 HubSpot 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/lice...
/** * 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-2019 Harvard Pilgrim Health Care Institute (HPHCI) and its Contributors. * Copyright 2020 Google LLC * 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 restrictio...
package com.owl.book.bill.date; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.owl.book.base.BaseFragment; /** * Created by Imagine Owl on 2017/5/23. */ public class DatePickerFragment ex...
/* * Copyright 2013 GuoDing * * 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 ...
/* * 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 ...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
public class GardenMap extends GameMap { String name; Tile[][] path = { {new FlowerTile(), new DirtTile(), new FlowerTile(), new FlowerTile(), new FlowerTile(), new FlowerTile(), new FlowerTile(), new FlowerTile(), new CornTile(), new FlowerTile(), new FlowerTile(), new FlowerTile(), new FlowerTile(), new FlowerT...
package spelling; import java.util.HashSet; public class DictionaryHashSetMatchCase implements Dictionary { private HashSet<String> words; public DictionaryHashSetMatchCase () { words = new HashSet<String>(); } /** Add this word to the dictionary. ...
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.github.xuqplus.hi.leetcode.q1400.q1492; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; /** * n 的第 k 个因子 * medium * https://leetcode-cn.com/problems/the-kth-factor-of-n/ */ @Slf4j public class ATest { @Test void a() { Solution solution = new Solution(); lo...
/* * Conditions Of Use * * This software was developed by employees of the National Institute of * Standards and Technology (NIST), an agency of the Federal Government. * Pursuant to title 15 Untied States Code Section 105, works of NIST * employees are not subject to copyright protection in the United States * and are...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.protocol; import com.fasterxml.jackson.core.JsonGenerator; import com.yahoo.jrt.DataValue; import com.yahoo.jrt.Request; import com.yahoo.log.LogLevel; import com.yahoo....
/* Copyright (c) 2013 OpenPlans. All rights reserved. * This code is licensed under the BSD New License, available at the root * application directory. */ package org.geogit.storage.text; import java.math.BigDecimal; import java.math.BigInteger; import java.util.HashMap; import java.util.List; import java.util.Map;...
import java.util.*; import java.io.*; class Main { /* Coin Change, 1.492s in Java, 0.038s in C++ */ // O(NV) DP solution // N and coinValue are fixed for this problem, max V is 7489 private static int N = 5, V; private static int[] coinValue = new int[] {1, 5, 10, 25, 50}; private static int[][] memo = new ...
package net.dblsaiko.origami.ojavac; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Writer; import javax.tools.JavaFileObject; public class TrackingJavaFileObject extends JavaFileObjectDelegate { private final TrackingJavaFileManager fm;...
/* * 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 cn.wqk.manager.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.stereotype.Component; /** * 用户信息 * @author */ @Data @Component @NoArgsConstructor @AllArgsConstructor public class User{ /** * 用户编号 */ private Integer ui...
package com.seenukarthi.tldr; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test :-) */ @Test public void shouldAnswerWithTrue() { assertTrue( true ); } }
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.amr.designpatterns.abstractfactory; /** * * @author amr */ public class Red implements Color { @Override public...
/* This file is part of the iText (R) project. Copyright (c) 1998-2020 iText Group NV Authors: Bruno Lowagie, Paulo Soares, et al. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free...
/* * Copyright (c) 2016, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
package com.github.mikephil.chart_3_0_1v.data; import com.github.mikephil.chart_3_0_1v.interfaces.datasets.ILineDataSet; import java.util.List; /** * Data object that encapsulates all data associated with a LineChart. * * @author Philipp Jahoda */ public class LineData extends BarLineScatterCandleBubbleData<ILi...
package br.com.conductor.heimdall.core.util; /*- * =========================LICENSE_START================================== * heimdall-core * ======================================================================== * Copyright (C) 2018 Conductor Tecnologia SA * ====================================================...
package cn.shiyanjun.platform.scheduled.common; import java.util.Map; import java.util.Optional; import com.google.common.collect.Maps; import cn.shiyanjun.platform.api.Context; import cn.shiyanjun.platform.api.common.AbstractComponent; import cn.shiyanjun.platform.scheduled.api.ProtocolManager; public abstract cla...
// Template Source: IBaseMethodRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------------...
/* * Copyright 2022 Haulmont. * * 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 io.quarkus.logging.sentry; import java.util.Optional; import java.util.logging.Handler; import org.jboss.logging.Logger; import io.quarkus.runtime.RuntimeValue; import io.quarkus.runtime.annotations.Recorder; import io.quarkus.runtime.configuration.ConfigurationException; import io.sentry.Sentry; import io.s...
package com.team1678.frc2021.auto.modes; import com.team1678.frc2021.auto.AutoModeEndedException; import com.team1678.frc2021.auto.actions.Action; import com.team1678.frc2021.auto.actions.EmptyAction; import edu.wpi.first.wpilibj.DriverStation; /** * An abstract class that is the basis of the robot's autonomous rout...
package org.kodekuality.fixmock.fix.mapping.steps; import org.kodekuality.fixmock.fix.session.RawFixMessage; public class SendMessageFixStep implements FixStep { private final RawFixMessage message; public SendMessageFixStep(RawFixMessage message) { this.message = message; } public RawFixMes...
/* 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...
package Absorber.powers; import Absorber.DefaultMod; import Absorber.cards.ConsumeCards.GremlinStab; import Absorber.powers.CommonPower; import Absorber.util.TextureLoader; import basemod.interfaces.CloneablePowerInterface; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureAtlas; imp...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2011 The Closure Compiler 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 applicable...
package gov.cms.dpc.attribution.resources.v1; import com.google.common.collect.Maps; import gov.cms.dpc.attribution.DPCAttributionConfiguration; import gov.cms.dpc.attribution.jdbi.*; import gov.cms.dpc.common.entities.PatientEntity; import gov.cms.dpc.common.entities.ProviderEntity; import gov.cms.dpc.common.entities...
package io.l0neman.axmlparser.type; /* struct ResStringPool_span { enum { END = 0xFFFFFFFF }; // This is the name of the span -- that is, the name of the XML // tag that defined it. The special value END (0xFFFFFFFF) indicates // the end of an array of spans. ResStringPool_ref name; ...
package com.ard333.springbootwebfluxjjwt.model.security; public enum Role { ROLE_USER }
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package co.edu.uniandes.csw.incidencias.entities; import java.io.Serializable; import javax.persistence.Entity; /** * * @author est...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license...
/* * @(#)MJPGImageReader.java * * Copyright (c) 2010-2011 Werner Randelshofer, Goldau, Switzerland. * All rights reserved. * * You may not use, copy or modify this file, except in compliance with the * license agreement you entered into with Werner Randelshofer. * For details see accompanying license terms. ...
package com.docsapp.chatbot.database; // THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit. /** * Entity mapped to table MESSAGE. */ public class Message { private Long id; private String chatBotName; private String message; private String emotion; pri...
/* * Copyright 2014 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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/licen...
package com.anands.virtual.constants; public class MessageConstants { public static final String NO_OAUTH_CODE_FOUND = "No authorization code found."; public static final String VC_UNABLE_TO_GENERATE_TOKEN = "Failed to generate token."; }
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
package org.iplantc.service.jobs.util; import com.fasterxml.jackson.core.JsonLocation; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.c...
/* * Copyright 2020 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 ...
package com.nbug.ss.context; import com.nbug.ss.beans.BeanDefinition; import com.nbug.ss.beans.factory.AbstractBeanFactory; import com.nbug.ss.beans.factory.AutowireCapableBeanFactory; import com.nbug.ss.beans.io.ResourceLoader; import com.nbug.ss.beans.xml.XmlBeanDefinitionReader; import java.util.Map; /** * @auth...
package org.hl7.fhir.r4.model.codesystems; /*- * #%L * org.hl7.fhir.r4 * %% * Copyright (C) 2014 - 2019 Health Level 7 * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
package io.agrest.meta; /** * @deprecated since 4.1, as Agrest now integrates with OpenAPI 3 / Swagger. */ @Deprecated public class DefaultAgOperation implements AgOperation { private LinkMethodType method; public DefaultAgOperation(LinkMethodType method) { this.method = method; } @Overrid...
package com.saasovation.agilepm.domain.model.product; import com.google.gson.annotations.Expose; public class ProductId { @Expose private String id; public ProductId(String aProductId) { this.id = aProductId; } public String id() { return this.id; } }
package wallmanager.ui.commons.laf; public class JXRoundPanelUI { }
package persistence; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import...
package com.sequenceiq.mock.controller; import java.util.List; import java.util.Optional; import javax.inject.Inject; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springfr...
/* * Copyright 2020 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 ...
package org.intermine.bio.dataconversion; /* * Copyright (C) 2002-2021 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/...
/* * The MIT License * * Copyright (c) 2009-2021 PrimeTek * * 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...
package org.smart4j.plugin.security.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 判断当前用户是否未登录(包括:未认证 或 未记住,即“访客”身份) * * @author huangyong * @since 1.0.0 */ @Target({ElementType.TYP...
package laraifox.foxtail.core; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.nio.ShortBuffer; import laraifox.foxtail.core.math.Matrix2f; import laraifox.foxtail.core.math.Matrix3f; import laraifox.foxtail.core.math.Matrix4f; import laraifox...
package org.jetbrains.research.intellijdeodorant.core.ast; import com.intellij.psi.PsiVariable; public abstract class VariableDeclarationObject { public abstract PsiVariable getVariableDeclaration(); public abstract String getName(); }
/** * Copyright (C) 2016 Gary Gregory. All rights reserved. * * See the NOTICE.txt file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
package kr.ac.gachon.sw.gbro.util.model; import com.google.firebase.Timestamp; import com.google.firebase.firestore.Exclude; public class User { private String userId; private String userEmail; private String userNickName; private String userProfileImgURL; private boolean isAdmin; private Tim...
package de.techdev.trackr.domain.translations; import de.techdev.trackr.domain.employee.login.Credential; import de.techdev.trackr.domain.employee.login.CredentialRepository; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import...
public class Person{ private int age; private String name; public Person(){ this("",32); System.out.println("Constructor Executed!"); }; public Person(String name){ this(); this.name = name; } public Person(String name, int age){ this(name); this.age = age; } public void print(){ System.out.print...
/* * Copyright 2018 Key Bridge. * * 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 no.bekk.bekkopen.banking; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class KontonummerTest { private static final String KONTONUMMER = "99990000001"; private static...
package com.livae.util.shape.d3; import org.junit.Test; import static org.junit.Assert.fail; public class FrustumTest { @Test public void testContainsSphere() throws Exception { fail(); } @Test public void testContainsCuboid() throws Exception { fail(); } @Test public void testContainsAxisAlignedBound...
package com.serenegiant.usb.config.param; import com.serenegiant.usb.config.base.UVCParamConfig; import com.serenegiant.usb.entity.ParamLimit; public class UVCExposurePriority extends UVCParamConfig { public UVCExposurePriority(ParamLimit paramLimit) { super(TAG_PARAM_EXPOSURE_PRIORITY, paramLimit); ...
package org.workflow.core.service.app; import com.wso2telco.core.dbutils.exception.BusinessException; import com.wso2telco.core.dbutils.util.ApprovalRequest; import com.wso2telco.core.dbutils.util.Callback; import com.wso2telco.core.userprofile.dto.UserProfileDTO; import org.apache.commons.logging.LogFactory; import o...
package de.danoeh.antennapod.core.storage; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.util.Log; import androidx.core.util.Consumer; import androidx.preference.PreferenceManager; import androidx.test.platform....
package ie.gmit.os; /* * Colm Woodlock * G00341460 * https://github.com/cwoodlock/OsClient * This is a project for 3rd year module Operating Systems in GMIT */ import java.io.*; import java.net.*; import java.util.Scanner; public class Requester{ Socket requestSocket; ObjectOutputStream out; ObjectInputStream...
package io.castle.client.model; import com.google.common.collect.ImmutableMap; import com.google.gson.JsonObject; import io.castle.client.internal.json.CastleGsonModel; import org.assertj.core.api.Assertions; import org.junit.Assert; import org.junit.Test; import java.util.HashMap; public class CastleMessageTest { ...
/* * Copyright 2019 Miroslav Pokorny (github.com/mP1) * * 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 applic...
/* * Copyright 2019-2020 StreamThoughts. * * 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,...
package org.apache.spark.sql.catalyst.trees; /** * Provides a location for TreeNodes to ask about the context of their origin. For example, which * line of code is currently being parsed. */ public class CurrentOrigin$ { /** * Static reference to the singleton instance of this Scala object. */ public sta...
package com.envyful.poke.tracker.forge.tracker.data; import com.envyful.poke.tracker.forge.PokeTrackerForge; import com.pixelmonmod.pixelmon.entities.pixelmon.EntityPixelmon; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraftforge.fml.common.FMLCommonHandler; i...