text
stringlengths
3.52k
24k
package ps.android.com.traffictracker.fragments; import android.content.Intent; import android.os.Bundle; import android.support.annotation.IntDef; import android.support.v4.app.Fragment; import android.text.InputType; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import ...
/* * 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 org.xtx.ut4converter.t3d; import org.xtx.ut4converter.MapConverter; import org.xtx.ut4converter.export.UTPackageExtrac...
/** * 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 class is responsible for displaying square cells to the user */ package voogasalad.view.authoringEnvironment.views.grid; import javafx.geometry.Dimension2D; import javafx.geometry.Point2D; import javafx.scene.Group; import javafx.scene.Node; import javafx.scene.control.*; import javafx.scene.image.ImageVi...
package com.eaw1805.www.shared.stores.map; import com.eaw1805.data.constants.ArmyConstants; import com.eaw1805.data.dto.web.army.ArmyDTO; import com.eaw1805.data.dto.web.army.CommanderDTO; import com.eaw1805.data.dto.web.army.SpyDTO; import com.eaw1805.data.dto.web.economy.BaggageTrainDTO; import com.eaw1805.data.dto....
/* * Copyright 2018 Akashic 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 applicable law or agr...
package org.quickbundle.tools.helper; /* * 系统名称:Quickbundle.org --> ranminXmlGenerateCode * * 文件名称: ranminXmlGenerateCode.test --> TestScroll.java * * 功能描述: * * 版本历史: 2005-12-4 2:46:28 创建1.0.0版 (baixiaoyong) * */ import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileWriter; import ...
/* * This file is part of ReplayStudio, licensed under the MIT License (MIT). * * Copyright (c) 2016 johni0702 <https://github.com/johni0702> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
package com.rikiwang.bluetooth; import android.Manifest; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.PackageMa...
package com.ridegroup.yop.bean.order; /** * "order_id":6816269519521542779, "type":7, "city":"北京", "create_time":1587036418, "car_type_id":2, "car_type":"舒适", "expect_start_time":1587072416, "time_length":2280, "passenger_name":"test", "passenger_phone":"16811116667", "total_amount":0, "start_position":"颐和...
/* * Copyright 2017 crea-doo.at * * 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 comp9321.assignment2.bookstore.dao; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; ...
package berlin.yuna.tinkerforgesensor.model.sensor; import berlin.yuna.tinkerforgesensor.model.exception.NetworkConnectionException; import berlin.yuna.tinkerforgesensor.model.type.ValueType; import com.tinkerforge.BrickletDualButtonV2; import com.tinkerforge.Device; import com.tinkerforge.TinkerforgeException; impor...
package com.example.sergio.sistz; import android.app.AlertDialog; import android.content.DialogInterface; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.os.Environment; import android.support.v4.app.Fragment; import android.view.LayoutInflater; i...
/* * MIT License * * Copyright (c) 2017 KSat e.V. and AerospaceResearch * * 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 t...
/* * 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...
/** * */ package org.irods.jargon.rest.commands.dataobject; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.util.List; import java.util.Map; import javax.inje...
package org.tdar.utils; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lan...
/* * The MIT License (MIT) * * Copyright (c) 2015 Essence <http://essencemc.org> * Copyright (c) 2015 contributors * * 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 restrictio...
/* * TransformationHelmert.java * * Created on March 23, 2005, 12:10 PM */ package ika.transformation; import java.text.*; import java.io.*; import ika.utils.*; /** * Planar (2D) Helmert Transformation with four parameters: * translation in horizontal and vertical direction, rotation * and scale factor. * *...
// (c) 2003 <NAME>. All rights reserved. // package com.holub.ui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.Dialog; import java.awt.Font; import java.awt.Frame; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListen...
package TankWarGame; import java.awt.*; import java.awt.event.KeyEvent; import java.util.ArrayList; /** * 遊戲主戰場之物件 * * @author <NAME> * @version 1.8 */ class WarField extends GameObject { /** * 玩家的坦克 */ PlayerTank playerTank; /** * 控制各項目之執行緒 */ Thread missilesControlThread; Thread tankHitWallThread...
/* Copyright 2014-2016 Intel 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 to in writing, s...
package com.cloudlbs.core.utils; import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; impor...
/** * */ package le2lejosev3.robots.robodozer; import java.util.logging.Logger; import le2lejosev3.logging.Setup; import le2lejosev3.pblocks.Display; import le2lejosev3.pblocks.InfraredSensor; import le2lejosev3.pblocks.MediumMotor; import le2lejosev3.pblocks.MoveTank; import le2lejosev3.pblocks.Sound;...
package org.github.fabiolimace.small.pfm.math; import java.math.BigDecimal; import java.math.MathContext; import java.math.RoundingMode; final public class Number { final private BigDecimal value; public static final Number ZERO = getInstance(0.0); public static final Number ONE = getInstance(1.0); public stati...
/* * Copyright (C) 2017 <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 agre...
/* This file is part of Storefront for Bukkit, licensed under the MIT License (MIT). * * Copyright (c) JCThePants (www.jcwhatever.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 ...
/* * 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 lab1_camargo_marquez; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Lin...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Project Oxford: http://ProjectOxford.ai // // ProjectOxford SDK Github: // https://github.com/Microsoft/ProjectOxfordSDK-Windows // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission...
/* * This software is distributed under following license based on modified BSD * style license. * ---------------------------------------------------------------------- * * Copyright 2003 The Nimbus Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without *...
/********************************************************************************************* This resource was developed by the Centro Nacional de Investigaciones Oncológicas (CNIO) in the framework of the "Plan de Impulso de las Tecnologías del Lenguaje” driven by the Secretaría de Estado para la Sociedad de la...
// string and stream utility functions package org.stjude.compbio.rnapeg; import java.util.*; import java.io.*; public class Str { private static final String valid_number_characters = "0123456789"; // hack for parseInt, MUST BE SORTED public static String basename (String s) { int len = s.length(); ...
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * The MIT License (MIT) * * Copyright (c) Open Application Platform Authors * * 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 r...
package jrds.probe.jdbc; import java.net.MalformedURLException; import java.net.URL; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.sql.Types; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java...
/* * Copyright (c) 2004 <NAME>. All rights reserved. * This code is from the book Java Examples in a Nutshell, 3nd Edition. * It is provided AS-IS, WITHOUT ANY WARRANTY either expressed or implied. * You may study, use, and modify it for any non-commercial purpose, * including teaching and use in open-source proj...
/* $This file is distributed under the terms of the license in LICENSE$ */ package edu.cornell.mannlib.vitro.webapp.beans; import java.sql.Timestamp; import java.text.Collator; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import ...
package org.geomapapp.grid; import java.awt.Rectangle; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.util.Vector; import javax.swing.JTextArea; import org.geomapapp.io.FileUtility; import haxby.proj.IdentityProjection; public class DecimateXBG { JTextArea area; ImportGri...
package com.protect.guide; import android.content.ActivityNotFoundException; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.Aler...
package com.airsltd.aga.ranking.core.data; import static org.junit.Assert.*; import static org.mockito.BDDMockito.*; import java.sql.Date; import java.util.Arrays; import java.util.GregorianCalendar; import java.util.HashSet; import java.util.Map; import org.junit.After; import org.junit.AfterClass; imp...
/* * 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")...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
/* * Copyright 2012-2015 Broad Institute, Inc. * * 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,...
package edu.washington.nsre.extraction; import java.io.FileReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Properties; import java.util.Set; import edu.washington.nsre...
/* * 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 org.thespheres.betula.niedersachsen.zeugnis; import java.beans.PropertyVetoException; import java.beans.VetoableChangeListener...
/* * Copyright (C) 2013 salesforce.com, 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 ...
/* * Copyright (C) 2016 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-2019, org.smartboot. All rights reserved. * project name: smart-socket * file name: SslService.java * Date: 2019-12-31 * Author: sandao (<EMAIL>) * ***************************************************************...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package co.ke.nerdonia.ndzf2modules; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; impor...
/* * Copyright 2017 Red Hat, Inc. and/or 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 a...
package com.example.chenty.demoyolo; import android.Manifest; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.BitmapFactory; import android.os.Build; import android....
package com.alekseyld.collegetimetable.job; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.TaskStackBuilder; import android.content.Context; import android.content.Intent; import android.content.Share...
import commandline.CommandLine; import constants.ParameterConstant; import eu.monnetproject.lemon.LemonModel; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import lombok.NoArgsConstructor; import org.apache.logging.log4j.LogManager; import org.apache.log...
package sfdc.sfdx.scanner.pmd; import java.io.*; import java.util.*; import java.util.jar.JarEntry; import java.util.jar.JarInputStream; import org.w3c.dom.*; import sfdc.sfdx.scanner.pmd.catalog.PmdCatalogCategory; import sfdc.sfdx.scanner.pmd.catalog.PmdCatalogJson; import sfdc.sfdx.scanner.pmd.catalog.PmdCatalogRul...
/* * 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 cn.hanbell.oa.entity; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import jav...
/* * Copyright (c) 2016-2018 <NAME> <<EMAIL>> * * 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 Apach...
package tools; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Random; import java.util.concurrent.ScheduledFuture; import client.IItem; import client.MapleCharacter; import client...
package com.forms; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import andr...
/* * Copyright 2010 The Apache Software Foundation * * 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 ...
/** * Copyright 2021 UCloud Technology Co., Ltd. * * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applicabl...
package exp.libs.version; import exp.libs.db.sql.DBUtils; import exp.libs.db.sql.SqliteUtils; import exp.libs.db.sql.bean.DataSourceBean; import exp.libs.envm.Charset; import exp.libs.envm.DBType; import exp.libs.envm.Delimiter; import exp.libs.ext.format.ESCUtils; import exp.libs.utils.file.FileUtils; import exp.libs...
package com.snaker.system.utils; import com.snaker.common.utils.StringUtils; import com.snaker.system.service.ISysDictDataService; import java.beans.IntrospectionException; import java.beans.PropertyDescriptor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflec...
package com.nisoft.inspectortools.ui.base; import android.Manifest; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.app.DownloadManager; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.ContentUris; impo...
package com.mygdx.game.client; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.backends.gwt.GwtApplication; import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; import com.badlogic.gdx.backends.gwt.preloader.Preloader; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx....
package com.josvlaar.android.amadeus; import android.Manifest; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.pm.PackageManager; import android.database.Cursor; import android.database.sqlite.SQLit...
package common; import java.io.*; import java.util.*; import java.util.zip.*; public class Chunk { public byte[] type; public byte[] param; public byte[] chr; public byte[] col; public byte[] chrPushable; public byte[] colPushable; public byte[] chrDisplay; public byte[] colDisplay; public byte[] bulletPara...
/* * Copyright (C) 2021-2022 Objectos Software LTDA. * * 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) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INS...
/* * 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 (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package com.zzstack.paas.underlying.metasvr.bean; import java.util.Map; import com.zzstack.paas.underlying.utils.FixHeader; import com.zzstack.paas.underlying.utils.consts.CONSTS; import io.vertx.core.json.JsonObject; public class PaasService extends BeanMapper { private String instId; private String ...
/** * (Financial application: print a tax table) Listing 3.5 gives a program to compute * tax. Write a method for computing tax using the following header: * * public static double computeTax(int status, double taxableIncome) * * Use this method to write a program that prints a tax table for taxable income...
/***************************************************************************** * Copyright (c) PicoContainer Organization. All rights reserved. * * ------------------------------------------------------------------------- * * The software in this package is published under the terms of the BSD * * s...
package com.example.asus.test_project; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import andr...
/* * Password Management Servlets (PWM) * http://www.pwm-project.org * * Copyright (c) 2006-2009 Novell, Inc. * Copyright (c) 2009-2021 The PWM 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 ...
package com.codeforces.commons.io; import com.codeforces.commons.text.Patterns; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.apache.commons.lang3.RandomUtils; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io....
/* * Calendula - An assistant for personal medication management. * Copyright (C) 2016 CITIUS - USC * * Calendula 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 3 of the Li...
package org.opencb.opencga.analysis.files; import org.opencb.biodata.formats.alignment.sam.io.AlignmentSamDataReader; import org.opencb.biodata.models.alignment.AlignmentHeader; import org.opencb.biodata.models.variant.VariantSource; import org.opencb.datastore.core.ObjectMap; import org.opencb.datastore.core.QueryOpt...
/* * 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 org.thespheres.betula.xmlimport; import java.beans.PropertyVetoException; import java.util.Arrays; import java.util.Collection...
package cari; import usu.widget.glass.*; import widget.*; import widget.Button; import widget.Label; import widget.ScrollPane; import fungsi.*; import javax.swing.text.*; import javax.swing.table.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public class CariPenerbit extends ...
/* * Copyright 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 i...
/* * © 2016 AgNO3 Gmbh & Co. KG * * 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...
package com.nitesr.prep.mit.dp; import static com.nitesr.prep.mit.dp.AlternatingCoinGame.PLAYER.me; import static com.nitesr.prep.mit.dp.AlternatingCoinGame.PLAYER.you; import static com.nitesr.prep.utils.PrintArray.printIntArray; /** * Problem : * Given a sequence of coins, two players (me & you) will alternati...
package com.etop.view; import android.annotation.SuppressLint; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.Rect; import...
/* * #! * Ontopia Engine * #- * Copyright (C) 2001 - 2013 The Ontopia 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...
package cgat.seq; import java.lang.*; import java.io.*; import java.util.*; public class DPAlign { Sequence seq1, seq2; ScoreMat sMat; char path[][]; int gpath[][]; int aliScore; boolean allocFlag = false; public DPAlign() { } public void setScoreMat(ScoreMat _scoreMat) { sMat = _scoreMat; } public voi...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.rui.xb.modules.xb.entity; import org.hibernate.validator.constraints.Length; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.rui.xb.common.persistence....
package controllers; import app.BaseModelTest; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.JsonNodeFactory; import com.fasterxml.jackson.databind.node.ObjectNode; import models.PlayListEntity; import models.SongEntity; import org.junit.Test; import play.Logger; impo...
/* ### * IP: GHIDRA * * 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 writin...
/* * The MIT License (MIT) * * Copyright © 2013-2021 <NAME> <https://barras.io> (<EMAIL>) * * 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 limit...
package com.comp90018.assignment2.modules; import androidx.appcompat.app.AppCompatActivity; import androidx.core.content.ContextCompat; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentTransaction; import android.content.Context; import android.content.Intent; import android.graphics.drawab...
/* * Copyright 2016 Google 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 required by a...
package org.imdea.vcd; import com.codahale.metrics.ConsoleReporter; import com.codahale.metrics.Histogram; import com.codahale.metrics.MetricAttribute; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Timer; import org.imdea.vcd.pb.Proto.Commit; import org.imdea.vcd.pb.Proto.Message; import org....
/* * Copyright 1999-2010 <NAME> (l.garulli--at--orientechnologies.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 * *...
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
/* * Copyright 2001-2004 (C) MetaStuff, Ltd. All Rights Reserved. * * This software is open source. * See the bottom of this file for the licence. * * $Id: JAXBDemo.java,v 1.3 2005/01/29 14:52:58 maartenc Exp $ */ package org.dom4j.samples.jaxb; import java.io.File; import java.math.BigDecimal; import java....
package com.example.smartcarapp; import static android.app.Activity.RESULT_OK; import android.annotation.SuppressLint; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.media.MediaPlayer; import android.os.Bundle; import androidx.fragment.app.Fragment; impo...
package com.td.framework.ui.viewpager; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.CornerPathEffect; import android.graphics.Paint; import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager.OnPageChangeListener;...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...