text
stringlengths
3.08k
15.2k
package com.braintreepayments.api; import android.annotation.SuppressLint; import android.net.Uri; import android.webkit.JavascriptInterface; import android.webkit.WebView; import androidx.annotation.VisibleForTesting; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import org.j...
/** * Copyright (C) 2015 <NAME>.V. (<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 applicable ...
package com.ssm.ser.util; import com.ssm.ser.cfg.Cfg; import com.ssm.ser.cfg.MailCfg; import org.apache.commons.mail.DefaultAuthenticator; import org.apache.commons.mail.EmailException; import org.apache.commons.mail.HtmlEmail; import javax.activation.DataHandler; import javax.activation.FileDataSource; import javax...
package org.rogmann.jsmud.source; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * Block of source-code consisting of header, inner blocks and a trailing block. */ public class SourceBlockList extends SourceBlock { /** display name of this block-list */ private final String na...
package info.u_team.u_team_core.data; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.stream.Collectors; import java.util.stream.Stream; import com.google.common.collect.Maps; import net.minecraft.core.Registry; import net...
/* * #%L * Detection Framework (Release) * %% * Copyright (C) 2015 - 2020 Lawrence Livermore National Laboratory (LLNL) * %% * 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 re...
package com.hbm.blocks.test; import com.hbm.entity.logic.EntityNukeExplosionMK4; import com.hbm.lib.RefStrings; import com.hbm.main.MainRegistry; import com.hbm.tileentity.bomb.TileEntityTestBombAdvanced; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block...
package ApartmentCreator.PrintClasses; import ApartmentCreator.Rooms.*; import java.util.ArrayList; import java.util.Iterator; public class PrintOutBuilder { // the class includes a set of printing methods for furnishing different rooms public static void printsWelcomeContent(){ System.out.println(...
package com.example.smartkkitch; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; i...
package com.apdplat.module.module.service.register; import com.apdplat.module.module.model.Command; import com.apdplat.module.module.model.Module; import com.apdplat.module.module.service.ModuleParser; import com.apdplat.module.module.service.ModuleService; import com.apdplat.module.security.service.SpringSecurityServ...
package zlotindaniel.memorize.android.usecase.edit; import android.app.*; import android.content.*; import android.view.*; import android.widget.*; import com.google.common.base.*; import java.util.*; import zlotindaniel.memorize.*; import zlotindaniel.memorize.android.*; import zlotindaniel.memorize.data.*; import...
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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 com.example.dp; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.util.Log; import android.view.Vi...
package mytown.entities; // TODO Implement PlotType import com.google.common.collect.ImmutableList; import mytown.api.interfaces.IHasFlags; import mytown.api.interfaces.IHasResidents; import mytown.entities.flag.Flag; import mytown.entities.flag.FlagType; import java.util.ArrayList; import java.util.Iterator; import...
package info.ata4.minecraft.minema.client.modules; import java.io.IOException; import java.util.Queue; import java.util.concurrent.CountDownLatch; import java.util.concurrent.FutureTask; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock...
/* * ============================================================================= * * Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.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 ob...
/* * Copyright (C) 2018-2020. Huawei Technologies Co., Ltd. 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 * * U...
/* * #%L * Alfresco Records Management Module * %% * Copyright (C) 2005 - 2021 Alfresco Software Limited * %% * This file is part of the Alfresco software. * - * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * p...
package com.example.filessharing; import android.content.Context; import android.net.nsd.NsdManager; import android.net.nsd.NsdServiceInfo; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Toast; import java.net.InetAddress...
/* * Copyright (c) 2014, <NAME> * 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 conditions and ...
/** * Copyright 2007-2008 University Of Southern California * * 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 b...
/////////////////////////////////////////////////////////////////////////////// //Copyright (C) 2003 <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...
/* * 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 key.secretkey.utils; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.FileFilterUtils; import org.eclipse.jgit.api.Git; import org.ecli...
package com.dante.customview.turntableview; import android.annotation.TargetApi; 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 an...
package xy.reflect.ui; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import xy.reflect.ui.control.swing.customizer.CustomizationToolsUI; import xy...
package br.edu.uepb.nutes.haniot.parse; import android.bluetooth.BluetoothGattCharacteristic; import org.json.JSONException; import org.json.JSONObject; import java.util.Calendar; import br.edu.uepb.nutes.haniot.utils.DateUtils; /** * Parse for blood glucose. * * @author <NAME> <<EMAIL>> * @version 1.0 * @cop...
package org.yanhuang.plugins.intellij.exportjar; import com.intellij.openapi.compiler.CompileContext; import com.intellij.openapi.compiler.CompileStatusNotification; import com.intellij.openapi.compiler.CompilerManager; import com.intellij.openapi.compiler.CompilerPaths; import com.intellij.openapi.module.Module; impo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.usfirst.frc330.wpilibj; import edu.wpi.first.wpilibj.PIDController; import edu.wpi.first.wpilibj.PIDOutput; import edu.wpi.first.wpilibj.PIDSource; import edu.wpi.first.wpilibj.Preferences; /* * $Log: Pref...
/* * This file is part of bibliothek, licensed under the MIT License. * * Copyright (c) 2019-2022 PaperMC * * 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, includi...
/* * Copyright © 2014-2019 <NAME>, 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...
/* * Copyright (c) 2012 ZES Inc. All rights reserved. * This software is the confidential and proprietary information of ZES Inc. * You shall not disclose such Confidential Information and shall use it * only in accordance with the terms of the license agreement you entered into * with ZES Inc. (http://www.zesinc....
package gwt.material.design.demo.client.ui.charts; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * 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 * *...
package org.vitrivr.cineast.core.extraction.decode.m3d; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.joml.Vector3f; import org.joml.Vector3i; import org.joml.Vector4i; import org.vitrivr.cineast.core.config.DecoderConfig; import org.vitrivr.cineast.core.config.CacheCon...
package ca.vanzyl.concord.plugins.secrets; import com.squareup.okhttp.OkHttpClient; import com.walmartlabs.concord.ApiClient; import com.walmartlabs.concord.ApiException; import com.walmartlabs.concord.ApiResponse; import com.walmartlabs.concord.client.*; import com.walmartlabs.concord.common.secret.BinaryDataSecret; ...
/******************************************************************************* * Copyright (c) 2013-2018 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompan...
/******************************************************************************* * Copyright (c) 2020 Microsoft Research. All rights reserved. * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright 2016 Quatico Solutions 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...
package com.w3engineers.unicef.telemesh.data.analytics.parseapi; import android.annotation.SuppressLint; import android.content.Context; import android.os.Build; import com.parse.Parse; import com.parse.ParseFile; import com.parse.ParseObject; import com.parse.ParseQuery; import com.parse.SaveCallback; import com.w3e...
/* * 3/30/17 - I was cutting and pasting examples to build my app. I started with an app that didn't inherited from JFrame * which the more common approach. It didn't seem to be a problem until I wanted to use GroupLayout which needs * getContentPane(). Thsi is available from JFrame and not JPanel. I switched to a...
package me.ci.Conquest.Misc; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; public class PathFinder{ private Node s; private Node e; private PathBuilder b; private Path p; private final LinkedList<Node> open = new LinkedList<Node>(); private final ArrayList<Node> ...
package net.cabezudo.sofia.core.creator; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import net.cabezudo.json.JSON; import net.cabezudo.json.JSONPair; import net.cabezudo.json.exceptions.JSONParseException; import net.cabezudo.json.values.JSONObject; i...
/* * Copyright (C) 2018 iFLYTEK CO.,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 applicable law or a...
/* * Copyright 2010 Alibaba Group Holding Limited. * 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 *...
package com.smartmanageragent.application; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.IBinder; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.ContextMenu...
package edu.wpi.first.shuffleboard.api.sources.recording; import edu.wpi.first.shuffleboard.api.DashboardMode; import edu.wpi.first.shuffleboard.api.data.DataType; import edu.wpi.first.shuffleboard.api.data.DataTypes; import edu.wpi.first.shuffleboard.api.properties.AtomicBooleanProperty; import edu.wpi.first.shuffleb...
package com.google.firebase.iid; import android.util.Pair; import androidx.collection.ArrayMap; import com.google.android.gms.tasks.Task; import java.util.Map; import java.util.concurrent.Executor; final class zzak { private final Executor zza; private final Map<Pair<String, String>, Task<InstanceId...
package com.supervise.dao.mysql.mapper; import com.supervise.config.mysql.base.BaseMapper; import com.supervise.config.mysql.base.QueryCondition; import com.supervise.dao.mysql.entity.BusinessDataEntity; import com.supervise.dao.mysql.provider.BusinessDataProvider; import org.apache.ibatis.annotations.Result; import o...
package com.sudoku.data.manager; import com.sudoku.comm.CommunicationManager; import com.sudoku.data.model.Grid; import com.sudoku.data.model.PlayedGrid; import com.sudoku.data.model.Tag; import com.sudoku.data.model.User; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import j...
package eu.xenit.contentcloud.thunx.encoding.json; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonGenerator...
/* * Copyright 2016 - 2016 <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...
/* * Copyright 2017 Crown Copyright * * 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 daro.lang.interpreter; import java.io.IOException; import java.net.JarURLConnection; import java.net.URL; import java.net.URLConnection; import java.net.URLDecoder; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import ...
package edu.mum.domain; import java.util.ArrayList; import java.sql.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; imp...
package me.markoutte.segmentation; import me.markoutte.algorithm.ColorHeuristics; import me.markoutte.algorithm.Heuristics; import me.markoutte.ds.Channel; import me.markoutte.ds.Color; import me.markoutte.ds.Hierarchy; import me.markoutte.ds.PseudoColorizeMethod; import me.markoutte.ds.impl.UfsHierarchy; import me.ma...
package com.shqiansha.easytransition.transitions; import android.animation.Animator; import android.animation.ArgbEvaluator; import android.animation.ObjectAnimator; import android.graphics.Matrix; import android.graphics.Rect; import android.transition.Transition; import android.transition.TransitionValues; import an...
package hudson.plugins.dimensionsscm; import hudson.FilePath; import hudson.model.TaskListener; import hudson.util.Secret; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; /** * Deliver files to Dimensions CM repository using dmcli command-line. */ public class...
package org.firstinspires.ftc.teamcode.Hardware; import com.qualcomm.robotcore.hardware.DcMotor; import org.firstinspires.ftc.teamcode.Utilities.Gyro; public class Drivetrain { /* * Drivetrain motors * - Specs: 320rpm, 537.6PPR * - Documentation: https://www.gobilda.com/content/spec_s...
/* * Copyright 2019 <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 wr...
package com.okq.pestcontrol.activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.TextInputLayout; import android.support.v7.widget.Toolbar; import android.text.TextUtils; import android.util.Log; import android.view.View; import andr...
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
package com.booknara.problem.bfs; import java.util.LinkedList; import java.util.Queue; /** * 286. Walls and Gates (Medium) * https://leetcode.com/problems/walls-and-gates/ */ public class WallsAndGates { // DFS and update higher values public void wallsAndGates(int[][] rooms) { if (rooms == null ||...
package com.gankcorner.MainPage.PageGank; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.Recycle...
/******************************************************************************* * 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 com.github.bordertech.webfriends.selenium.util.junit; import com.github.bordertech.webfriends.selenium.util.driver.ConfigUtilProperties; import com.github.bordertech.webfriends.selenium.util.driver.DriverCache; import com.github.bordertech.webfriends.selenium.util.driver.FriendDriver; import com.github.bo...
package com.tencent.qcloud.ugckit.module.record; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.os.Handler; import android.support.annotation.ColorInt; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.ut...
package com.sergiosanchezl.personalserver.websockets; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Collections; import java.util.Date; import java.util.HashSet; import java.util.Set; import java.util.concurrent...
/* * * Copyright (c) 2017-2020 <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...
package frc.robot.auton; import frc.robot.subsystems.swerve.chassis.SwerveChassis; import me.wobblyyyy.edt.DynamicArray; import me.wobblyyyy.pathfinder.api.Pathfinder; import me.wobblyyyy.pathfinder.config.SimpleConfig; import me.wobblyyyy.pathfinder.core.Followers; import me.wobblyyyy.pathfinder.geometry.HeadingPoint...
package rsb.script.randoms; import lombok.extern.slf4j.Slf4j; import net.runelite.api.GameState; import net.runelite.api.Point; import net.runelite.api.widgets.Widget; import net.runelite.api.widgets.WidgetInfo; import rsb.internal.input.Mouse; import rsb.methods.Magic; import rsb.script.Random; import rsb.gui.Account...
/* * 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 ...
/** * (c) 2014 Cisco and/or its affiliates. All rights reserved. * * This software is released under the Eclipse Public License. The details can be found in the file LICENSE. * Any dependent libraries supplied by third parties are provided under their own open source licenses as * described in their own LICENSE...
package com.zscat.mallplus.fenxiao.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.zscat.mallplus.annotation.SysLog; import com.zscat.mallplus.fenxiao.entity.FenxiaoRecords; import com.zscat.mallplus.fenxiao....
public class CardDriver2 { public static void main(){ //6 Arrays of 2 Cards Card[] Dealer = new Card[2]; for(int i = 0; i < 2; i++){ Dealer[i] = new Card(randomRank(), randomSuit(), i + 1); } Card[] Player1 = new Card[2]; for(int i = 0; i < 2; i++){ ...
/** * Copyright (C) 2015 <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 applicable law...
/* * 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 minetweaker.mc1710.game; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.LanguageRegi...
package com.google.android.gms.internal.ads; import com.google.android.gms.ads.internal.zzp; import com.google.android.gms.internal.ads.zzua; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */ final class zzdqc implements zzdpz { ...
//WikiPathways Scripts //Copyright 2015 <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 a...
package zgame.core.utils; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.net.URISyntaxException; import java.nio.ByteBuffer; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; im...
/** * The MIT License (MIT) * * Copyright (c) 2016 <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...
package deplambda.util; import in.sivareddy.util.SentenceKeys; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.google.common.base.Preconditions; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import edu.cornell.cs.nlp.spf.mr.lambda....
package com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.CodeCleaner.classes; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.CodeCleaner.classes.NamespaceAwarePass; import com.runtimeconverter.runtim...
/* * DBeaver - Universal Database Manager * Copyright (C) 2016 <NAME> (<EMAIL>) * Copyright (C) 2010-2022 DBeaver Corp 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 * * ...
/* * (c) Copyright 2021 Palantir Technologies 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 ...
package org.xbib.elasticsearch.action.websocket.pubsub; import org.elasticsearch.action.ActionListener; import org.elasticsearch.action.index.IndexResponse; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.action.search.SearchType; import org.elasticsearch.client.Client; import org.elast...
package org.elasticsearch.mapping; import java.beans.IntrospectionException; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.elasticsearch.annotation.ESObject; import org.elasticsearch.annotation.TypeName; ...
package entitys.report; public class RelatorioExcelMensalAcumulado { public RelatorioExcelMensalAcumulado() { super(); this.pesoAno1 = 0L; this.pesoAno2 = 0L; this.pesoAno3 = 0L; this.pesoVariacaoAno1 = 0L; this.pesoVariacaoAno2 = 0L; this.receitaAno1 = 0L; this.receitaAno2 = 0L; this.receitaA...
package io.nanovc.agentsim.simulations.memory; import io.nanovc.agentsim.*; import org.junit.jupiter.api.Test; import java.util.Objects; /** * This tests that agents that modify the same models spawn parallel solutions. * <p> * Tests the {@link MemorySimulationHandler}. */ public class MemorySimulationHandlerTes...
/******************************************************************************* * Copyright (c) 2005, 2010 BEA Systems, Inc. * 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, and is avai...
/* * Tencent is pleased to support the open source community by making XiaoweiSDK Demo Codes available. * * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may ob...
package org.f1x.store; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class Test_InMemoryMessageStore { private static final int STORE_SIZE = 1 << 6; private InMemoryMessageStore store; @Before public void init() { store = new InMemoryMessageStore (STORE_SI...
/* Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/J is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is appl...
/* * (C) Copyright 2020 Radix DLT Ltd * * 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, publi...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
package com.carl.printu9300p; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.posapi.PosApi; import andr...
package unc.cs.kewang.neuraldigitrecognizer.view; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.Rect; import android.su...
/* * Copyright (c) 2008-2016 Computer Network Information Center (CNIC), Chinese Academy of Sciences. * * This file is part of Duckling 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 L...
/******************************************************************************* * Copyright (c) 2016 Royal Bank of Scotland * * 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 * * htt...
/* * 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 ...