text
stringlengths
3.08k
15.2k
package uk.joshiejack.penguinlib.client.gui; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.client.gui.FontRenderer; import net.minecraft.util.text.*; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import javax.annotation.Nullable; import java.util....
// Copyright 2000-2021 Nokia // // Licensed under the Apache License 2.0 // SPDX-License-Identifier: Apache-2.0 // package com.alcatel.as.ioh.lb.plugins; import com.alcatel.as.ioh.lb.*; import com.alcatel.as.ioh.lb.mux.*; import com.alcatel.as.ioh.engine.*; import com.alcatel.as.ioh.engine.IOHEngine.MuxClient; impor...
/** * 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.firstinspires.ftc.teamcode.actions; import static org.firstinspires.ftc.teamcode.Logic.Lit; import com.qualcomm.robotcore.hardware.Gamepad; import com.qualcomm.robotcore.hardware.NormalizedRGBA; import org.firstinspires.ftc.robotcore.external.Telemetry; import org.firstinspires.ftc.teamcode.BotConfig; im...
/* * 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...
/* Copyright 2010, Google 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 above copyright notice, this list of conditions and the following dis...
// $Id: AfterFXEditor.java,v 1.2 2008/09/14 22:14:42 jim Exp $ package us.temerity.pipeline.plugin.AfterFXEditor.v2_4_1; import java.io.*; import java.util.ArrayList; import java.util.Map; import us.temerity.pipeline.*; import us.temerity.pipeline.plugin.CommonActionUtils; /*----------------------------------------...
/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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 me.mervin.project.linkPrediction.similarity.quasi; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; import me.mervin.core.Network; import me.mervin.core.Global.NetType; import me.mervin.project.linkPrediction.similarity.Similarity; import me.mervin.util.E; impor...
/* * 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 de.naoth.rc.components.videoanalyzer; import de.naoth.rc.dialogs.VideoAnalyzer; import de.naoth.rc.Helper; import de.naoth.rc.components.behaviorviewer.XABSLBehaviorFrame; import de.naoth.rc.components.behaviorviewer.XABSLProtoParser; import de.naoth.rc.components.behaviorviewer.model.Symbol; import de.naoth.r...
/* Copyright 2015 Adobe. All rights reserved. This file is licensed 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 required by applicable law or agre...
/* * 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 2018 <NAME> * * Use is subject to license terms. * * 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 ...
/** * Copyright (c) 2004-2005, www.pdfbox.org * 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, * thi...
/** * Copyright 2018 Alibaba Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package top.wexue.user.controller; import com.foxinmy.weixin4j.exception.WeixinException; import com.foxinmy.weixin4j.qy.model.ChatInfo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.s...
/* * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.glass.utils; import java.io.File; import java.net.URI; import java.security.AccessContr...
/* * 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.example.dome05; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; import android.widget.Toast; import java.util.ArrayList; import java.util.List; public class M...
/* * This file is part of Lorenz, licensed under the MIT License (MIT). * * Copyright (c) <NAME> <https://www.jamierocks.uk/> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to de...
package net.snakefangox.worldshell.collision; import net.minecraft.util.hit.BlockHitResult; import net.minecraft.util.hit.HitResult; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Box; import net.minecraft.util.math.Direction; import net.minecraft.util.math.Vec3d; import net.minecraft.util.sh...
package com.alibaba.tesla.authproxy.model; import org.hibernate.validator.constraints.NotBlank; import javax.validation.constraints.Size; import java.io.Serializable; import java.util.Date; /** * <p>Description: 接入权限系统的应用信息 </p> * <p>Copyright: Copyright (c) 2017</p> * <p>Company: alibaba </p> * * @author <EMAI...
package tech.indicio.ariesmobileagentandroid; import android.util.Log; import android.util.Pair; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.hyperledger.indy.sdk.IndyException; impo...
// SPDX-License-Identifier: MIT package com.mercedesbenz.sechub.domain.scan.product; import static javax.persistence.EnumType.*; import java.time.LocalDateTime; import java.util.UUID; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Enumerated; import javax.persistence.Gener...
package com.nckh.nckh2020.toan; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import co...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.ml.inference; import org.elastics...
/* NDKmol - Molecular Viewer on Android NDK (C) Copyright 2011 - 2012, biochem_fan This file is part of NDKmol. NDKmol is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either ver...
/* * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * * OpenAPI spec version: 16.0.1 * Contact: <EMAIL> * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package br.co...
package com.lukamaletin.codeshare.controller; import com.lukamaletin.codeshare.controller.exception.AuthorizationException; import com.lukamaletin.codeshare.controller.exception.ForbiddenException; import com.lukamaletin.codeshare.controller.exception.NotFoundException; import com.lukamaletin.codeshare.model.Comment; ...
package com.mingrisoft.fieldassistant.customer; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.A...
package org.jfree.chart.renderer.xy; import java.awt.AlphaComposite; import java.awt.Composite; import java.awt.Graphics2D; import java.awt.geom.GeneralPath; import java.awt.geom.Rectangle2D; import java.util.ArrayList; import java.util.List; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.ValueAxis; im...
/** * This class is meant as a skeleton for the odometer class to be used. * * @author <NAME> * @author <NAME> * @author <NAME> * @author <NAME> * @author <NAME> */ package ca.mcgill.ecse211.odometer; import lejos.hardware.motor.EV3LargeRegulatedMotor; /** * This class describes the odometer function of th...
/** * Copyright (C) 2012 <NAME> <<EMAIL>> * * 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...
package com.jlfex.hermes.common.sms; import java.util.Collection; import wzsoft.sms.client.AccountReq; import wzsoft.sms.client.AccountRsp; import wzsoft.sms.client.Protocol; import wzsoft.sms.client.ProtocolFactory; import wzsoft.sms.client.RecoverableProtocolException; import wzsoft.sms.client.SmsClient; import wzsof...
/* * 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.thermo.test; import org.apache.commons.math3.analysis.BivariateFunction; import org.apache.commons.math3.analysis.Function...
package org.jeffpiazza.derby.devices; import jssc.SerialPortException; import org.jeffpiazza.derby.LogWriter; import org.jeffpiazza.derby.Message; import org.jeffpiazza.derby.serialport.SerialPortWrapper; import org.jeffpiazza.derby.Timestamp; // Superclass for implementing a new timer device based on a RacingStateMa...
/* * 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.myweb.processor.model; import com.google.common.base.Joiner; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener; import java.util.*; import io.myweb.Endpoint; import io.myweb.http.Method; public class ParsedMethod { public static final Stri...
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Mi...
package uk.ac.cam.cl.ticking.ui.util; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.joda.time.DateTime; import org.joda.time.format.DateTimeForm...
package com.desenvolvimento.pos.entity; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.Date; import java.util.HashMap; import j...
/************************************************************************** * Hydra: multi-headed version control system * (originally for the alpha-Flow project) * ============================================== * Copyright (C) 2009-2012 by * - <NAME> (http://www.chr15t0ph.de) * - <NAME> *******************...
package com.delmesoft.agario.physics.entity; import com.delmesoft.agario.physics.World; import com.delmesoft.agario.utils.Utils; import com.delmesoft.agario.utils.Vec2; /* * Copyright (c) 2020, <NAME>.- <EMAIL> http://sergiosoriano.com * All rights reserved. * * Redistribution and use in source and binary forms,...
package productManage.action.qc; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import ...
// 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 in ...
package tools; import algo.MultiSequenceCalculator; import io.RichFastaReader; import io.graph.DeBruijnGraphUtils; import ru.ifmo.genetics.utils.tool.ExecutionFailedException; import ru.ifmo.genetics.utils.tool.Parameter; import ru.ifmo.genetics.utils.tool.Tool; import ru.ifmo.genetics.utils.tool.inputParameterBuilde...
package DGP.CJLU.Experiment8.Lab1; import java.util.*; /** * @author 16861 */ public class Graph<T> { /** * we use it to represent unlinked */ private static final int INFINITY = Integer.MAX_VALUE; /** * we use it to represent linked to itself */ private static final int TO_SELF ...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 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 subject...
package org.valkyrienskies.addon.control.renderer; import net.minecraft.client.renderer.BufferBuilder; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.client.renderer.v...
package com.oculussoftware.repos.bmr.statemachine; import com.oculussoftware.repos.bmr.*; import com.oculussoftware.api.repi.*; import com.oculussoftware.system.*; import com.oculussoftware.api.sysi.*; import com.oculussoftware.repos.util.*; import com.oculussoftware.rdb.*; import com.oculussoftware.api.busi.*; impor...
// Student ID: 18347500 // Name: <NAME> // Campus: Parramatta // Tutor Name: <NAME> // Class Day: Tuesday // Class Time: 9am import java.util.Scanner; import java.io.*; public class Question1_18347500 { public static Scanner kb = new Scanner(System.in); public static void main(String[] args) { // ass...
/* * Copyright (C) 2010 ECOSUR, <NAME> and <NAME> * * Licensed under the Academic Free License v. 3.0. * http://www.opensource.org/licenses/afl-3.0.php */ /** * A BeadString contains a small set of tokens, called a "string" in Gente, and * allows clients to perform some basic operations upon each string. For u...
package com.example.hai_da_shi_tang2019; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import java.util.ArrayList; import java.util.List; public class huangmen ext...
package cn.csdb.portal.controller; /** * Created by Administrator on 2017/4/19 0019. */ import cn.csdb.portal.model.ShowTypeInf; import cn.csdb.portal.model.TableInfo; import cn.csdb.portal.service.EditDataService; import cn.csdb.portal.service.ShowTypeInfService; import cn.csdb.portal.service.TableFieldComsService...
/* * 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 * dis...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
package com.quarkdata.data.util; import com.quarkdata.data.util.common.mapper.JsonMapper; import com.quarkdata.data.model.common.Messages; import com.quarkdata.data.model.common.ResultCode; import org.apache.commons.lang.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.NameValuePair; impo...
/* <NAME> * EN.605.202.87.SP18 Data Structures * April 23, 2018 * * class LabApplication03 * main() is in this file * * */ import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; public class Lab03 { /* command line arguments ...
/* * (C) Copyright 2010 Nuxeo SA (http://nuxeo.com/) and others. * * 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...
/* * Copyright 1999-2012 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * The MIT License * * Copyright (c) 2004-2016, Sun Microsystems, Inc., <NAME>, CloudBees, Inc. * * 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 wit...
import java.awt.*; import java.util.HashMap; import java.util.Map; import java.util.Vector; public class PotentialRectangle { Vector<Rectangle> rectangles = new Vector<Rectangle>(); int size; int ox; int oy; int rectid; int bwidth; int bheight; public PotentialRectangle(PotentialRectangle right) { ...
package ruina.monsters.uninvitedGuests.normal.clown; import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.megacrit.cardcrawl.actions.animations.TalkAction; import com.megacrit.cardcrawl.actions.animations.VFXAction; import com.megacrit.cardcrawl.actions.common.RollMoveAction; import com.megacrit.cardcr...
package Colas; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; public class EjerciciosColas { public void Banco() { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int proceso = 0; int capacid...
package cn.asyysy.asyysy.app.service.common.impl; import cn.asyysy.asyysy.app.common.token.TokenUtil; import cn.asyysy.asyysy.app.dto.UserLoginDTO; import cn.asyysy.asyysy.app.listener.SessionListener; import cn.asyysy.asyysy.app.model.core.User; import cn.asyysy.asyysy.app.service.common.LoginService; import cn.asyy...
/* * Copyright (c) JForum Team * 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 conditio...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("fz") @Implements("MilliTimer") public class MilliTimer extends Timer { @ObfuscatedNa...
package Resources; import project.model.MainScene; import project.model.util.Global; import java.awt.AlphaComposite; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Composite; import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.BufferedReader; imp...
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package baseokio; import java.io.UnsupportedEncodingException; final class Base64 { private static final byte[] MAP = new byte[]{65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 8...
/* * 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 org.vichtisproductions.focusting.presenter; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.text.format.Time; import android.view.Gravity; import android.widget.Toast; import com.google.firebase.analytics.FirebaseAnalytics; import org.vichtis...
/* * Copyright 2017 Saxon State and University Library Dresden (SLUB) * * 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 re...
package com.github.skjolber.dc.gtfs; import java.util.Map.Entry; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.locks.ReentrantLock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.github.skjolber.dc.GtfsFeed; import com.github.skjolber.dc.gtfs.mt.TripAdapter; import ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/*- * << * DBus * == * Copyright (C) 2016 - 2019 Bridata * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
package com.codepath.nytimessearch.activities; import android.content.Intent; import android.os.Bundle; import android.support.v4.view.MenuItemCompat; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.SearchView; import android.support.v7.widget.Toolbar; import android.util.Log; import ...
/************************************************************************* * * * EJBCA Community: The OpenSource Certificate Authority * * * * This software is...
package hashing; import java.util.*; /** * Created by gouthamvidyapradhan on 06/08/2019 Given a chemical formula (given as a string), return * the count of each atom. * * <p>An atomic element always starts with an uppercase character, then zero or more lowercase * letters, representing the name. * * <p>1 or mo...
/* * OpenRemote, the Home of the Digital Home. * Copyright 2008-2011, OpenRemote Inc. * * See the contributors.txt file in the distribution for a * full listing of individual contributors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Pub...
package org.innovateuk.ifs.invite.resource; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.innovateuk.ifs.invite.constant.InviteStatus; import java.time.ZonedDateTime; /** * A DTO which enables t...
/***************************************************************************** * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * Y...
package euler.p076; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import euler.p096.Pair; import euler.utils.SubSet; /** * It is possible to write five as a sum in exactly six different ways: * * <pre> * 4 + 1 * 3 + 2 * 3 + 1 + 1 * 2 + 2 + 1 * 2 + ...
package ca.bc.gov.hlth.ldapapi.service; import ca.bc.gov.hlth.ldapapi.model.User; import ca.bc.gov.hlth.ldapapi.model.UserCredentials; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import javax.naming....
/* * 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) 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/licenses/LICENSE-2.0 * * Unless required by app...
package com.torchlight.poiwiki; /* * This program and the accompanying materials * are made available under the terms of the License * which accompanies this distribution in the file LICENSE.txt */ import java.util.LinkedList; import org.apache.poi.xslf.usermodel.XSLFTextParagraph; import org.apache.poi.xslf.user...
/******************************************************************************* * Copyright (c) 2017, 2019 GK Software AG, and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at ...
package org.aries.ui.dialog; import java.io.Serializable; import javax.enterprise.inject.spi.BeanManager; import javax.faces.application.FacesMessage; import javax.faces.application.FacesMessage.Severity; import javax.faces.context.FacesContext; import javax.naming.Context; import javax.naming.InitialContext; import...
/* * Copyright 2013 Guidewire Software, Inc. */ package gw.lang.ir.builder.expression; import gw.lang.UnstableAPI; import gw.lang.ir.IJavaClassIRType; import gw.lang.ir.IRExpression; import gw.lang.ir.IRSymbol; import gw.lang.ir.IRType; import gw.lang.ir.IRTypeConstants; import gw.lang.ir.builder.IRArgConverter; im...
/* * Copyright (C) 2018 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 2000-2012 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.keke; import org.apache.commons.codec.binary.Hex; import com.keke.util.StreamUtil; import com.keke.util.des.DESProvider; import com.keke.util.ecc.ECCUtil; import com.keke.util.encrypt.BASE64Encoder; import com.keke.util.sha1.ShaUtil; import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; impo...
package org.orekit.propagation.analytical; import java.util.ArrayList; import java.util.List; import org.apache.commons.math3.geometry.euclidean.threed.Rotation; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.apache.commons.math3.util.FastMath; import org.junit.Assert; import org.junit...
/* * Copyright (c) JForum Team * 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 conditio...
package org.openprovenance.prov.service.translation; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.media.Content; import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.responses.ApiResponse; import ...
/* * Copyright (C) 2017-2019 Dremio 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 the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
package org.iii.ee100.animour.halfway.web; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.sql.Timestamp; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org....
package com.edgarli.toPdf; import com.itextpdf.text.*; import com.itextpdf.text.pdf.BaseFont; import com.itextpdf.text.pdf.PdfPCell; import com.itextpdf.text.pdf.PdfPTable; import com.itextpdf.text.pdf.PdfWriter; import jxl.Cell; import jxl.Range; import jxl.Sheet; import jxl.Workbook; import jxl.read.biff.BiffExcepti...