text
stringlengths
3.08k
15.2k
/** * 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...
/* * 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.goorwl.wandemo.mvp.fragment; import android.content.Context; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; import android.widget.TextView; import android.widget....
/* * 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.jiubang.goscreenlock.theme.cjpcardcool.view; import java.util.Random; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.RectF; import android.view.Gravity; import android.widget.FrameLayout; import android.widget.ImageView; ...
import java.util.concurrent.Future; import net.runelite.mapping.Export; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("x") public class class19 { @ObfuscatedName("v") Future field102; @ObfuscatedName("c") String field100; class19(Future var1) { thi...
package ca.uhn.fhir.rest.client.method; import static org.apache.commons.lang3.StringUtils.isNotBlank; /* * #%L * HAPI FHIR - Client Framework * %% * Copyright (C) 2014 - 2018 University Health Network * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in ...
// @formatter:off /* * Copyright 2012, <NAME> * * This file is part of 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. * * This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRA...
/* * Copyright (c) 1997, 2012, 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 ...
/* Xholon Runtime Framework - executes event-driven & dynamic applications * Copyright (C) 2017 <NAME> * * This library 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 version 2.1 * of the ...
/* * Copyright 2016 Danish Maritime Authority. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
package net.majorkernelpanic.example3.activity; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.Array...
package org.codelogger.utils; import static com.google.common.collect.Lists.newArrayList; import static java.util.Calendar.DAY_OF_MONTH; import static org.codelogger.utils.DateUtils.formatToStartOfDay; import com.google.common.collect.Lists; import org.codelogger.utils.beans.Range; import org.codelogger.utils.excepti...
// Part of Escala. // Written by <NAME> and <NAME>. package escala; import escala.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; import escala.graphics.*; import escala.structures.*; class PolyClick implements MouseListener { Game game; Logic logic; Rectangle cash = new Rectangle(0...
package tech.debs17gc.system.output.bytearray; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map.Entry; import java.util.TreeMap; import org.apache.flink.api.common.functions.RichFlatMapFunction; import org.apache.flink.api.java.tuple.Tuple5; import org.apache.flink.c...
package org.libucr.course; public class CourseQuery { private final Quarter quarter; private final short year; private final SubjectArea subjectArea; private final String courseTitle; private final String instructor; private final String courseNumber; private final short startHour; priv...
package com.cs5520.covid19; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; import android.widget.TextView; import androidx.appcompat.app.AppCompatActi...
package com.researchworx.genomics.gobjectingestion.shared; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; @XmlRootElement public class MsgEvent { //private String msgType; ...
/* * Copyright 2014-2019 Netflix, 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 agr...
/* * Copyright (c) 2008-2020, 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 net.trustyuri.rdf; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.nio.charset.Charset; import java.util.HashMap; import java.util.List; import java.util.Map; import java.ut...
//----------------------------------------------------------------------------- // Api_1_Fvw_Slctb_1.java //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- // Package Definition //-----------------------...
import java.util.List; import org.sql2o.*; import java.util.List; import java.util.ArrayList; public class Recipe { private int id; private String title; private String instructions; private int rating; public Recipe(String title, String instructions, int rating) { this.title = title; this.instructi...
package org.basex.index.path; import static org.basex.data.DataText.*; import java.io.*; import java.util.*; import org.basex.core.*; import org.basex.data.*; import org.basex.index.stats.*; import org.basex.io.in.DataInput; import org.basex.io.out.DataOutput; import org.basex.util.*; /** * This class represents a...
/* * Copyright 2020 the original authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.sunbird.learner.util; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.apache.commons.collections.MapUtils; import org.sunbird.cassandra.CassandraOperation; import org.sunbird.common.ElasticSearchHelper; import org.sunbird.common.ElasticSearchTcpImpl; import org.sunbir...
package org.sdnplatform.sync.internal.store; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map.Entry; import org.sdnplatform.sync.IClosableIterator; import org.sdnplatform.sync.IVersion; import org.sdnplatform.sync.Versioned; import org.sdnplatform.sync.error.Serializati...
/* ** ** Copyright (c) 2014 <NAME> ** ** 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, p...
/* * Copyright 2021 <NAME> <pagemodel.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 applicable law or...
package com.xrbpowered.hexpansio.ui.dlg; import java.awt.Color; import java.awt.Cursor; import java.util.ArrayList; import java.util.Comparator; import com.xrbpowered.hexpansio.Hexpansio; import com.xrbpowered.hexpansio.res.Res; import com.xrbpowered.hexpansio.ui.ClickButton; import com.xrbpowered.hexpansio.ui.modes....
package com.github.eostermueller.snail4j; import java.io.File; import java.net.MalformedURLException; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import com.github.eostermueller.snail4j.launcher.CannotFindSnail4jFactoryClass; import com.github.eostermueller.snail4j.launcher.Configur...
// VeriBlock Blockchain Project // Copyright 2017-2018 VeriBlock, Inc // Copyright 2018-2020 <NAME> // All rights reserved. // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. package veriblock.util; imp...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. * * Modified by McLeod Moores Software Limited. * * Copyright (C) 2015-Present McLeod Moores Software Limited. All rights reserved. */ package com.opengamma.financial.analytics.cur...
/* * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the * Free Software Foundation. * * This program is also distributed with...
/* * 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...
import java.util.*; public class MarkSheet { int x=0; int[] phy = new int[10]; int[] maths=new int[10]; int[] chem =new int[10]; int[] eng = new int[10]; int[] cs = new int[10]; int[] total =new int[10]; int[] rno =new int[10]; float[] percent = new float[10]; String[] stname = new Strin...
/* * Copyright 2016 Anyware Services * * 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.bingor.camerahelper; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.Manifest; import android.content.pm.PackageManager; import android.graphics.Matrix; import android.graphics.RectF; import android.graphics.SurfaceTexture; import android.os.Bundle; impo...
package cn.zbuter.btdownloadassistant; import android.Manifest; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.Canvas; import android.media.Image; import android.net.U...
/* * 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 ...
package org.jenkinsci.plugins.p4.changes; import com.perforce.p4java.core.IChangelistSummary; import com.perforce.p4java.core.IFix; import com.perforce.p4java.core.file.FileAction; import com.perforce.p4java.exception.P4JavaException; import com.perforce.p4java.impl.generic.core.Fix; import hudson.model.Run; import hu...
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2019, Oracle and/or its affiliates. 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...
package io.github.ihongs.serv.master; import io.github.ihongs.CoreConfig; import io.github.ihongs.HongsException; import io.github.ihongs.combat.CombatHelper; import io.github.ihongs.combat.anno.Combat; import io.github.ihongs.db.DB; import io.github.ihongs.db.Table; import io.github.ihongs.db.link.Loop; import io.git...
package com.programmerdan.minecraft.simpleadminhacks; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collections; import java.util.Lin...
package com.ecrm.Controller; import com.ecrm.DAO.Impl.*; import com.ecrm.DTO.DamagedRoomDTO; import com.ecrm.DTO.GroupReportsDTO; import com.ecrm.DTO.ReportResponseObject; import com.ecrm.DTO.RoomTypeDTO; import com.ecrm.Entity.*; import com.ecrm.Service.*; import com.ecrm.Utils.Enumerable; import com.ecrm.U...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.rpc; import com.yahoo.concurrent.ThreadFactoryFactory; import com.yahoo.jrt.Target; import com.yahoo.jrt.TargetWatcher; import java.util.logging.Level; import com...
package openblocks.client.renderer.tileentity; import net.minecraft.block.BlockState; 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; imp...
package com.debabrata.spotchess.console; import com.debabrata.spotchess.types.Position; import com.debabrata.spotchess.types.enums.Colour; import com.debabrata.spotchess.types.enums.PieceType; import java.util.ArrayList; import java.util.List; public class PositionPrinter { private static final String BUFFER_BE...
package io.digisic.bank.model.security; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import java...
package org.usfirst.lib6647.subsystem.supercomponents; import java.util.HashMap; import com.ctre.phoenix.motorcontrol.NeutralMode; import com.fasterxml.jackson.databind.JsonNode; import org.usfirst.lib6647.subsystem.PIDSuperSubsystem; import org.usfirst.lib6647.subsystem.SuperSubsystem; import org.usfirst.lib6647.su...
/* * This file is part of hephaestus-engine, licensed under the MIT license * * Copyright (c) 2021-2022 Unnamed Team * * 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 restricti...
// This file is part of OpenTSDB. // Copyright (C) 2010-2016 The OpenTSDB Authors. // // This program 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 version 2.1 of the License, or (at your //...
package org.chang; import org.apache.poi.xwpf.usermodel.*; import org.openxmlformats.schemas.officeDocument.x2006.math.CTOMath; import org.openxmlformats.schemas.officeDocument.x2006.math.CTOMathPara; import org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP; import org.openxmlformats.schemas.wordprocessingml....
/* * 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.autoscaling.storage; import org.e...
/* * SPDX-License-Identifier: MIT * * The MIT License (MIT) * * Copyright (c) 2015-2021 <Your name and contributors> * * 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 restric...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.icons; import com.intellij.diagnostic.StartUpMeasurer; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Pair; import com.in...
/* * Copyright 2014 Effektif 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 by applicable law or agreed to i...
package com.tramchester.deployment; import org.jetbrains.annotations.NotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import software.amazon.awscdk.core.*; import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.iam.IRole; import software.amazon.awscdk.services.iam...
/******************************************************************************* * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
/* * Copyright 1999-2018 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 required by a...
package cn.gateside.gattmg.util; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import jav...
// Copyright (c) <NAME> // // 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, s...
/** * @author <NAME> <<EMAIL>>. * @copyright (c) 2016 Umm Al-Qura University. 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 copyr...
package emissary.test.core; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.InputStream; import java.lang.management.ThreadInfo; import java.util.ArrayList; import java.util.List; import emissary.command.ServerCommand; import emissary.config.ConfigUtil; import emissary....
package com.bong.simplynews.fragment; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.RequiresApi; import androidx.fragment.app.Fragment; import an...
package by_software; import java.awt.Dimension; import java.awt.Graphics; import java.awt.image.BufferStrategy; import java.awt.image.BufferedImage; import java.util.ArrayList; import by_software.engine.input.Keyboard; import by_software.engine.physics.Physics; import by_software.engine.physics.Vec2d; import by_softw...
/* * Copyright (c) 2011-2013, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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.apach...
package net.minecraft.world.gen.feature; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; import net.minecraft.world.World; public class WorldGenBigMushroom extends WorldGenerator { private...
/* * Copyright (C) 2015-present, Ant Financial Services 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 a...
import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStreamReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; /** ...
/* * Copyright 2011 - 2013 NTB University of Applied Sciences in Technology * Buchs, Switzerland, http://www.ntb.ch/inf * * 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 * * h...
package metadata.etl.lhotse.extractor; import metadata.etl.lhotse.LzExecMessage; import metadata.etl.lhotse.LzTaskExecRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import wherehows.common.schemas.LineageRecord; import wherehows.common.utils.ProcessUtils; import wherehows.common.utils.XmlParser; imp...
/* * Contenido de microTwitterUI generado por $author$ */ package sources.api; import controllers.security.manager; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URL...
/* * Copyright (c) 2020, Mulesoft, LLC. All rights reserved. * Use of this source code is governed by a BSD 3-Clause License * license that can be found in the LICENSE.txt file. */ package com.mulesoft.tools.migration.library.mule.steps.email; import static com.mulesoft.tools.migration.step.util.TransportsUtils.ha...
/** * * Process Editor - Choreography Package * * (C) 2009, 2010 inubit AG * (C) 2014 the authors * */ package com.inubit.research.gui.plugins.choreography.interfaceGenerator; import com.inubit.research.gui.Workbench; import com.inubit.research.gui.plugins.choreography.AbstractChoreographyPlugin; import com.inu...
/* * Copyright 1999-2019 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 required by applicab...
/** * Copyright (C) 2013-2018 Centro de Investigación en Tecnoloxías da Información (CITIUS) (http://citius.usc.es) * * 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://w...
/** * 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 voldemort.store.readonly; import com.google.common.collect.Maps; import org.apache.log4j.Logger; import voldemort.store.PersistenceFailureException; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.util.Map; /** * This class helps manage stores that have multiple versi...
package com.lykke.box.options.algo; import com.lykke.box.options.daos.Price; import java.io.BufferedReader; import java.io.FileReader; import java.io.PrintWriter; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import j...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License");...
package com.example.a41448.huawu.view.activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.RadioButton; import android.widget.TextView; import com.baidu.trace.api....
/* ************************************************************************* * The contents of this file are subject to the Openbravo Public License * Version 1.1 (the "License"), being the Mozilla Public License * Version 1.1 with a permitted attribution clause; you may not use this * file except in...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.ociweb.pronghorn.ring; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Arrays; import org.junit.Test; public class RingBufferSingleTemplateASCIITest { final FieldReferenceOffsetManager FROM = FieldReferenceOffsetManager.RAW_BYTES; final int FRA...
package moe.gensoukyo.rpgmaths.client.attributes; import moe.gensoukyo.rpgmaths.RpgMathsConfig; import moe.gensoukyo.rpgmaths.RpgMathsMod; import moe.gensoukyo.rpgmaths.api.impl.stats.AttributeStatType; import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.player.PlayerEntity; import...
/* * Copyright 2014-2016 <NAME>, <NAME> * * 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 ag...
package org.openas2.app; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.openas2.OpenAS2Exception; import org.openas2.Session; import org.openas2.XMLSession; import org.openas2.lib.helper.ICryptoHelper; import javax.annotation.Nonnull; import javax.crypto.Cipher; import...
package com.alipay.sdk.pay2; import android.app.Activity; import android.content.Intent; import android.os.Message; import android.text.TextUtils; import android.util.Log; import com.alipay.sdk.app.EnvUtils; import com.alipay.sdk.app.PayTask; import com.alipay.sdk.pay2.util.OrderInfoUtil2_0; import java.util.Map; i...
package org.vaadin.example; import com.infraleap.animatecss.Animated; import com.vaadin.flow.component.AttachEvent; import com.vaadin.flow.component.UI; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.dependency.JavaScript; import com.vaadin.flow.component.orderedlayout.FlexLayout; imp...
package org.opensha.refFaultParamDb.vo; import java.util.ArrayList; import org.opensha.refFaultParamDb.data.TimeAPI; /** * <p>Title: CombinedEventsInfo.java </p> * <p>Description: Put the combined events info for a particular site into the database</p> * <p>Copyright: Copyright (c) 2002</p> * <p>Company: </p> *...
package io.forestall.reactiveprocess; import java.io.*; import java.util.Optional; import java.util.concurrent.*; import static java.lang.Long.max; public class ProcessProcessor<T> implements Flow.Processor<ProcessInput<T>, ProcessOutput<T>> { private final ProcessProcessorConfig config; //single thread ex...
package com.aliya.uimode.factory; import android.app.Activity; import android.content.Context; import android.graphics.drawable.Drawable; import android.text.TextUtils; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import com.aliya.uimo...
/* * 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 © 2015-2020 <NAME>.p.A. * * 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...
/* Copyright 2019 Telstra Open Source * * 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...
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
package org.basex.query.expr; import static org.basex.query.QueryError.*; import static org.basex.query.func.Function.*; import java.io.*; import org.basex.core.cmd.*; import org.basex.io.*; import org.basex.query.*; import org.junit.*; import org.junit.Test; /** * Mixed XQuery tests. * * @author BaseX Team 2005...
package com.heyongrui.base.widget.catloadingview; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.app.Dialog; import android.content.Context; import android.graphics.Color; import android.os.Handler; import android.text.TextUtils; import android.view.Gravity; import androi...