text stringlengths 7 995k |
|---|
/*
* Copyright (C) 2021 - Amir Hossein Aghajari
*
* 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 l... |
/*
* 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 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 ... |
/*
* CLOUD API
* An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, ... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
package console;
public enum Feedback
{
STOP, CONTINUE, EXECUTED
} |
import java.util.Scanner;
class GCD {
public static int gcd(int a, int b) {
int gcd = 1;
int i = 1;
int min = 0;
if (a < b)
min = a;
else
min = b;
while (i <= min) {
if (a % i == 0 && b % i == 0)
gcd = i;
... |
package com.interview.array;
import java.util.Deque;
import java.util.LinkedList;
/**
* http://www.geeksforgeeks.org/next-greater-element/
* Find next larger element on right side of a number in array for
* all positions in array
* This is different than finding largest element on right side which can
* be don... |
/*
* 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 mat.client.clause;
import org.apache.commons.lang3.StringUtils;
import com.google.gwt.event.logical.shared.CloseEvent;
import com.google.gwt.event.logical.shared.CloseHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.Ha... |
package org.iclub.validator;
import org.iclub.model.SettingForm;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
@Component
public class SettingValidator implements Va... |
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
package org.cef.handler;
import java.awt.Rectangle;
import org.cef.browser.CefBrowser;
/**
* Implement this interface to handle... |
package com.UJC.bolsa.Dao;
import org.springframework.stereotype.Repository;
import com.UJC.bolsa.domain.Provincia;
@Repository
public class ProvinciaDaoImpl extends AbstractDao<Provincia, Long> implements ProvinciaDao {
} |
/*
* Copyright 2016-2018 Axioma srl.
*
* 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... |
package org.tlh.exam.auth.holder;
import java.util.Locale;
/**
* Created by 离歌笑tlh/hu ping on 2018/12/31
* <p>
* Github: https://github.com/tlhhup
*/
public class LocaleHolder {
private static final ThreadLocal<Locale> localeHolder =new ThreadLocal<>();
//处理线程切换子线程中无法获取对象的问题,InheritableThreadLocal会将父线程的数... |
package org.apache.commons.compress.archivers.tar;
import java.math.*;
import java.io.*;
import java.nio.*;
import org.apache.commons.compress.archivers.zip.*;
public class TarUtils
{
private static final int BYTE_MASK = 255;
static final ZipEncoding DEFAULT_ENCODING;
static final ZipEncoding FALLBACK_ENC... |
package com.huawei.esdk.cc.service.call;
import tupsdk.TupCall;
/**
* 会话管理
*/
public class CallSession
{
private CallManager callManager = null;
private TupCall tupCall;
private boolean userHangup = false;
/**
* 构造
*
* @param callManager callManager
*/
public CallSession... |
// Copyright (c) 2014 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.xwalkview.stability.app;
import java.util.ArrayList;
import java.util.List;
import org.xwalkview.stability.base.XWalkBaseVideoActivity;
im... |
package org.apache.spark.rpc.deep;
public class SimpleTask extends Task {
// @Override
// public void run() {
// System.out.println("run simple task!");
// }
} |
package org.beryl.graphics;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory.Options;
/** Recommended base class for implementing an IBitmapSource. */
public abstract class AbstractBitmapSource implements IBitmapSource {
protected Bitmap bitmap = null;
public ... |
/*
* Lisensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package org.demo.helper;
import java.math.BigDecimal;
import org.demo.domain.PrinterUser;
import org.springframework.stereotype.Component;
import org.web3j.crypto.Credentials;
import org.web3j.protocol.Web3j;
import org.web3j.protocol.core.methods.response.TransactionReceipt;
import org.web3j.tx.Transfer;
import org.... |
package net.mureng.core.core.message;
import lombok.NoArgsConstructor;
@NoArgsConstructor
public class ResponseMessage {
public static String CHECK_BADGE_ACCOMPLISHED = "뱃지 획득을 확인하였습니다.";
} |
package com.unnamed.b.atv.sample.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import c... |
package com.egzosn.figure.ftp.api;
import com.egzosn.figure.common.api.FigureBedConfigStorage;
import org.apache.commons.net.ftp.FTPClient;
import org.apache.commons.pool2.BasePooledObjectFactory;
import org.apache.commons.pool2.PooledObject;
import org.apache.commons.pool2.impl.DefaultPooledObject;
import java.io.*;
... |
/* file: SGDMomentDenseBatch.java */
/*******************************************************************************
* Copyright 2014-2020 Intel Corporation
*
* 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 ... |
package com.example.socialize;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import andro... |
package com.sequenceiq.cloudbreak.cloud.azure.template;
import java.util.Collections;
import java.util.List;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.microsoft.azure.management.resources.Deployment;
import com.se... |
/*
* 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 View;
import java.text.NumberFormat;
/**
*
* @author arauj
*/
public class CalculoImpostos extends javax.swing.JFrame {
... |
package io.github.chanlugeon.lwduplicator.update;
import java.io.IOException;
import org.jsoup.Jsoup;
import com.google.gson.Gson;
public class Version {
private static final String LATEST_VERSION_URL =
"https://raw.githubusercontent.com/chanlugeon/line-webtoon-duplicator/master/version.json";
... |
package net.minecraft.nbt;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import net.minecraft.util.math.MathHelper;
public class NBTTagDouble extends NBTPrimitive
{
/** The double value for the tag. */
private double data;
NBTTagDouble()
{
}
public NBTTagDo... |
/*
* 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 FUJITSU LIMITED 2018
*******************************************************************************/
package org.oscm.operatorsvc.client;
import static org.junit.Assert.assertEquals;
import java.io.CharArrayWriter;
impor... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the... |
package org.zoxweb.shared.http;
import org.zoxweb.shared.data.DataConst;
import org.zoxweb.shared.security.SecurityProfile;
import org.zoxweb.shared.util.*;
import java.util.Arrays;
public class HTTPEndPoint
extends SecurityProfile
{
public enum Param
implements GetNVConfig
{
BEAN(NVConf... |
package dev.adafycheng.microservices.client.account;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ApplicationTests {
@Test
void contextLoads() {
}
} |
/*
* Copyright 2010-2016 Rajendra Patil
*
* 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 ok.automation.pages;
import net.serenitybdd.core.annotations.findby.FindBy;
import net.serenitybdd.core.pages.WebElementFacade;
import net.thucydides.core.annotations.DefaultUrl;
import net.thucydides.core.pages.PageObject;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
public class MessagesP... |
/*
* Copyright 2019 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Copyright © 2021 ProStore
*
* 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.flagsmith.flagengine;
import com.fasterxml.jackson.databind.JsonNode;
import com.flagsmith.MapperFactory;
import com.flagsmith.flagengine.environments.EnvironmentModel;
import com.flagsmith.flagengine.features.FeatureStateModel;
import com.flagsmith.flagengine.identities.IdentityModel;
import com.flagsmith... |
/* 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 com.mall.cloudnascoconfig.controller;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author... |
/*
* 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.dropwizard.hibernate;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Application;
import io.dropwizard.Configuration;
import io.dropwizard.db.DataSourceFactory;
import io.dropwizard.db.PooledDataSourceFactory;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Envir... |
/*
* 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 JavaSyntaxExercises;
import java.util.Arrays;
import java.util.Scanner;
public class MaxSequenceOfEqualElements {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int[] numbers = Arrays.stream(scanner.nextLine()
.split("\\s+"))
... |
/*
* Copyright 2017-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... |
/**
* 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... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 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... |
import java.util.*;
/**
* class LLNode {
* int val;
* LLNode next;
* }
*/
class Solution {
public LLNode solve(LLNode node, int target) {
while(node!=null && node.val==target)
node = node.next;
LLNode curr=node;
while(curr!=null && curr.next!=null )
{
... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
/*
* 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 ... |
/*
* MIT License
*
* Copyright (c) 2021 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... |
/*
* 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 com.classchecks.client.teacher.api.login.vo;
public class TeacherVo {
private Integer id;
private String securityAccount;
private String securitSmsCode;
private Integer faceLabel;
private String jwAccount;
private int securitType;
public TeacherVo() {
super();
}
public TeacherVo(Integer id, Strin... |
/*
* [The "BSD license"]
* Copyright (c) 2012 Terence Parr
* Copyright (c) 2012 Sam Harwell
* 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... |
/*
* 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 Y... |
package Data.SystemData.Events;
import Data.SystemData.DataRow;
import Data.SystemData.Enums.DataRowAction;
import Data.SystemData.dotNetAssembly;
import com.dotNet4Java.TClrObject;
import com.dotNet4Java.api.EClrError;
import com.dotNet4Java.api.Enums.EnumUtils;
import com.dotNet4Java.api.core.DotNetNativeTypes;
imp... |
/*
* Copyright (c) 2011-2017 Pivotal Software 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
package com.wzp.gulimall.ware;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class GulimallWareApplicationTests {
@Test
void contextLoads() {
}
} |
// AUTOGENERATED CODE. DO NOT MODIFY DIRECTLY! Instead, please modify the tuple/TupleValueX.ftl file.
// See the README in the module's src/template directory for details.
package com.linkedin.dagli.tuple;
/**
* An interface for retrieving value 10 from a tuple.
*/
public interface TupleValue10<K> {
/**
* Get... |
package controller;
public class HomeFormController {
} |
package co.infinum.princeofversions.mvp.presenter;
/**
* Created by stefano on 08/07/16.
*/
public interface PovPresenter {
void checkForUpdates();
void onCancel();
} |
package com.emtdev.tus.core.extension;
import java.util.Date;
public interface ExpirationExtension extends Extension {
/**
* @return could return null value
*/
Date expires(String fileId);
} |
package net.minecraft.server;
import java.util.Random;
public class WorldGenFlowers extends WorldGenerator {
private BlockFlowers a;
private IBlockData b;
public WorldGenFlowers(BlockFlowers blockflowers, EnumFlowerVarient enumflowervarient) {
this.a(blockflowers, enumflowervarient);
}
... |
package com.olive.gateway.start.config;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.core.Ordered;
import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.stereotype.Com... |
/*
Copyright © 2019 Salt Edge. https://saltedge.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 the rights
to use, copy, modify, merge, publis... |
package com.AIS.Modul.MataKuliah.Service;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.AIS.Modul.MataKuliah.Repository.MetodePembRepository;
import com.sia.modul.domai... |
/*
* 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 pe.mil.ejercito.poo;
/**
*
* @author ericsonhuamanimantilla
*/
public class PersonaMain {
public static void main(... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert
// Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2021.0... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
// Template Source: IBaseMethodRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ----------------------------... |
/*
* Copyright 2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.mobdev.locationapp.Model;
import androidx.room.Database;
import androidx.room.RoomDatabase;
@Database(entities = {Location.class}, version = 2, exportSchema = false)
public abstract class LocationDB extends RoomDatabase {
public abstract Location.LocationDao locationDao();
} |
package tconstruct.items.blocks;
import java.util.List;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumAction;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecra... |
/**
* Copyright 2019 VMware, Inc.
* SPDX-License-Identifier: BSD-2-Clause
*/
package com.vmware.flowgate.aggregator;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.when;
import java.io.I... |
/* $Id$ */
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... |
/*
* GROOVE: GRaphs for Object Oriented VErification Copyright 2003--2007
* University of Twente
*
* 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-... |
package net.minestom.server.entity.type.monster;
import net.minestom.server.entity.EntityCreature;
import net.minestom.server.entity.EntityType;
import net.minestom.server.entity.type.Monster;
import net.minestom.server.utils.Position;
import net.minestom.server.utils.binary.BinaryWriter;
import org.jetbrains.annotati... |
/*
* 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 2020 Alexengrig Dev.
*
* 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... |
/*
* Copyright 2021-2022 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
package com.painlessshopping.mohamed.findit;
import android.app.ProgressDialog;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.AsyncTask;
import android.os.Handler;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebVi... |
package com.hrym.app.controller;
import org.junit.Before;
import org.junit.Test;
import org.mockito.MockitoAnnotations;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.test.web.servlet.result.MockMvcResultMatchers;
import org.springfr... |
package io.github.noeppi_noeppi.libx.screen;
import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.gui.components.AbstractWidget;
import net.minecraft.client.gui.components.Widget;
import net.minecraft.client.gui.components.events.GuiEventListener;
import net.minecraft.client.gui.narration.NarrationE... |
package ch.sama.sql.dialect.tsql;
import ch.sama.sql.dbo.Field;
import ch.sama.sql.dbo.Table;
import ch.sama.sql.query.exception.IllegalIdentifierException;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class FieldTest {
private static final TSqlQueryFactory sql = new TSqlQueryFactor... |
/*
* Copyright (c) 2008-2019, Hazelcast, 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 ... |
package document;
import java.awt.Container;
import java.util.List;
/**
* A naive implementation of the Document abstract class.
* @author UC San Diego Intermediate Programming MOOC team
*/
public class BasicDocument extends Document
{
/** Create a new BasicDocument object
*
* @param text The full text of... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, 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:/... |
package tberg.murphy.floatsequence;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import tberg.murphy.tuple.Pair;
public class DenseSemiMarkovDP {
public static interface Model {
public int length();
public int numStates();
public int[] allowedWidth... |
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/talent/v4beta1/tenant_service.proto
package com.google.cloud.talent.v4beta1;
/**
*
*
* <pre>
* Request for getting a tenant by name.
* </pre>
*
* Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest}
*/
public fin... |
/*
* Copyright 2017 anand.
*
* 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... |
package com.nickrobison.trestle.reasoner.engines.spatial.equality.union;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.semanticweb.owlapi.model.OWLNamedIndividual;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
public class UnionCont... |
package io.rxmicro.examples.rest.controller.model.types.model.request.http_body;
import io.rxmicro.examples.rest.controller.model.types.model.Status;
import io.rxmicro.exchange.json.detail.JsonExchangeDataFormatConverter;
import io.rxmicro.http.HttpHeaders;
import io.rxmicro.http.QueryParams;
import io.rxmicro.rest.de... |
package org.opensrp.web.rest;
import org.json.JSONArray;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
import org.mockito.Captor;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.Mockito... |
/***
* Copyright 2017 Andrea Lorenzani
*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.