text
stringlengths
7.32k
45.1k
/* * Copyright 2004 Outerthought bvba and Schaubroeck nv * * 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.cloudera.training.kafka.datagen; import com.cloudera.datagen.impl.CoreRandomImpl; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.apache.commons.math3.random.RandomDataGenerator; public class CustomerSource { private final RandomDataGenerator random = CoreRa...
package eu.hoefel.unit.context; import java.util.Collections; import java.util.List; import java.util.NavigableMap; import java.util.TreeMap; import java.util.function.Supplier; import eu.hoefel.unit.UnitContext; /** * Physics contexts, i.e., contexts that involve all kind of branches of * physics. Note that some ...
/* * Copyright (C) 2011 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.netalign.netascutter; import com.netalign.netascutter.interfaces.*; import com.netalign.netascutter.utils.*; import com.netalign.sioc.*; import com.netalign.rdf.vocabulary.*; import java.util.*; import org.apache.log4j.*; import org.omg.PortableInterceptor.USER_EXCEPTION; /** * * @author yoavram */ 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 ...
package com.parse.starter.Game; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.MediaPlayer; import android.os.Bundle; import android.os.Handler; import android.os.Handler.Callback; import android.os.Message; imp...
/* * Dog - Addons * * Copyright (c) 2012-2014 <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 app...
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // https://github.com/Talend/data-prep/blob/master/LICENSE // // You should have received a copy of the agreement //...
package mondrian.xmla.context; import mondrian.xmla.RowsetDefinition; import mondrian.xmla.SaxWriter; import mondrian.xmla.XmlaRequestContext; import mondrian.xmla.XmlaUtil; import org.apache.log4j.Logger; import org.olap4j.*; import org.olap4j.metadata.*; import org.olap4j.metadata.Property.StandardCellProperty; impo...
package Nuskin; import java.math.BigDecimal; import java.math.RoundingMode; import java.time.LocalDate; import java.time.YearMonth; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHas...
package won.utils.im.port; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.io.StringWriter; import java.math.RoundingMode; import java.nio.charset.Charset; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import j...
package com.aixinwu.axw.activity; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bitmap; import android.os.Build; import android.os.Handler; import android.os.Messag...
import java.awt.BorderLayout; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel...
package net.minecraft.client.gui; import net.minecraft.client.*; import net.minecraft.util.*; import net.minecraft.client.renderer.vertex.*; import net.minecraft.client.renderer.*; import org.lwjgl.input.*; public abstract class GuiSlot { protected final Minecraft mc; protected int width; protected int he...
package edu.columbia.slime.service; import java.io.Closeable; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.Serializable; import java.util.Queue; import java.util.List; import ja...
package com.geekcattle.controller.console; import java.io.IOException; import java.util.ArrayList; import java.util.Base64; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpSession; import javax.validation.Valid; import org.apache.commons.lang3.StringUt...
package nl.utwente.sekhmet.api; import com.google.gson.*; import nl.utwente.sekhmet.auth.SupernaturalAuthUser; import nl.utwente.sekhmet.TheSecurityEnforcer; import nl.utwente.sekhmet.jpa.service.*; import nl.utwente.sekhmet.jpa.model.*; import nl.utwente.sekhmet.jpa.repositories.*; import nl.utwente.sekhmet.jpa.mode...
/******************************************************************************* * Copyright 2016 <NAME> | Dakror <<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...
/** * Copyright (c) 2020-present, Dash Core Group * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package org.dashj.platform.examples; import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.FutureCa...
package mmd; import java.awt.AWTException; import java.awt.AlphaComposite; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.FileDialog; import java.awt.Font; import java.awt.FontFormatException; import java.awt.GradientPaint; import java.awt.Gra...
/* * Copyright 2019 The Board of Trustees of The Leland Stanford Junior University. * * 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 ...
package org.iplantc.service.apps.model; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.apache.commons.collections.CollectionUtils; import org.iplantc.service.apps.exceptions.SoftwareException; i...
/* * 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 app...
package mcjty.rftoolsdim.dimensions; import mcjty.lib.varia.Logging; import mcjty.rftoolsdim.config.DimletRules; import mcjty.rftoolsdim.config.GeneralConfiguration; import mcjty.rftoolsdim.config.PowerConfiguration; import mcjty.rftoolsdim.dimensions.description.DimensionDescriptor; import mcjty.rftoolsdim.dimensions...
package com.wepay.waltz.test.smoketest; import com.wepay.riff.metrics.core.Gauge; import com.wepay.riff.metrics.core.MetricRegistry; import com.wepay.riff.metrics.jmx.JmxReporter; import com.wepay.riff.util.Logging; import com.wepay.riff.util.PortFinder; import com.wepay.waltz.client.WaltzClient; import com.wepay.walt...
/* * Copyright © "Open Digital Education", 2016 * * This program is published by "Open Digital Education". * You must indicate the name of the software and the company in any production /contribution * using the software and indicate on the home page of the software industry in question, * "powered by Open Digita...
import api.DirectedWeightedGraph; import api.NodeData; import javax.swing.*; import javax.swing.event.AncestorEvent; import javax.swing.event.AncestorListener; import java.awt.*; import java.awt.event.*; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Arrays; imp...
/* * Copyright 2015 Karlsruhe Institute of Technology. * * 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 2017-2020 MIP Holdings * * 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 o...
/* * 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...
package com.devculture.drivealert.connectivity.obd; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Timer; import java.util.TimerTask; import java.util.Vector; import javax.bluetooth.DeviceClass; import javax.bluetooth.DiscoveryAgent; import javax.bluetoo...
/* * This file is part of LanternServer, licensed under the MIT License (MIT). * * Copyright (c) LanternPowered <https://www.lanternpowered.org> * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a c...
/* * 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 ...
/** * Helios, OpenSource Monitoring * Brought to you by the Helios Development Group * * Copyright 2007, Helios Development Group and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softw...
import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import net.runelite.mapping.Export; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("am") pu...
/* * @(#)MonteCarloAlgorithmRefinement.java created 10/09/2006 Trento, Rosa's home * * Copyright (c) 1996-2006 <NAME> All Rights Reserved. * * This software is the research result of Luca Lutterotti and it is * provided as it is as confidential and proprietary information. * You shall not disclose such Confidential Inf...
/* * Copyright 2013 Hewlett-Packard Development Company, L.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...
package BPlusTree; import Predicate.Predicate; import java.io.Serial; import java.io.Serializable; import java.util.Arrays; import java.util.LinkedList; import java.util.Queue; import java.util.Vector; public class BPlusTree<K extends Comparable<K>, V> implements Serializable { @Serial private static final l...
package com.sscommu.pokeumcho; import androidx.activity.result.ActivityResult; import androidx.activity.result.ActivityResultCallback; import androidx.activity.result.ActivityResultLauncher; import androidx.activity.result.contract.ActivityResultContracts; import androidx.annotation.NonNull; import androidx.appcompat....
package org.biopax.paxtools.normalizer; import org.biopax.paxtools.io.SimpleIOHandler; import org.biopax.paxtools.model.BioPAXElement; import org.biopax.paxtools.model.BioPAXLevel; import org.biopax.paxtools.model.Model; import org.biopax.paxtools.model.level3.*; import org.junit.Test; //import java.io.ByteArrayOutp...
/** * 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 m...
package org.railwaystations.api.resources; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import org.apache.commons.io.IOUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; ...
package com.knight.arch.model; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; /** * @author andyiac * @date 15-9-16 * @web http://blog.andyiac.com * @github https://github.com/andyiac */ public class Repository implements Parcelable { private int ...
import java.io.*; import java.util.*; import javax.swing.*; import java.sql.*; /* * 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. */ /** * * @author Laguardia */ public class voting ex...
package net.felixgruber.wearcam; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.net.Uri;...
package org.atlasapi.content.v2.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.metabroadcast.common.stream.MoreCollectors; import org.atlasapi.content.v2.model.udt.Alias; import org.atlasap...
package com.mercatis.jmsbrowser.ui.model; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Ser...
package org.spigotmc; import com.google.common.base.Throwables; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java....
package com.spike.bot.activity.Camera; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.content.Context; import android.graphics.Canvas; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.Me...
package fr.insee.stamina.national; import fr.insee.stamina.utils.Names; import fr.insee.stamina.utils.XKOS; import org.apache.jena.rdf.model.*; import org.apache.jena.riot.RDFDataMgr; import org.apache.jena.riot.RDFFormat; import org.apache.jena.sparql.vocabulary.FOAF; import org.apache.jena.vocabulary.DC; import org....
package jhw.ptr; import android.content.Context; import android.support.v4.view.MotionEventCompat; import android.support.v4.view.ViewCompat; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.Vie...
/* 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 use ...
package com.thinkgem.jeesite.common.utils; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.dysmsapi.model.v20170525.QuerySendDetailsRequest; import...
package elevatron.ui; import elevatron.interfaces.*; import elevatron.simulator.ButtonSimulator; import elevatron.simulator.ClockSimulator; import elevatron.simulator.ElevatorSystemSimulator; import elevatron.simulator.HumanSimulator; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.ap...
package com.cloudTop.starshare.ui.main.fragment; import android.os.Bundle; import android.os.CountDownTimer; import android.os.Handler; import android.os.Message; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.view.View; import android.widget.FrameLayou...
package com.garyhu.radardemo.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.DashPathEffect; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Point; import android.g...
package com.westkit.htmltextview; import android.content.res.ColorStateList; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Typeface; import android.graphics.drawable.ColorDrawable; import android.graphics.draw...
package com.example.achuan.mytank3_0; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.media.AudioManager; import android.me...
package fusion.oapt.algorithm.partitioner.SeeCOnt; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Linke...
package me.suanmiao.ptrlistview.header.paddingHeader; import android.animation.Animator; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.util.AttributeSet; ...
package se.mickelus.tetra.items.modular.impl.crossbow; import com.google.common.collect.*; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.entity.LivingEntity; i...
/*************************************************************************************************** Class Name: Staff ***************************************************************************************************/ package music_sheet_components; import javax.sound.midi.MetaMessage; import javax.sound.midi.MidiE...
import java.awt.Dimension; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Random; import javax.swing.JTextArea; /** * @author Ubaby The MIT License (MIT) Copyright (c) * * <2016><<NAME>> * * ...
/******************************************************************************* * Copyright 2014 <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/...
package paxi.maokitty.source.thrift; import paxi.maokitty.source.annotation.*; import paxi.maokitty.source.util.Code; /** * Created by maokitty on 2019/8/15. */ @Background( target = "了解thrift在client和server请求过程中,TBinaryProtocol的处理方式", conclusion = "client会按照字节的写入规则严格的写入和读取。底层通信实际上就是socket,服务端接收到请求后,...
package com.zy.coolbicycle.ui.activity.user; import android.Manifest; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactor...
package com.dgrid.transport; import java.security.SecureRandom; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Set; import java.util.Map.Entry; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFac...
package com.hyq.hm.hyperlandmark; import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.Color; import android.graphics.PointF; import android.graphics.Rect; import android.hardware.Camera; import android.hardware.Sensor; import android.hard...
/* * Copyright (c) Jan, 2016. * <NAME> * This code is copyrighted and cannot be redistributed, modified, or sold as it is without the * authority of owner. */ package com.bytezap.wobble.alarm.media; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android...
/* * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. */ package com.huawei.arengine.demos.java.world.rendering; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.opengl.GLES20; import android.opengl.GLUtils; import andro...
package com.libRG; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.TimeInterpolator; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphi...
package at.petrak.hexcasting.api.block.circle; import at.petrak.hexcasting.api.block.HexBlockEntity; import at.petrak.hexcasting.api.misc.FrozenColorizer; import at.petrak.hexcasting.api.misc.ManaConstants; import at.petrak.hexcasting.api.mod.HexConfig; import at.petrak.hexcasting.api.spell.ParticleSpray; import at.pe...
/* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may ...
import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.*; import java.util.Random; import java.util.logging.Logger; import static java.lang.Integ...
/******************************************************************************* * Copyright (c) 2011, 2012, 2013 Red Hat, Inc. * All rights reserved. * This program is made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse....
package com.cafe24.kye1898.library.Search.NearLibSearch; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Color; import android.location.Criteria; import android.location.Location; import android.location...
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.zsdj.entity; import java.util.Date; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.Length; import com.fasterxml.jackson.a...
package gov.nist.drmf.interpreter.evaluation.core.numeric; import gov.nist.drmf.interpreter.common.TranslationInformation; import gov.nist.drmf.interpreter.common.cas.Constraints; import gov.nist.drmf.interpreter.common.eval.*; import gov.nist.drmf.interpreter.common.exceptions.ComputerAlgebraSystemEngineException; im...
package com.pachain.android.activity.viewresults; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.AdapterView; import android.widget.LinearLayout; import android.widget.ListView; import android.widg...
/* * Copyright (c) 2014, <NAME> <<EMAIL>> * 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, t...
package io.automatiko.engine.workflow.process.core.node; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.r...
package com.oldwei.hikdev.service.impl; import cn.hutool.core.codec.Base64; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.oldwei.hikdev.constant.HikConstant; import com.oldwei.hikdev.constant.DataCachePrefixConstant; import com.oldwei.hikdev...
/* * Copyright 2017 Department of Biomedical Informatics, University of Utah * <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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 *...
/** * Baidu.com,Inc. * Copyright (c) 2000-2014 All Rights Reserved. */ package com.baidu.hsb.mysql.bio.executor; import static com.baidu.hsb.route.RouteResultsetNode.DEFAULT_REPLICA_INDEX; import java.io.IOException; import java.nio.ByteBuffer; import java.util.HashMap; import java.util.LinkedList; import java.uti...
/* * 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 (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * 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 2014 The gRPC 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 agree...
/** * 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 net.minecraft.client.renderer; import com.mojang.blaze3d.vertex.IVertexBuilder; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.BreakableBlock; import net.minecraft.block.LeavesBlock; import net.minecraft.client.Minecraft; i...
/* Derby - Class org.apache.derby.iapi.services.context.ContextService 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 ...
///*|----------------------------------------------------------------------------- // *| This source code is provided under the Apache 2.0 license -- // *| and is provided AS IS with no warranty or guarantee of fit for purpose. -- // *| See the project's LICENSE.md for details. ...
package nl.jqno.equalsverifier.integration.extended_contract; import nl.jqno.equalsverifier.EqualsVerifier; import nl.jqno.equalsverifier.testhelpers.ExpectedExceptionTestBase; import nl.jqno.equalsverifier.testhelpers.types.TypeHelper; import org.junit.Test; import java.io.File; import java.net.Inet4Address; import ...
/* * Copyright 2019 Google 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 ...
package org.twinone.util; import android.app.Activity; import android.app.ActivityManager; import android.app.AlertDialog; import android.app.Application; import android.content.ContentResolver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.conten...
/******************************************************************************* "FreePastry" Peer-to-Peer Application Development Substrate Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute for Software Systems. All rights reserved. Redistribution and use in source and binary forms, ...
package com.udacity.vehicles.api; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.JsonNodeType; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import c...
package org.firstinspires.ftc.teamcode.navx_ftc.ftc; /** * Created by skantare on 9/14/16. */ /** * The navXPIDController implements a timestamped PID controller (designed to deal * with the jitter which is typically present in a networked control system scenario). * <p> * The navXPIDController can use any of th...
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwj...