text
stringlengths
3.52k
24k
package org.deviceconnect.android.uiapp.activity; import android.content.Intent; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget...
/* * $ProjectName$ * $ProjectRevision$ * ----------------------------------------------------------- * $Id: AudioPacket.java,v 1.2 2003/03/16 01:11:12 jarnbjo Exp $ * ----------------------------------------------------------- * * $Author: jarnbjo $ * * Description: * * Copyright 2002-2003 <NAME> * --------...
package me.dev.legacy.features.modules.player; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.atomic.AtomicBoolean; import me.dev.legacy.event.events.ClientE...
package com.xiaoyi.ssm.controller; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; i...
/* * Copyright (C) 2016 IBB Management Project, <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 appl...
package se.lth.cs.srl.http; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.Map; import se.lth.cs.srl.corpus.Sentence; import se.lth.cs.srl.http.ParseRequestHandler.StringPair; import se.lth.cs.srl.http.whatswrongglue.WhatsWrongHelper; import se.lth.cs.srl.languages.Language; import...
package org.firstinspires.ftc.teamcode.vision; /** * Author: <NAME> * <p> * Made using keyboard shortcuts ONLY */ import android.util.Log; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.HardwareMap; impor...
import java.io.*; import java.util.HashMap; import java.util.LinkedList; import java.util.Random; import java.util.Scanner; import java.util.ArrayList; import java.lang.Math; /** * An implementation of Knapsack Counting Algorithms */ public class CountKnapsack { private static Random generator = new Random(Syste...
package CodeEditor; import static org.fxmisc.richtext.model.TwoDimensional.Bias.*; import java.lang.reflect.Array; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.ArrayList; import java.uti...
/***** BEGIN LICENSE BLOCK ***** * Version: EPL 1.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Eclipse Public * License Version 1.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.eclipse.org/legal/epl-...
/** * 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.github.technus.tectech.loader; import eu.usrv.yamcore.config.ConfigManager; import java.io.File; public class TecTechConfig extends ConfigManager { public TecTechConfig(File pConfigBaseDirectory, String pModCollectionDirectory, String pModID) { super(pConfigBaseDirectory, pModCollectionDirect...
package net.gini.android.vision; import android.content.Context; import android.content.Intent; import android.net.Uri; import net.gini.android.vision.analysis.AnalysisActivity; import net.gini.android.vision.document.DocumentFactory; import net.gini.android.vision.document.ImageMultiPageDocument; import net.gini.and...
/* * 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.entity; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.mojang.brigadier.StringReader; import com.mojang.brigadier.exceptions.CommandSyntaxException; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.UUID; import jav...
package com.tining.demonmarket.command; import com.google.common.base.Strings; import com.tining.demonmarket.common.ref.Vault; import com.tining.demonmarket.common.util.BukkitUtil; import com.tining.demonmarket.common.util.LangUtil; import com.tining.demonmarket.common.util.WorthUtil; import com.tining.demonmarket.eco...
package dk.kb.tvsubtitleocr.lib; import dk.kb.tvsubtitleocr.lib.common.FileAndPathUtilities; import dk.kb.tvsubtitleocr.lib.common.RuntimeProperties; import dk.kb.tvsubtitleocr.lib.common.Timer; import dk.kb.tvsubtitleocr.lib.common.Utility; import dk.kb.tvsubtitleocr.lib.frameextraction.FrameExtractionProcessor; impo...
package org.opensha.sha.imr.attenRelImpl.test; import static org.junit.Assert.assertEquals; import java.io.File; import java.util.Iterator; import java.util.List; import javax.swing.filechooser.FileSystemView; import org.apache.commons.configuration.Configuration; import org.apache.commons.configuration.Configurati...
/* * Copyright (c) 2017-present, Viro, 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 re...
package org.opensha.sha.cybershake.db; import java.io.IOException; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import org.opensha.commons.exceptions.ParameterException; import org.opensha.commons.param.Parameter; import org.opensha.sha.imr.AttenRelRef; import org.opensha.sha.i...
package net.buildtheearth.terraminusminus.util.http; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel...
/* * Copyright (c) 2021 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
package com.jackchan.gooview.widget; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; i...
package io.branch.referral; import android.content.Context; import androidx.test.ext.junit.runners.AndroidJUnit4; import android.util.Log; import org.json.JSONObject; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import java.lang.reflect.Field; import io.branch.referral.util.AdTyp...
package com.weilian.phonelive.widget; import android.content.Context; import android.database.DataSetObserver; import android.graphics.Rect; import android.util.AttributeSet; import android.view.GestureDetector; import android.view.GestureDetector.OnGestureListener; import android.view.GestureDetector.SimpleOnGestureL...
package com.github.mrglassdanny.mocalanguageserver.moca.cache; import java.util.ArrayList; import java.util.HashMap; import com.github.mrglassdanny.mocalanguageserver.moca.cache.mocasql.MocaSqlCache; import com.github.mrglassdanny.mocalanguageserver.moca.connection.MocaResults; import com.github.mrglassdanny.mocalan...
/** * 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 2000-2018 <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 ...
package sample.Controller.Data; import com.jfoenix.controls.*; import com.jfoenix.controls.datamodels.treetable.RecursiveTreeObject; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml...
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); 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 ...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
package me.paulf.fairylights.client.model.light; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.vertex.IVertexBuilder; import me.paulf.fairylights.server.feature.light.Light; import me.paulf.fairylights.server.feature.light.LightBehavior; import me.paulf.fairylights.util.AABBBuilder; import ne...
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; public class PkgHouseTicket ...
/* * The MIT License (MIT) * * Copyright (c) 2020 artipie.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
package com.JohnZero.lock.activity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.GestureDetector; import android.view.MotionEvent; import android.v...
package com.textalk; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import...
package com.ge.research.osate.verdict.dsl.type; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.function.Function; import java.util.stream.Collectors; import org.osate.aadl2.Aadl2Factory; import org.osate.aadl2.AadlBoolean; import org.osate.aad...
/* * Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) 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 re...
/* * Copyright (c) Hoddmimes Solution AB 2022. * * * 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 applicabl...
//package mySlam; import java.io.File; import java.io.FileNotFoundException; import java.util.Random; import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; import java.util.List; public class MenuDriven { public static ArrayList<Player> association = new ArrayList<Player>(); public...
package com.sintef.asam.impl; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.net.DatagramSocket; import java.net.HttpURLConnection; import java.net.Inet...
/* * Copyright (c) 2020, <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.apache.org...
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual 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 Licen...
/** * */ package com.github.aro_tech.interface_it.meta.arguments; import java.util.ArrayList; import java.util.List; import com.github.aro_tech.interface_it.util.ClassNameUtils; /** * Class which parses lines of source code to fill in data in a * LookupArgumentNameSource * * @author aro_tech * */ public cl...
/* * PROJECT: NyMmd * -------------------------------------------------------------------------------- * The MMD for Java is Java version MMD Motion player class library. * NyMmd is modules which removed the ARToolKit origin codes from ARTK_MMD, * and was ported to Java. * * This is based on the ARTK_MMD v0.1 ...
package uk.ac.shef.dcs.sti.core.algorithm.ji; import org.simmetrics.Metric; import org.simmetrics.StringMetric; import uk.ac.shef.dcs.kbsearch.KBSearchException; import uk.ac.shef.dcs.kbsearch.model.Attribute; import uk.ac.shef.dcs.kbsearch.KBSearch; import uk.ac.shef.dcs.kbsearch.model.Resource; import uk.ac.shef.dcs...
package io.objectbox.tree; import io.objectbox.AbstractObjectBoxTest; import io.objectbox.BoxStore; import io.objectbox.model.PropertyType; import org.junit.Before; import org.junit.Test; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicBoolean...
package okhttp3.internal; import java.io.Closeable; import java.io.IOException; import java.lang.reflect.Array; import java.net.IDN; import java.net.Socket; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Locale...
import java.net.*; import java.io.*; import java.util.ArrayList; import java.util.Scanner; public class ProxyServer { //TODO are these necessary???? Socket otherSocket; int connSockPort; InetAddress connSockAddress; //TODO I might not even need these classes at all // you can prob delete TestClient class too ...
package com.conveyal.r5.analyst; import com.conveyal.r5.common.GeometryUtils; import com.conveyal.r5.profile.StreetMode; import com.conveyal.r5.streets.IntHashGrid; import com.conveyal.r5.streets.LinkedPointSet; import com.conveyal.r5.streets.StreetLayer; import com.google.common.cache.CacheBuilder; import com.google....
/** * 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 * distribu...
/*- * #%L * Strange * %% * Copyright (C) 2020 <NAME> * %% * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditio...
package rustyeclipse.core; import java.util.ArrayList; import java.util.Arrays; import java.util.Optional; import java.util.function.Function; import org.eclipse.core.filesystem.EFS; import org.eclipse.core.filesystem.IFileStore; import org.eclipse.core.resources.ICommand; import org.eclipse.core.resources.IFile; imp...
/* * Copyright 2016 <NAME> (Sylvanaar) * * 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.capitalone.dashboard.exec.model; import org.springframework.data.mongodb.core.index.CompoundIndex; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; @Document(collection = "security_formulated_data") @CompoundIndex(def = "{'appId':1,...
package edu.wkd.towave.memorycleaner.mvp.presenters.impl.fragment; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.grap...
package io.agora.uiwidget.function.editface; import android.animation.AnimatorSet; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphic...
/* * Copyright (C) 2015 The Helenus 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 ap...
package nl.esciencecenter.ncradar; public class TwinScan extends JNIMethodsVol2Bird { private final RadarScanJava reflectivity; private final RadarScanJava radialVelocity; private final ParameterValues parameterValues; private int[] texture; private int[] cellImage; private int[] clutterImage;...
package Modul5; import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.TextArea; import javafx.scene.control.TextField; import javafx.scene.layout.HBox; import javafx.scene.layout.Pane; import javafx.scene.layout....
//Dstl (c) Crown Copyright 2017 package uk.gov.dstl.baleen.core.web.servlets; import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util....
/****************************************************************************** * NOTICE * * * * This software (or technical data) was produced for the U.S. Government * ...
/* * * 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"); y...
package org.openstreetmap.atlas.mutator; import java.util.Map; import org.junit.Assert; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.openstreetmap.atlas.generator.tools.caching.HadoopAtlasFileCache; import org.openstreetmap.atlas.generator.tools.spark.SparkJob; import org.openstre...
package org.zigmoi.ketchup.application.services; import com.google.gson.Gson; import com.jayway.jsonpath.JsonPath; import org.apache.commons.lang3.StringUtils; import org.json.JSONArray; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.zigmoi.ketchup.common.KubernetesUtil...
/* * 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 ...
/* Derby - Class org.apache.derbyTesting.functionTests.harness.jvm Copyright 1999, 2004 The Apache Software Foundation or its licensors, as applicable. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtai...
package juniebyte.javadungeons.gen; import com.google.common.collect.ImmutableList; import com.mojang.serialization.Codec; import juniebyte.javadungeons.content.CactiCanyonBlocks; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.util.math....
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.orchestrator.status; import com.google.common.util.concurrent.UncheckedTimeoutException; import com.yahoo.config.provision.ApplicationId; import com.yahoo.container.jaxrs.annot...
package novo.apps.doitall; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.List; import javax.net....
package com.google.zxing.client.android; import android.animation.TimeInterpolator; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.CornerPathEffect; import android.graphics.Pa...
/* * Copyright (c) 2017 Uber Technologies, Inc. (<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 requ...
package com.guohaoshiye.yueba.servlet; import com.guohaoshiye.yueba.dao.AdminopLogDAO; import com.guohaoshiye.yueba.dao.HallslidingdrawingDAO; import com.guohaoshiye.yueba.dao.ParameterDAO; import com.guohaoshiye.yueba.entity_olddemo.Admin; import com.guohaoshiye.yueba.entity_olddemo.AdminopLog; import com.guohaoshiye...
/* * @(#)AbstractExportOutputFormat.java * Copyright © 2021 The authors and contributors of JHotDraw. MIT License. */ package org.jhotdraw8.draw.io; import javafx.scene.Group; import javafx.scene.Node; import javafx.scene.shape.Shape; import javafx.scene.transform.Transform; import org.jhotdraw8.annotation.NonNull;...
package Code.graphics.morseCode; import java.awt.TextArea; import java.awt.TextField; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import edu.cmu.ri.createlab.terk.robot.finch.Finch; /** * @author <NAME> (<EMAIL>) * * Created using work by <NAME> as a starting point....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package tonegod.gui.core.layouts; import com.jme3.math.Vector2f; import com.jme3.math.Vector4f; import java.util.StringTokenizer; import tonegod.gui.core.Element; import tonegod.gui.core.Element.Borders; import tonegod....
/* ************************************************************************* * 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...
package backend.analysis; /* * Extremely Compiler Collection * Copyright (c) 2015-2020, <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/L...
package org.funz.api; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.funz.Project; import org.funz.doeplugin.DesignConstants; import org.funz.log.Alert; import org.funz.log.Log; import org.funz.parameter.Cache; import org.funz.parameter.Case; import org.funz...
/* * 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 net.odbogm; import com.orientechnologies.orient.core.config.OGlobalConfiguration; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.impls.orient.OrientGraph; import com.tinkerpop.blueprints.impls.orient.OrientVertex; import java.util.List; import java.util.concurrent.Callable; import j...
/* * Copyright 2018 The Closure Compiler 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...
/************************************************************************** * Copyright (c) 2001 by Acunia N.V. All rights reserved. * * * * This software is copyrighted by and is the sole property of Acunia N.V. * * and its licens...
package com.jstarcraft.ai.jsat.classifiers.linear.kernelized; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; import com.jstarcraft.ai.jsat.DataSet; import com.jstarcraft.ai.jsat.classifiers.BaseUpdateableClassifier; import com.jstarcraft.ai.jsat.classifiers.Catego...
import syntaxtree.*; import visitor.GJDepthFirst; public class STableVisitor extends GJDepthFirst<String, String>{ String workingClass; //indicate the current class String workingMethod; //indicate the current method, if we are in method! Boolean inMethodFlag; //flag to veri...
package game; import javax.swing.*; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; public class Multiplayer { private Field gameField; private int gamePort; private volatile boolean keepListening; private volatile boolean keepPlaying; priva...
/* Derby - Class org.apache.derbyTesting.functionTests.tests.upgradeTests.helpers.DisposableIndexStatistics 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 owne...
// Copyright (c) 2012 Aalto University // // 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...
/* * 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 ...
/** * * @author greg (at) myrobotlab.org * * This file is part of MyRobotLab (http://myrobotlab.org). * * MyRobotLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version...
/* * 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...
/* * The JASDB software and code is Copyright protected 2012 and owned by <NAME> * * All the code and design principals in the codebase are also Copyright 2012 * protected and owned Renze de Vries. Any unauthorized usage of the code or the * design and principals as in this code is prohibited. */ package com.o...
/*------------------------------------------------------------------------- * * Copyright (c) 2007-2014, PostgreSQL Global Development Group * * *------------------------------------------------------------------------- */ package org.postgresql.test.jdbc4; import java.sql.*; import java.util.UUID; import junit.frame...
/** * Copyright © 2020 <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 or agreed...
package io.snabble.sdk.encodedcodes; import java.util.ArrayList; import java.util.List; import io.snabble.sdk.Coupon; import io.snabble.sdk.CouponCode; import io.snabble.sdk.Product; import io.snabble.sdk.ShoppingCart; import io.snabble.sdk.Unit; import io.snabble.sdk.codes.ScannedCode; import io.snabble.sdk.codes.te...
/* * Copyright (C) 2010 JFrog 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 agreed to i...
package liquibase.ext.ora.splittable; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import liquibase.database.Database; import liquibase.database.core.OracleDatabase; import liquibase.database.jvm.Jdbc...
package com.homw.tool.api.keda; import java.util.Arrays; public class Protocol { public byte[] getCommand(String zltype, String[] txcs) { byte[] _obj = null; byte[] tempZl = null; String jy = ""; String txadd = String.format("%010d", Integer.parseInt(txcs[0])); // 10位 int line = Integer.parseInt(...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.aws.greengrass.deployment.templating; import com.amazon.aws.iot.greengrass.component.common.ComponentRecipe; import com.amazon.aws.iot.greengrass.component.common.TemplateParameter; import c...