text stringlengths 7 995k |
|---|
/*
* JDXF Library
*
* Copyright (C) 2018, Jonathan Sevy <jsevy@jsevy.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 limitatio... |
/*
* @(#) JSONArrayPipeline.kt
*
* json-stream JSON Streaming library for Java
* Copyright (c) 2020 Peter Wall
*
* 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, i... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.logz.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jack... |
/*
* Copyright 2011 CodeGist.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 applica... |
package API_ROS2_Sunrise;
import java.io.IOException;
import java.net.DatagramPacket;
import java.nio.charset.Charset;
import java.net.Socket;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import API_ROS2_Sunrise.ISocket;
public class TCPSocket implements ISocke... |
/*
* 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.asr.trends.model.walmart;
import com.fasterxml.jackson.annotation.JsonInclude;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Attributes
{
private String color;
@JsonInclude(JsonInclude.Include.NON_NULL)
private String compositeWood;
//@JsonIgnoreProperties("finerCateg")
pu... |
/*
* 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 2012 University of South Florida
*
* 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... |
/*
* 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.shouldit.proxy.lib.enums;
/**
* Created by Marco on 15/09/13.
*/
public enum ProxyStatusProperties
{
WIFI_ENABLED(0),
WIFI_SELECTED(1),
PROXY_ENABLED(2),
WEB_REACHABLE(3),
PROXY_VALID_HOSTNAME(4),
PROXY_VALID_PORT(5),
PROXY_REACHABLE(6),
PROXY_VALID_EXCLUSION_LIST(7),
... |
// This file was automatically generated from IFCDOC at https://technical.buildingsmart.org/.
// Very slight modifications were made to made content align with ifcXML reference examples.
// Use this class library to create IFC-compliant (web) applications with XML and JSON data.
// Author: Pieter Pauwels, Eindhoven Uni... |
package com.gypsyengineer.tlsbunny.tls13.connection.action.composite;
import com.gypsyengineer.tlsbunny.tls13.connection.action.AbstractAction;
import com.gypsyengineer.tlsbunny.tls13.connection.action.Action;
import com.gypsyengineer.tlsbunny.tls13.connection.action.ActionFailed;
import com.gypsyengineer.tlsbunny.tls... |
/*
* 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.unidev.polyfunction;
import com.google.common.collect.ImmutableMap;
import com.unidev.polyfunction.evaluator.ScriptEvaluator;
import com.unidev.polyfunction.exception.PolyFunctionException;
import com.unidev.polyfunction.exception.ScriptNotFoundException;
import java.util.List;
import javax.servlet.Servlet... |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1997,2008 Oracle. All rights reserved.
*
* $Id: LockExample.java 63573 2008-05-23 21:43:21Z trent.nelson $
*/
package db;
import com.sleepycat.db.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStream... |
package connect.ui.activity.set;
import android.os.Bundle;
import android.view.View;
import android.widget.ListView;
import com.google.protobuf.ByteString;
import com.google.protobuf.InvalidProtocolBufferException;
import java.util.ArrayList;
import java.util.List;
import butterknife.Bind;
import butterknife.Butter... |
/*
* Copyright (c) 2008-2016 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 agr... |
package sorts;
/**
*
* @author Chernetskyi
* <br><br>
* QuickSort class performs sorting using quicksort sort method
*/
public class QuickSort extends AbstractSorter {
/**
*
* @param arr array to be sorted
* @param low for defining element that is smaller than pivot
* @param high for def... |
package xyz.eazyfree.application.controller;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* Crea... |
/*
* Copyright 2018 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 ... |
/**
* MVEL 2.0
* Copyright (C) 2007 The Codehaus
* Mike Brock, Dhanji Prasanna, John Graham, Mark Proctor
*
* 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.or... |
package com.mercadopago.android.px.tracking.internal.events;
import androidx.annotation.NonNull;
import com.mercadopago.android.px.internal.repository.ApplicationSelectionRepository;
import com.mercadopago.android.px.model.AccountMoneyMetadata;
import com.mercadopago.android.px.model.CardDisplayInfo;
import com.mercad... |
// Copyright (C) 2014 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 applicable ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (c) 2016-2020 Michael Zhang <yidongnan@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 the
* rights to use, co... |
package services.mailer;
import com.sun.net.ssl.X509TrustManager;
import java.security.cert.X509Certificate;
@SuppressWarnings("deprecation")
public class DummyTrustManager implements X509TrustManager {
public boolean isClientTrusted(X509Certificate[] cert) {
return true;
}
public boolean isSer... |
/*
* Copyright 2016 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package net.crazysnailboy.mods.armorstand.util;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagFloat;
import net.minecraft.nbt.NBTTagList;
import net.minecraftforge.common.util.Constants.NBT;
public class ArmorStandData
{
public boolean invisible = false;
public boolean noBasePlate = fals... |
/**
* Copyright © 2013-2016 Swiss Federal Institute of Technology EPFL and Sophia Genetics SA
*
* 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 mus... |
public class Annotation {
@<error descr="Usage of API documented as @since 1.7+">SafeVarargs</error>
public final void a(java.util.List<String>... ls) {}
} |
/*
* Copyright (c) 2017 by Gerrit Grunwald
*
* 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... |
package com.wk.rxandroid;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package ru.job4j.persistens.dao;
import org.junit.Test;
import ru.job4j.persistens.models.User;
import ru.job4j.utils.SingletonSF;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
public class UserDaoTest extends CrudDAOTest<User> {
@Override
protected UserDao getTestDao() {
r... |
package com.achais.leetcode.offer;
public class Solution15 {
public int hammingWeight(int n) {
int ans = 0;
while (n > 0) {
n = n & (n - 1);
ans++;
}
return ans;
}
public static void main(String[] args) {
int n = 0b000000000000000000000000000... |
package mage.cards.w;
import mage.MageInt;
import mage.MageObjectReference;
import mage.abilities.Ability;
import mage.abilities.common.BlocksTriggeredAbility;
import mage.abilities.effects.RestrictionEffect;
import mage.abilities.keyword.DefenderAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
impo... |
// "Collapse into loop" "true"
class X {
void test() {
for (int i = 12; i <= 22; i += 5) {
System.out.println(i);
}
}
} |
package com.example.school.features.students.data.dataSource.dto;
public interface DtoInterface<Domain> {
Domain toDomain();
} |
/* $Id: SolrConfig.java 991374 2010-08-31 22:32:08Z kwright $ */
/**
* 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 unde... |
package com.ts.listener;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import javax.servlet.ServletContextEvent;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.stereotype.Service;
impo... |
// This is a generated file. Not intended for manual editing.
package com.javampire.openscad.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
im... |
package com.ky.mall.mapper;
import com.ky.mall.model.SmsFlashPromotionSession;
import com.ky.mall.model.SmsFlashPromotionSessionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsFlashPromotionSessionMapper {
long countByExample(SmsFlashPromotionSessionExample example)... |
package com.haige.gulimall.order.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annota... |
package org.pushingpixels.demo.flamingo.svg.filetypes.transcoded;
import java.awt.*;
import java.awt.geom.*;
import javax.swing.plaf.UIResource;
import org.pushingpixels.neon.icon.IsHiDpiAware;
import org.pushingpixels.neon.icon.ResizableIcon;
import org.pushingpixels.neon.icon.NeonIcon;
import org.pushingpixels.neon... |
package com.lukflug.panelstudio.tabgui;
import com.lukflug.panelstudio.Animation;
import com.lukflug.panelstudio.Context;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
public class TabGUIContainer implements TabGUIComponent {
protected TabGUIRenderer renderer;
protected Animation sel... |
/**
* eGov suite of products aim to improve the internal efficiency,transparency,
accountability and the service delivery of the government organizations.
Copyright (C) <2015> eGovernments Foundation
The updated version of eGov suite of products as by eGovernments Foundation
is available at http://www... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
package net.dempsy.distconfig;
import static net.dempsy.util.Functional.chainThrows;
import static org.junit.Assert.assertEquals;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.PrintStream;
import java.util.Properties;
import org.junit.Test;
... |
package com.peregud.shoppingcenter.service;
import com.peregud.shoppingcenter.model.DiscountStatistics;
import com.peregud.shoppingcenter.util.HibernateUtil;
import javax.persistence.EntityManager;
public class DiscountListenerService {
public DiscountStatistics save(String discount) {
EntityManager ent... |
package com.cladonia.xslt.debugger;
import javax.xml.transform.Templates;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import net.sf.saxon.jaxp.SaxonTransformerFactory;
import net.sf.saxon.style.XSLStylesheet;
/*
import com.icl.saxon.Controller;
import com.icl.saxon.trace.Tra... |
package core;
import java.util.Objects;
public class Pickup {
int position;
int nPoints;
boolean active;
public Pickup(int position, int points) {
this.position = position;
this.nPoints = points;
this.active = true;
}
/**
* Picked up! Give player points, and indi... |
package panda;
import java.io.*;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
public class Test526 {
public static String readFile(String filePath){
StringBuffer sb = new StringBuffer();
File file = new File(filePath);
try {
BufferedReade... |
package se.kth.reliablebroadcast;
import se.sics.kompics.KompicsEvent;
import se.sics.ktoolbox.util.network.KAddress;
import java.util.HashMap;
/**
* Created by mikael on 2017-04-03.
*/
public class RDeliver implements KompicsEvent {
public KAddress source;
public Object payload;
public RDeliver(KAdd... |
/*
* Gary Cornell and Cay S. Horstmann, Core Java (Book/CD-ROM)
* Published By SunSoft Press/Prentice-Hall
* Copyright (C) 1996 Sun Microsystems Inc.
* All Rights Reserved. ISBN 0-13-565755-5
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for NON-COMMERCIAL purposes
*... |
package com.portlandwebworks.mdhs.facilities;
import com.portlandwebworks.mdhs.facilities.model.Facility;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import com.portlandwebworks.mdhs.facilities.repo.FacilityRepositoryCustom;... |
package org.bcos.proxy.config;
import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import j... |
package com.daimler.controllers.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.faster... |
package org.prebid.server.bidder.beachfront.model;
import lombok.AllArgsConstructor;
import lombok.Value;
@AllArgsConstructor(staticName = "of")
@Value
public class BeachfrontRequests {
BeachfrontBannerRequest bannerRequest;
BeachfrontVideoRequest videoRequest;
} |
package com.company;
import edu.princeton.cs.algs4.*;
public class RedBlackBSTDeleteMin< Key extends Comparable< Key >, Value > {
private static final boolean RED = true;
private static final boolean BLACK = false;
private class Node {
private Key key = null;
private Value value = null;
... |
package cn.tycoding.biz.service.impl;
import cn.tycoding.biz.entity.SysLink;
import cn.tycoding.biz.mapper.LinkMapper;
import cn.tycoding.biz.service.LinkService;
import cn.tycoding.common.utils.QueryPage;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.me... |
package kotlin.reflect;
import kotlin.Metadata;
import kotlin.jvm.functions.Function1;
import kotlin.reflect.KProperty;
@Metadata(mo6272bv = {1, 0, 3}, mo6273d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0000\n\u0... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
/*
* Copyright (C) 2014 Hari Krishna Dulipudi
* Copyright (C) 2013 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/licen... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.preview.deployedDevices.fleet;
import com.twilio.base.Updater;
import com.twilio.exception.ApiConnectionException;
import com.twilio.exception.ApiException;
import com.twilio.exc... |
package mvm.rya.api.query.strategy.wholerow;
/*
* 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... |
package moze_intel.projecte.gameObjs.items.armor;
import com.google.common.collect.Multimap;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import moze_intel.projecte.PECore;
import moze_intel.projecte.gameObjs.items.IFlightProvider;
import moze_intel.projecte.gameObjs.items.IStepAssiste... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
package aserg.gtf.dao;
import java.util.Collection;
import java.util.List;
import javax.persistence.EntityTransaction;
import javax.persistence.Query;
import aserg.gtf.model.LogCommitInfo;
public class LogCommitDAO extends GenericDAO<LogCommitInfo>{
public List<String> getProjectsName(){
String hql = "SELECT rep... |
/*
* Copyright 2005 JBoss 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 i... |
/*
*
* * Copyright (C) 2014 Divine Cloud 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 requ... |
/**
* SPDX-FileCopyrightText: 2018-2021 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.sap.cloud.security.xsuaa.util;
import com.sap.cloud.security.xsuaa.Assertions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impo... |
package com.deviceteam.kezdet.anehost.functions;
import com.adobe.fre.FREContext;
import com.adobe.fre.FREFunction;
import com.adobe.fre.FREObject;
import com.deviceteam.kezdet.anehost.KezdetANEHost;
import com.deviceteam.kezdet.anehost.utils.HostResponseValues;
import com.deviceteam.kezdet.interfaces.exception.BadPlu... |
/*
* Copyright 2011-2016 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.shouchuanghui.commonmodule.util;
import java.io.UnsupportedEncodingException;
/**
* @author Mr.Zheng
* @date 2014年8月22日 下午9:50:28
*/
public class Base64Utils
{
private static char[] base64EncodeChars = new char[]
{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O... |
package io.github.sbcloudrace.sbtranslator.jaxb.http;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for PersonaBase complex type.
*
* <p>The following sch... |
package net.offbeatpioneer.retroengine.core.eventhandling;
/**
* Interface for the action event of a sprite in the onAction-method
*
* @author Dominik Grzelak
* @since 15.09.2014
*/
public interface IActionEventCallback<Params> {
void onAction(Params parameter);
} |
/*
* 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... |
/*
* 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 not ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... |
/*
* Copyright (C) 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/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* 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... |
/*
* Copyright (C) 2012 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... |
/*
* Copyright (C) 2012-2015 DataStax 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... |
package test.mapper;
import org.springframework.stereotype.Service;
import rabbit.open.orm.core.dml.SessionFactory;
import rabbit.open.orm.core.spring.SpringDaoAdapter;
import test.mapper.entity.MappingUser;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
@Service
public class MapperUserServ... |
package net.jeeshop.services.front.attribute.dao.impl;
import java.util.List;
import net.jeeshop.core.dao.BaseDao;
import net.jeeshop.core.dao.page.PagerModel;
import net.jeeshop.services.front.area.bean.Area;
import net.jeeshop.services.front.attribute.bean.Attribute;
import net.jeeshop.services.front.attribute.dao.... |
package com.github.zhangkaitao.shiro.chapter12.entity;
import java.io.Serializable;
/**
* <p>User: Zhang Kaitao
* <p>Date: 14-1-28
* <p>Version: 1.0
*/
public class User implements Serializable {
private Long id;
private String username;
private String password;
private String salt;
private B... |
/* https://github.com/huguesjohnson/DubbelLib/blob/main/LICENSE */
package com.huguesjohnson.dubbel.retailclerk.build;
import java.io.FileWriter;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.HashMap;
import com.google.gson.Gson;
import com.huguesjohnson.dubbel.file.PathResolver;
import co... |
/*
* MIT License
*
* Copyright (c) 2020 Ricardo Boss
*
* 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, mod... |
/***** BEGIN LICENSE BLOCK *****
* Version: EPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Eclipse Public
* License Version 1.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.eclipse.org/legal/epl-... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package com.example.businessobject;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
} |
/*
* Extended LessCSS Compiler
* http://lesscss-extended-compiler.projects.gabrys.biz/
*
* Copyright (c) 2015 Adam Gabryś
*
* This file is licensed under the BSD 3-Clause (the "License").
* You may not use this file except in compliance with the License.
* You may obtain:
* - a copy of the License at project ... |
/*
* Copyright (c) 2019, TheStonedTurtle <https://github.com/TheStonedTurtle>
* 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 cop... |
/*
*
* 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 und... |
package de.raion.xmppbot.hipchat;
import com.fasterxml.jackson.databind.JsonNode;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.api.client.filter.LoggingFilter;
import de.raion.xmppbot.AbstractPacketIntercep... |
/*
Programmer: Ben Coe.(2007)<br />
This creates a panel that can be used to modify face control points.
*/
package Hacktendo;
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.media.opengl.glu.*;
import javax.media.opengl.GL;
import javax.media.opengl.GLAutoD... |
package protocol.server.protocols.heartbeat;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
class NetworkUtils {
private static final int UDP_VALID_PACKET_SIZE = 1024;
/**
* @param datagramSocket socket used to receive from sent data
* @return received... |
package pl.tcps.principal;
import org.springframework.security.core.GrantedAuthority;
class GrantedAuthorityImpl implements GrantedAuthority {
private String role = null;
GrantedAuthorityImpl(String role) {
this.role = role;
}
@Override
public String getAuthority() {
return this... |
/*
* (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de.
*
* Created on 19.01.2004, 21.12.2012
*/
package net.finmath.montecarlo.assetderivativevaluation;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import ja... |
package gui.manager.OrLearning;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.KeyValue;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Parent;
import javafx.scene.PerspectiveCamera;
import javafx.sce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.