text
stringlengths
3.52k
24k
/* * Copyright 2013 Netherlands eScience Center * * 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) 2016 * <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 applicabl...
package com.example.mobserv.remoteapp; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.graphics.ImageFormat; import android.hardware.Camera; import android.hardware.Camera.Size; import android.os.AsyncTask; import android.os.PowerManage...
import java.util.LinkedList; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.Iterator; import java...
package me.axieum.mcmod.chatter.impl.discord.config.module; import me.shedaniel.autoconfig.ConfigData; import me.shedaniel.autoconfig.annotation.Config; import me.shedaniel.autoconfig.annotation.ConfigEntry.Category; import me.shedaniel.cloth.clothconfig.shadowed.blue.endless.jankson.Comment; import net.minecraft.text...
package org.recommender101.recommender.extensions.jfm.impl; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; /** * This class holds the input data for the recommendation process. It is used for training, test and validation data. * @author <NAME> (Por...
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
/******************************************************************************* * Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1...
/* * 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 ...
package de.tub.dima.babelfish.ir.pqp.objects.state.map; import com.oracle.truffle.api.CompilerDirectives; import de.tub.dima.babelfish.storage.UnsafeUtils; import de.tub.dima.babelfish.ir.pqp.nodes.state.map.HashMapFindEntryNode; import de.tub.dima.babelfish.ir.pqp.objects.state.BFStateVariable; /** * HashMap implem...
/* * GÉANT BSD Software License * * Copyright (c) 2017 - 2020, GÉANT * 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 ...
import java.util.ArrayList; import java.security.PublicKey; public class MaxFeeTxHandler { protected UTXOPool utxoPool; public MaxFeeTxHandler(UTXOPool utxoPool) { this.utxoPool = utxoPool; } public boolean isValidTx(Transaction tx, UTXOPool utxoPool) { ArrayList<UTXO> seenUTXOs = new ArrayList<>();...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.mage.test.cards.control; import mage.constants.PhaseStep; import mage.constants.Zone; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; /** * * @author LevelX2 */ public class GontiLordOfLuxuryEffectTest extends CardTestPlayerBase { /** * Returning to your hand ...
// ItogType.java /* * Copyright (c) 2008, Gennady & <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: * * o Redistributions of source code must retain the above copyright notice, ...
// Copyright 2000-2021 Nokia // // Licensed under the Apache License 2.0 // SPDX-License-Identifier: Apache-2.0 // package com.nextenso.proxylet.admin; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import org...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package com.example.lcom67.productdemoapp; import android.app.Activity; import android.app.ProgressDialog; import android.content.ContentResolver; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFacto...
package com.samisari.cezmi.component; import java.awt.Color; import java.awt.Component; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Point; import java.awt.Rectangle; import java.awt.geom.Line2D; import java.awt.geom.Point2D; import java.io.Serializable; import org.apache.log4j.Logger; import co...
package org.cloudgraph.common.hash; import static java.lang.Integer.rotateLeft; import java.io.FileInputStream; import java.io.IOException; /** * Produces 32-bit hash for hash table lookup. * * <pre> * lookup3.c, by <NAME>, May 2006, Public Domain. * * You can use this free for any purpose. It's...
package com.melib.Sock; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; i...
/* * Copyright (c) 2008, 2009, 2010, 2011 <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Th...
package it.qbteam.stalkerapp.model.service; import android.annotation.SuppressLint; import android.content.Context; import android.content.SharedPreferences; import it.qbteam.stalkerapp.HomePageActivity; import it.qbteam.stalkerapp.model.backend.dataBackend.Organization; import it.qbteam.stalkerapp.model.backend.data...
/* * Copyright 2018 - 2021 Andre601 * * 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, publ...
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class TicTacToe { static boolean endGame = false; static String player1, player2; static ArrayList<Integer> playerOnePos = new ArrayList<Integer>(); static ArrayList<Integer> playerTwoPos = new ArrayList<In...
package com.amshulman.insight.sql; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import lombok...
//https://programmer.ink/think/how-to-use-bitmap-to-store-pictures-into-database.html package com.example.qrun; import androidx.activity.result.ActivityResult; import androidx.activity.result.ActivityResultCallback; import androidx.activity.result.ActivityResultLauncher; import androidx.activity.result.contract.Activ...
/******************************************************************************* * Copyright (c) 2016 ATOS Spain S.A. * 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 *...
/* * Copyright 2013-2020 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* Soot - a J*va Optimization Framework * Copyright (C) 2011 <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 License, or (at your option) any la...
package ethanjones.cubes.core.id; import ethanjones.cubes.block.Block; import ethanjones.cubes.core.logging.Log; import ethanjones.cubes.core.mod.ModInstance; import ethanjones.cubes.core.mod.ModManager; import ethanjones.cubes.core.system.CubesException; import ethanjones.cubes.core.system.Debug; import ethanjones.cu...
package net.cassite.test; import io.vertx.core.Future; import net.cassite.f.*; import net.cassite.f.stream.EventEmitter; import net.cassite.f.stream.Publisher; import net.cassite.f.utils.MListOp; import org.junit.Test; import java.util.Collection; import java.util.Iterator; import java.util.function.BooleanSupplier; ...
package me.peanut.hydrogen.utils; import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.BlockPos; import net.minecraft.util.MathHelper; import net.minecraft.util.Vec3; import org.lwjgl.input.Mouse; import java.awt.*; /** * ...
package sonar.logistics.helpers; import java.util.List; import org.lwjgl.opengl.GL11; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.VertexBuffer; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.m...
package hudson.plugins.warnings; import hudson.Launcher; import hudson.matrix.MatrixAggregator; import hudson.matrix.MatrixBuild; import hudson.model.Action; import hudson.model.BuildListener; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.plugins.analysis.core.AnnotationsClassif...
/* * Artifactory is a binaries repository manager. * Copyright (C) 2012 JFrog Ltd. * * Artifactory 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 3 of the License, or * (at your o...
/* * Copyright (c) 2016, Providence Authors * * 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 Li...
/* * Copyright 2009 Harvard University Library * * This file is part of FITS (File Information Tool Set). * * FITS 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 3 of th...
package nl.utwente.viskell.ui; import javafx.animation.KeyFrame; import javafx.animation.ScaleTransition; import javafx.animation.Timeline; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.Event; import javafx.fxml.FXML; import javafx.geometry.Bounds; import javafx...
package ru.mail.polis.service.kovalkov; import com.google.common.util.concurrent.ThreadFactoryBuilder; import one.nio.http.HttpClient; import one.nio.http.HttpException; import one.nio.http.HttpServer; import one.nio.http.HttpServerConfig; import one.nio.http.HttpSession; import one.nio.http.Param; import one.nio.http...
package com.davidbuzatu.schedly.thread; import android.content.res.Resources; import android.telephony.SmsManager; import com.davidbuzatu.schedly.R; import com.davidbuzatu.schedly.model.ContextForStrings; import com.davidbuzatu.schedly.model.User; import com.fasterxml.jackson.databind.ObjectMapper; import com.google....
/* * 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.inaturalist.android; import android.app.NotificationManager; import android.content.Context; import android.graphics.Typeface; import android.text.Html; import android.util.Log; import android.widget.TextView; import com.google.android.gms.maps.model.BitmapDescriptor; import com.google.android.gms.maps.mo...
/* * Copyright 2012 KTH * * 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, ...
package com.stream.widget; import android.content.Context; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Parcelable; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.util.Log; import android.view.LayoutInflater; import android.view...
package ru.framework2d.graphics.draw.shadows; import java.util.ArrayList; import ru.framework2d.core.Component; import ru.framework2d.core.ComponentsHandler; import ru.framework2d.core.Engine; import ru.framework2d.core.EntityStorage; import ru.framework2d.data.Bool; import ru.framework2d.data.DataInterface;...
/* * Copyright (C) 2013 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...
/* * MIT License * * Copyright (c) 2017 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
package com.deepoove.swagger.diff.output; import static j2html.TagCreator.a; import static j2html.TagCreator.body; import static j2html.TagCreator.del; import static j2html.TagCreator.div; import static j2html.TagCreator.document; import static j2html.TagCreator.h1; import static j2html.TagCreator.h2; import static j2...
/** * Copyright © 2010-2012 Atilika Inc. All rights reserved. * * Atilika Inc. licenses this file to you 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 distributed with this work in the * LICENSE.txt file. Yo...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2018 Attribyte, 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 i...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * dis...
package cn.edu.sysu.workflow.activiti.scheduler.rule; import com.google.common.util.concurrent.AtomicDouble; import com.netflix.loadbalancer.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.Se...
/* * Copyright 2017-present Facebook, 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...
/* Copyright © 2014 <NAME> */ package com.obtuse.util; import com.obtuse.exceptions.HowDidWeGetHereError; import com.obtuse.util.gowing.EntityName; import com.obtuse.util.gowing.GowingEntityFactory; import com.obtuse.util.gowing.GowingPackable; import com.obtuse.util.gowing.p2a.GowingUnPackedEntityGroup; import com...
package com.netflix.dynomitemanager.dynomite; import com.google.inject.Inject; import com.google.inject.Singleton; import com.netflix.dynomitemanager.config.FloridaConfig; import com.netflix.dynomitemanager.storage.StorageProxy; import com.netflix.nfsidecar.config.CommonConfig; import com.netflix.nfsidecar.identity.II...
package com.qunar.im.ui.view.medias.play; import android.app.Activity; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Build; import android.os.SystemClock; import android.text.TextUtils; import com.qunar.im.base.common.BackgroundExecutor; import ...
import java.io.DataInputStream; import java.net.InetAddress; import java.net.Socket; import java.net.URL; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("fs") @Implements("TaskHandl...
package core.imagerenderer.util.bubble; import java.awt.*; import java.awt.image.BufferedImage; import java.util.List; import java.util.function.Supplier; import static java.lang.Math.*; public record BubblePacker(List<StringFrequency> frequencies, Supplier<Color> colorSupplier) { private static void splice(B...
package me.towdium.pinin; import it.unimi.dsi.fastutil.ints.IntOpenHashSet; import it.unimi.dsi.fastutil.ints.IntSet; import me.towdium.pinin.elements.Char; import me.towdium.pinin.elements.Pinyin; import me.towdium.pinin.searchers.CachedSearcher; import me.towdium.pinin.searchers.Searcher; import me.towdium.pinin.sea...
/* * LinShare is an open source filesharing software, part of the LinPKI software * suite, developed by Linagora. * * Copyright (C) 2015 LINAGORA * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * So...
/* Copyright (c) 2016 <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, ...
/* * Copyright 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/* * (c) Copyright 2018 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 ...
// SPDX-License-Identifier: Apache-2.0 // Copyright (c) 2020-2021 MariaDB Corporation Ab package org.mariadb.r2dbc.util; import io.netty.buffer.ByteBuf; import java.nio.charset.StandardCharsets; import java.time.format.DateTimeFormatter; import org.mariadb.r2dbc.client.Context; import org.mariadb.r2dbc.util.constants...
package theSlumbering.monsters; import basemod.abstracts.CustomMonster; import com.badlogic.gdx.math.MathUtils; import com.esotericsoftware.spine.AnimationState.TrackEntry; import com.megacrit.cardcrawl.actions.AbstractGameAction.AttackEffect; import com.megacrit.cardcrawl.actions.GameActionManager; import com.megacri...
package org.tt.indproj; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.tt.indproj.database_operators.DBBroker; import org.tt.indproj.utilities.DatabaseUpdater; /** * Collection of functions that parse command line arguments during * the start ...
// Fibonacci Team 14126 Autonomous Depot side code // March 2nd, 2019 - Compiled for Non-Arm robot // Setup to hit a middle gold mineral off // Commented 01.17.2019 by <NAME> package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opm...
package com.mateoi.money.model; import javafx.beans.binding.Bindings; import javafx.beans.binding.IntegerBinding; import javafx.beans.property.*; import javafx.collections.FXCollections; import javafx.collections.ListChangeListener; import javafx.collections.ObservableList; import javafx.collections.ObservableMap; imp...
/** * Copyright (c) 2009-2013, <NAME>, <EMAIL> * All rights reserved. * * This software is licensed to you under the Apache License, Version 2.0 * (the "License"); You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Redistribution and use in source and binary f...
package net.gotev.speechdemo; import android.Manifest; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.content.ContextCompat; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; i...
/* * Copyright 2019 java-diff-utils. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2015 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.vikingsen.compression; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.math.BigDecimal; impo...
package org.ellab.magman; import java.io.File; import java.nio.file.Paths; import java.time.DayOfWeek; import java.time.LocalDate; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.HashSet; import java.u...
/* * Copyright 2009-2012 the original author or 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 a...
package com.drajer.bsa.kar.model; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.hl7.fhir.r4.model.Bundle; import org.hl7.fhir.r4.model.DataRequirement; import org.hl7.fhir.r4.model.PlanDefinition.ActionRelat...
/* * The MIT License (MIT) * * Copyright (c) 2010 Technische Universitaet Berlin * * 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 t...
/* * Copyright (c) 2018-present Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/...
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
package issco.calendar.socket; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.nio.charset.Charset; import java.util.logging.Level; import java.util.logging.Logger; /** * Connection to a server via stream so...
package org.ar.raw_data_simple; import android.Manifest; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.view.TextureView; import android.view.View; import android.widget.ImageView; import android....
/* * 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 wde.cs.ext; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileO...
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
/* * Copyright 2010 Softgress - http://www.softgress.com/ * * 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...
package tuplemap.tuples; import tuplemap.base.Tuple; import tuplemap.values.Value0; import tuplemap.values.Value1; import tuplemap.values.Value2; import java.util.Collection; import java.util.Iterator; /** * Created by <NAME> on 9/28/16. * * Three-element tuple */ public final class Triplet<A,B,C> extends Tuple ...
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
/* * 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 com.lchad.customcalendar.widget; /** * Created by liuchad on 16/3/21. * Github: https://github.com/lchad */ import android.content.Context; import android.graphics.Paint; import android.util.AttributeSet; import com.lchad.customcalendar.R; import com.lchad.customcalendar.model.CalendarWeek; import com.lch...
/* Copyright 2021 <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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
package org.openforis.rmb; import org.openforis.rmb.monitor.Event; import org.openforis.rmb.monitor.MessageBrokerStartedEvent; import org.openforis.rmb.monitor.MessageBrokerStoppedEvent; import org.openforis.rmb.monitor.Monitor; import org.openforis.rmb.objectserialization.ObjectSerializationMessageSerializer; import...
/* This program can evaluate expressions that can include numbers, variables, parentheses, and the operators +, -, *, /, and ^ (where ^ indicates raising to a power), and standard functions sin, cos, tan, abs, sqrt, and log. A variable name must consist of letters and digits, beginning with a le...
package com.sixtyfour.petscii; import java.util.ArrayList; import java.util.List; /** * * @author EgonOlsen * */ public class Petscii { private List<int[]> chars = new ArrayList<>(); private List<Value[]> values = new ArrayList<>(); private float symbolBoost = 1; private final static int[] ALPHAS = { 1, 2...
/* * Balie - BAseLine Information Extraction * Copyright (C) 2004-2007 <NAME> * * This program 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 2 of the License, or * (at your opt...
/* * Copyright (C) 2017 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...
package com.revolsys.swing.tree.node.file; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.AccessDeniedException; import java.nio.file.DirectoryStream; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.fi...
/* * Copyright 2008 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 in w...
/* * Copyright (c) 2012, <NAME>, <NAME>, <NAME>, <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: * * Redistributions of source code must retain the above copyright * ...
/* * txt2xml: convert arbitrary text into XML. * Copyright (c) 2002, <NAME> * All rights reserved. * Email: <EMAIL> * * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of sou...