text
stringlengths
9.3k
48.9k
package com.takisoft.mail.util.provider; import java.io.File; import java.util.HashMap; import java.util.Map; public final class DefaultMimeProvider implements MimeProvider { private static final String[][] EXT_TO_MIME = new String[][]{ {"323", "text/h323"}, {"3dm", "x-world/x-3dmf"}, {"3...
/* * Unless expressly otherwise stated, code from this project is licensed under the MIT license [https://opensource.org/licenses/MIT]. * * Copyright (c) <2018> <<NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and <NAME>> * * Permission is hereby granted, free of charge, to any person obtaini...
package a.a.k.f; import java.nio.*; import org.lwjgl.*; import org.lwjgl.util.vector.*; import org.lwjgl.util.glu.*; public final class a { private static a bds; private final FloatBuffer bdt; private IntBuffer bdu; private FloatBuffer bdv; private FloatBuffer bdw; private d bdx; private d...
package dk.eatmore.demo.fragments; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import androi...
package com.st.logger.ui; import java.nio.ByteBuffer; import java.text.DateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.Int...
/* * Copyright 2018 Synopsys, 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 i...
package comp1140.ass2; import javafx.application.Application; import javafx.event.Event; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.image...
package org.wit.fddl.datahandle; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.apache.commons.l...
/* * Copyright 2004-2010 Information & Software Engineering Group (188/1) * Institute of Software Technology and Interactive Systems * Vienna University of Technology, Austria * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
package com.reactnative.ivpusic.imagepicker; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawa...
package asem; import ast.E.*; import ast.I.*; import ast.T.*; import ast.Sentencia; import errors.GestionErrores; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; public class ComprobadorTipos { public boolean compruebaInstruccion(I instruccion){ switch...
package com.hbm.render.model; import org.lwjgl.opengl.GL11; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.entity.Entity; public class ModelB93 extends ModelBase { ModelRenderer Muzzle1; ModelRen...
package com.cyc.cycjava.cycl; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.Hashtables; import com.cyc.tool.subl.util.SubLFiles; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.Symbols; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.ConsesLow; import com.cyc.tool.subl.jrtl.translatedCode.sublisp.cdestructuring_b...
package play.server; import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.buffer.ChannelBufferInputStream; import org.jboss.netty.buffer.ChannelBuffers; import org.jboss.netty.channel.*; import org.jboss.netty.handler.code...
/* * Created on 15 fevr. 2004 */ package com.foc.gui.table; import java.util.*; import javax.swing.JTable; import javax.swing.SwingUtilities; import javax.swing.table.DefaultTableColumnModel; import javax.swing.table.TableColumn; import com.foc.*; import com.foc.admin.FocGroup; import com.foc.admin.G...
/* Class536 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ package com.jagex; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; public class Class536 { static final int anInt7207 = 5; static Class525 aClass525_7208; s...
package org.braincopy.esst; import android.Manifest; import android.accounts.AccountManager; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.pm.PackageManager; import android.location.Location; import android.net.Uri; import android.os.AsyncTas...
/* * Copyright (c) 2015 LingoChamp Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.example.jxls.dao; import com.example.jxls.model.TimesheetV3; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; /** *=DATA ...
package net.osmand.data.index; import java.io.BufferedInputStream; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStreamWriter; import java.sql.Connection; import java.sql....
/* * Copyright 2012 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...
/* * BSD 3-Clause License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * ...
package com.example.pdftest; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.PrintStream; import java.lang.reflect.Method; import java.util.SortedMap; import java.util.TreeMap; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Intent; impor...
/* * 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 * distri...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may n...
/* * Copyright 2015 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 ...
/* * Copyright 2017 The Board of Trustees of The Leland Stanford Junior University. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package edu.stanford.nlp.process; // Stanford English Tokenizer -- a deterministic, fast high-quality tokenizer // Copyright (c) 2002-2009 The Board of Trustees of // The Leland Stanford Junior University. All Rights Reserved. // // This program is free software; you can redistribute it and/or // modify it under the t...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 <NAME> * 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...
/* * 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 ...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.content.crosswalk; import java.io.IOException; import java.sql.SQLException; import...
/* * Copyright (c) 1998-2018 <NAME> and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.iosp.hdf5; import ucar.nc2.constants.DataFormatType; import ucar.ma2.*; import ucar.nc2.constants.CDM; import ucar.nc2.iosp.netcdf3.N3iosp; import ucar.nc2.time...
package com.ms.silverking.cloud.ring; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.logging.Level; import com.google.common.collect.ImmutableList; import com.ms.silverk...
/* * Copyright 2019-present Open Networking Foundation * * 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 appli...
/********************************************************************************** * Copyright (c) 2011, Monnet Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributi...
/* * Copyright (c) 2017 STMicroelectronics – All rights reserved * The STMicroelectronics corporate logo is a trademark of STMicroelectronics * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * - Redistributions...
/* * 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 ...
/* * * Vear 2017 * 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, publish, distribute, sublicense...
/* * 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 ...
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
package net.minecraft.entity.projectile; import java.util.List; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingB...
/* * Copyright (C) 2014 The TeamEos 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 applicable law ...
/* * 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 * dist...
package com.flowlist; import android.annotation.SuppressLint; import android.content.ClipData; import android.os.Build; import android.util.Log; import android.view.DragEvent; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.vi...
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri 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...
/* * 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 ...
/* * 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 ...
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * Copyright 2013 - 2021 <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.a...
/* * 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 ...
/* * 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 later version. * * This library is distributed in the hope that...
/* * Copyright (c) 2016, Gluon and/or its affiliates. * Copyright (c) 2012, 2014, Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * mo...
/* * Copyright (C) 2009 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 p005cm.aptoide.p006pt.promotions; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import java.util.Iterator; import java.util.List; import org.jacoco.agent.p025rt.internal_8ff85ea.Offline; import p005cm.aptoide.analytics.AnalyticsManager; import p005cm.aptoide.p006pt.ads.Mo...
/*************************************************************************** -= Dynax / Nakanihon Games =- driver by <NAME> (<EMAIL>) Note: if MAME_DEBUG is defined, pressing Z with: Q Shows Layer 0 W Shows Layer 1 E Shows Layer 2 Keys can be used together! There are three scrolling...
package sketch; import java.io.File; import java.io.PrintStream; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicInteger; import align2.ReadStats;...
/* * 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...
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
package com.ebstrada.formreturn.manager.ui.editor.panel; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.*; import javax.swing.BoxLayout; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JCo...
package face.camera.beans.ble; import android.app.Activity; import android.app.Service; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; im...
package org.firstinspires.ftc.team2844.Drivers; /* Copyright (c) 2017 FIRST. 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: * * Redistr...
package com.hsr.hemant.ppp; import android.app.Activity; import android.app.Dialog; import android.app.DownloadManager; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.drawable.C...
package org.jerkar.tool.builtins.javabuild; import java.io.File; import java.util.Date; import java.util.LinkedList; import java.util.List; import org.jerkar.api.depmanagement.JkComputedDependency; import org.jerkar.api.depmanagement.JkDependencies; import org.jerkar.api.depmanagement.JkFileSystemDependency;...
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003-2005 <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) ...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination *...
/* * 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 soccer.entity; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Entity; import javax.pers...
package water.parser; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.util.*; import water.fvec.ParseTime; import water.util.Log; public class CsvParser extends CustomParser { /* Constant to specify that separator is not specified. */ public static final byte AUTO_SEP = -1; public...
/* * 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...
/* Copyright (c) 2017 FIRST. 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 cop...
package com.codeka.justconduits.common.blocks; import com.codeka.justconduits.client.blocks.ConduitModelProps; import com.codeka.justconduits.common.ModBlockEntities; import com.codeka.justconduits.common.ModCapabilities; import com.codeka.justconduits.common.impl.ConduitHolder; import com.codeka.justconduits.common.i...
package com.androlua; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.app.Dialog; import android.app.DownloadManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.co...
package exm.stc.frontend; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import exm.stc.ast.SwiftAST; import exm.stc.ast.antlr.ExMParser; import exm.stc.common.Logging; import exm.stc.common.Settings; import exm.stc.common.exceptions.Dou...
/** * Java Modular Image Synthesis Toolkit (JMIST) * Copyright (C) 2018 <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...
/* * Copyright 2012-2021 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 applic...
/* * Copyright (C) 2010-2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
package archExtractor; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import org.codehaus.groovy.ast.ClassCodeVisitorSupport; import org.codehaus.groovy.ast....
/* Copyright (c) 2013-2020, <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 notice, this list of conditions and the fo...
/* * 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 org.hisp.dhis.validation; /* * Copyright (c) 2004-2015, University of Oslo * 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 cop...
package me.teajay.cheeky.monkeys.common.block; import java.util.Random; import org.jetbrains.annotations.Nullable; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.Fertilizable; import net.minecraft.block.HorizontalFacingBlock; impo...
package de.cwkuehl.jhh6.server.service.backup; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.nio.channels.FileChannel; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; impo...
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * 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 opti...
package com.socialthingy.plusf.spectrum.ui; import com.codahale.metrics.MetricRegistry; import com.socialthingy.plusf.snapshot.SnapshotLoader; import com.socialthingy.plusf.snapshot.SnapshotSaver; import com.socialthingy.plusf.sound.SoundSystem; import com.socialthingy.plusf.spectrum.*; import com.socialthingy.plusf.s...
package headfront.amps.services; import com.crankuptheamps.client.CommandId; import com.crankuptheamps.client.Message; import com.crankuptheamps.client.MessageHandler; import com.crankuptheamps.client.exception.AMPSException; import headfront.amps.AmpsConnection; import headfront.convertor.XmlConvertor; import headfro...
package org.opensha2.calc; import static java.lang.Math.exp; import static java.nio.charset.StandardCharsets.UTF_8; import static org.opensha2.calc.HazardExport.WRITE; import static org.opensha2.internal.TextUtils.NEWLINE; import org.opensha2.calc.CalcConfig.Deagg.Bins; import org.opensha2.calc.DeaggContributor.Json...
/* * Copyright 2018 Leibniz-Institut für Analytische Wissenschaften – ISAS – e.V.. * * 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 ...
/* * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * Copyright 2010-2020 <NAME>.V. (http://www.onehippo.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 hospelhornbg_genomeBuild; import java.awt.Point; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; imp...
/********************************************************************************* * Copyright 2015-present trivago GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
import java.util.Arrays; import java.util.ArrayList; import java.util.List; import java.util.Iterator; /** * Generates a random field of <b>convex</b> polygons. * * Coordinates come in the form of <code>int[]{x, y}</code>. * Each vertex of a shape has an array of x and y. Each shape has * an array of vertices (<c...
/* * Bytecode Analysis Framework * Copyright (C) 2005,2008 University of Maryland * * 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...
import javax.media.opengl.*; import javax.media.opengl.glu.*; import com.sun.opengl.util.*; import java.awt.event.*; import java.util.*; /** * HW05 of CS451 Computer Graphics: Draws 3d objects bouncing in a box and off * one another with a directional light and a movable point light. * * Controls: * Move L...
package com.jdots.ignou; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.media.MediaPlayer; import android.os.Bundle; import android.os.Vibrator; import android.preference.PreferenceManager; import android.view.View; import android.widget.ImageVie...
/** * Copyright 2005-2016 Red Hat, Inc. * * Red Hat 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.org/licenses/LICENSE-2.0 * * Unless r...
/** * Copyright (C) 2014 OpenTravel Alliance (<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 a...
package ua.com.fielden.platform.companion; import static java.lang.String.format; import static java.util.Optional.empty; import static java.util.Optional.of; import static java.util.stream.Collectors.toList; import static java.util.stream.Collectors.toSet; import static org.hibernate.LockOptions.UPGRADE; import stati...
package com.insanitybringer.padsim.renderer; import android.opengl.GLES30; import com.insanitybringer.padsim.game.Orb; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.util.ArrayList; public class RendererData { public static final int Nu...
package fr.minemobs.superpackutils.init; import fr.minemobs.superpackutils.Main; import net.minecraft.block.AbstractBlock; import net.minecraft.block.Blocks; import net.minecraft.block.FlowingFluidBlock; import net.minecraft.fluid.FlowingFluid; import net.minecraft.fluid.Fluid; import net.minecraft.item.BucketItem; im...
/* * Part of the CCNx Java Library. * * Copyright (C) 2008, 2009, 2011, 2012 Palo Alto Research Center, Inc. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version 2.1 * as published by the Free Software Foundation. * This l...
package won.shacl2java; import io.github.classgraph.*; import org.apache.jena.graph.Graph; import org.apache.jena.graph.Node; import org.apache.jena.graph.NodeFactory; import org.apache.jena.shacl.Shapes; import org.apache.jena.shacl.engine.ShaclPaths; import org.apache.jena.shacl.engine.ValidationContext; import org....