text
stringlengths
3.52k
24k
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed at * https://github.com/apache/commons-math/blob/master/NOTICE.txt for * additional information regarding copyright ownership. * The ASF licenses this file to You under the Apa...
package com.teradata.connector.hcat; import com.teradata.connector.common.ConnectorSerDe; import com.teradata.connector.common.exception.ConnectorException; import com.teradata.connector.common.utils.ConnectorConfiguration; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import j...
package javassist.expr; import javassist.bytecode.BadBytecode; import javassist.CtPrimitiveType; import javassist.bytecode.Bytecode; import javassist.CannotCompileException; import javassist.bytecode.ClassFile; import java.util.Iterator; import javassist.bytecode.ExceptionsAttribute; import javassist.bytecode.Exceptio...
package com.levelup.theoldreaderforpalabre.ui; import android.content.Context; import android.content.SharedPreferences; import android.os.Handler; import android.os.Looper; import android.preference.PreferenceManager; import android.support.design.widget.Snackbar; import android.support.v7.widget.RecyclerView; import...
package com.iceybones.flippyfish; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.f...
package com.moonymango.snareTest; import android.support.test.runner.AndroidJUnit4; import com.moonymango.snare.util.Geometry; import com.moonymango.snare.util.MatrixAF; import com.moonymango.snare.util.QuaternionAF; import com.moonymango.snare.util.VectorAF; import org.junit.Test; import org.junit.runner.RunWith; ...
package com.robotca.ControlApp; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.DialogFragment; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7...
package com.shoukaiseki.gui.jtable; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.StringSelection; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.util.ArrayLis...
/** *Class : looker_embed_generator.java * *Description : Sample Java class to generate secure Looker * : embed codes that include custom filters. * *Requirements : You must set the following environment variable * : to establish credentials for the embed user: * ...
/* * The MIT License (MIT) * * 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,...
/* * ExtendedFragment.java * libraries * * Copyright (C) 2020, <NAME>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
package javatools.filehandlers; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.util.ArrayList; import java.util.Arrays; impo...
package server.actors; import akka.actor.ActorRef; import akka.actor.Props; import akka.actor.ReceiveTimeout; import akka.actor.Status; import akka.actor.UntypedActor; import akka.event.Logging; import akka.event.LoggingAdapter; import akka.japi.Procedure; import com.rabbitmq.client.AMQP; import com.rabbitmq.client.Ch...
/* * Copyright 2006-2020 www.anyline.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
package net.distilledcode.httpclient.impl.metatype; import net.distilledcode.httpclient.impl.metatype.reflection.GetterAdapter; import net.distilledcode.httpclient.impl.metatype.reflection.SetterAdapter; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.junit.Tes...
package run; import java.util.ArrayList; import java.util.HashMap; import org.eclipse.cdt.core.index.IIndexLinkage; import org.eclipse.cdt.internal.core.index.IIndexFragmentFile; import org.eclipse.cdt.internal.core.pdom.PDOM; import org.eclipse.cdt.internal.core.pdom.db.Database; import org.eclipse.cdt.internal.core...
/* HexEdit2Data class Written by: <NAME>, http://www.psc-consulting.ca/fenske/ Monday, 27 October 2008 Java class name: HexEdit2Data.java This class is part of HexEdit2 Copyright (c) 2008 by <NAME>. Released under GNU Public License. This class maintains an array of byte data. Data elements are expecte...
/* * Copyright (c) 2017, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package com.force.i18n.grammar.parser; import java.io.IOException; import java.net.U...
package com.web.basePrice.controller; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Sort; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ControllerAdvice; import org.s...
package com.authok.json.mgmt.actions; import com.authok.json.JsonTest; import org.hamcrest.MatcherAssert; import org.junit.Test; import java.util.Collections; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; public class BindingsPageTest extends JsonTest<BindingsPage> { ...
package org.lennartb.gtlaptimer; import android.content.ContentValues; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import and...
/* * Copyright (C) 2021 <NAME>. All rights reserved. */ package org.dellroad.muxable.simple; import io.permazen.util.LongEncoder; import java.io.IOException; import java.nio.ByteBuffer; import org.dellroad.muxable.Directions; /** * Output state machine for the {@link SimpleMuxableChannel} framing protocol. * ...
package com.sjhy.plugin.service.impl; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.Messages; import com.intellij.util.ExceptionUtil; import com.sjhy.plugin.constants.MsgValue; i...
package au.com.codeka.warworlds.server.ctrl; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Random; import org.joda.time.DateTime; import au.com.codeka.common.Log; import au.com.codeka.common.protobuf.Messages; import au.com.codeka.warworlds.se...
/** * Copyright 2021 XEBIALABS * * 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, ...
package io.muserver; import io.netty.handler.ssl.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.net.ssl.KeyManager; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; import javax.net.ssl.X509ExtendedKeyManager; import java.io.*; import java.security.KeyStore; import ja...
package com.github.meshter.textrobot; import java.awt.Robot; import java.awt.event.KeyEvent; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.Map; /** * Utility clas...
import java.awt.Canvas; import java.awt.Color; import java.awt.Graphics; import java.awt.Label; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import javax.imageio.ImageIO; public class Page extend...
package de.tuberlin.tubit.gitlab.anton.rudacov.tools; import java.util.HashMap; import java.util.Map; public class DTWData { private Map<float[], Character> template = new HashMap<>(); public DTWData() { this.template.put(new float[]{200, 800, 1200}, 'A'); this.template.put(new float[]{1200...
package org.firstinspires.ftc.teamcode2022; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.ElapsedTime; import com.q...
package io.bdrc.libraries; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.text.Normalizer; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.r...
package com.hys.xiangyi.dao.jdbc; import java.util.Date; import java.util.List; import org.springframework.jdbc.core.simple.ParameterizedBeanPropertyRowMapper; import com.alibaba.druid.sql.visitor.functions.If; import com.hys.exam.dao.BaseDao; import com.hys.exam.model.CV; import com.hys.exam.model.CVSet; import com...
/* * Created by <NAME>, 14 August 2013 * */ package org.jsoar.kernel.learning.rl; import org.jsoar.kernel.symbols.SymbolFactory; import org.jsoar.util.properties.DefaultPropertyProvider; import org.jsoar.util.properties.EnumPropertyProvider; import org.jsoar.util.properties.PropertyKey; import org.jsoar.util.proper...
package math.functions; import java.awt.Window; import java.awt.event.ActionEvent; import org.trianacode.taskgraph.Unit; import triana.types.ComplexSampleSet; import triana.types.ComplexSpectrum; import triana.types.Const; import triana.types.EmptyingType; import triana.types.GraphType; import triana.types.SampleSet;...
package edu.wpi.rail.jrosbridge.primitives; import static org.junit.Assert.*; import java.math.BigInteger; import javax.json.Json; import javax.json.JsonObject; import org.junit.Before; import org.junit.Test; import edu.wpi.rail.jrosbridge.JsonWrapper; public class TestPrimitive { private Primitive p1, p2; @B...
/* * Copyright 2014 Blazebit. * * 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 com.Da_Technomancer.essentials.gui.container; import com.Da_Technomancer.essentials.Essentials; import com.Da_Technomancer.essentials.blocks.BlockUtil; import com.Da_Technomancer.essentials.gui.AutoCrafterScreen; import com.Da_Technomancer.essentials.tileentities.AutoCrafterTileEntity; import net.minecraft.cli...
package com.barry.service.scheduler.datasource.utils; import javax.crypto.Cipher; import java.security.*; import java.security.interfaces.RSAPrivateKey; import java.security.interfaces.RSAPublicKey; import java.security.spec.PKCS8EncodedKeySpec; import java.security.spec.X509EncodedKeySpec; import java.util.Base64; im...
package com.zhrenjie04.alex.util; import java.io.IOException; import java.math.BigInteger; import java.util.HashMap; import java.util.LinkedList; import org.slf4j.Logger;import org.slf4j.LoggerFactory; import com.fasterxml.jackson.annotation.JsonFilter; import com.fasterxml.jackson.core.JsonGenerationException; imp...
/* Binding.java */ package org.xlattice.corexml.bind; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import org.xlattice.corexml.CoreXml; import org.xlattice.corexml.CoreXmlException; import static org.xlattice.corexml.bind.NameGenerator.*; /** * Superclass for Joins that bind ...
package uk.gov.pay.api.model.telephone; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.annotation.JsonNaming; import uk.gov.pay.api.model.ChargeFromResponse; im...
/* * 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 * distribut...
/* * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
package com.tiantian.sams.controller; import com.tiantian.sams.model.Dormitory; import com.tiantian.sams.model.DormitoryChange; import com.tiantian.sams.model.DormitoryCheckInAndOut; import com.tiantian.sams.model.Student; import com.tiantian.sams.service.DormitoryService; import com.tiantian.sams.service.StudentServi...
/* * Copyright 2014-2014 <NAME> * * 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, Versio...
package file.engine.frames; import file.engine.utils.system.properties.IsDebug; import file.engine.annotation.EventListener; import file.engine.annotation.EventRegister; import file.engine.dllInterface.GetHandle; import file.engine.event.handler.Event; import file.engine.event.handler.EventManagement; import file.engi...
package org.adolfolopez.controller; import java.net.URL; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.ResourceBundle; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.fxml.In...
package com.scut.scutwizard.ScoreHelper; import android.content.Context; import android.text.TextUtils; import android.text.format.DateFormat; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.ArrayAdapter; import android.widget.EditText; import android.widget.Spinner...
/* * Copyright (c) 2012, 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 Softwa...
package org.iitk.brihaspati.modules.actions; /* * @(#)Calendar_Actions.java * * Copyright (c) 2005-2006,2011 ETRG,IIT Kanpur. * All Rights Reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: *...
/* * Copyright (c) 2018-2021 <NAME> (Yeregorix) * * 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, me...
package cn.wizzer.modules.controllers.platform.losys; import cn.apiclub.captcha.filter.image.TextureFilter; import cn.wizzer.common.annotation.SLog; import cn.wizzer.common.base.Result; import cn.wizzer.common.filter.PrivateFilter; import cn.wizzer.common.page.DataTableColumn; import cn.wizzer.common.page.DataTableOrd...
package org.nodes.draw; import static java.lang.Math.abs; import static java.lang.Math.floor; import static nl.peterbloem.kit.Series.series; import java.awt.Color; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; i...
/* MIT License Copyright (c) 2018 Computing and Engineering Department, Technical University of Varna 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 limita...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.hardware.CRServo; import com.qualcomm.robotcore.hardware.CRServoImpl; import com.qualcomm.robotcore.hardware.CRServoImplEx; import com.qualcomm.robotcore.hardware.ColorSensor; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robot...
/* * 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 ...
/* * Copyright (c) 2008, <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 li...
/* * Copyright (C) 2010 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...
/* * $Id: OpCode.java,v 1.11 2003/11/07 20:16:25 dfs Exp $ * * ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary ...
package me.tzk.pdi.plugins.trans.steps.rocketmq; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CTabItem; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; import org.eclipse.swt.layout.FormLayout; import org.eclipse.swt.widgets.Comp...
/******************************************************************************* * Copyright (c) 2011 www.isandlatech.com (www.isandlatech.com) * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribu...
package edu.harvard.iq.policymodels.externaltexts; import static edu.harvard.iq.policymodels.io.FileUtils.ciResolve; import static edu.harvard.iq.policymodels.io.FileUtils.readAll; import edu.harvard.iq.policymodels.model.PolicyModel; import edu.harvard.iq.policymodels.model.PolicySpaceIndex; import edu.harvard.iq.pol...
package org.lcsim.recon.cat; import java.util.*; import org.lcsim.event.*; /** * Simple data format for digitized (aka smeared, taking segmentation into account) * hits, either 2D or 3D, used within the Garfield track finding package for * calorimeter assisted tracking. This class will have to be re-written once ...
// Copyright 2019 Yolean AB // // 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...
package id.co.veritrans.sdk.activities; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.text.TextUtils; im...
package com.copilot.copilot; import java.text.ParseException; import java.util.Calendar; import java.util.HashMap; import java.util.Map; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.content.Context; import android.content.Intent; import android.con...
/* Copyright 2018 Case Western Reserve University * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
package com.fadecolor.esport; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Rect; import android.os.Bundle; import android.text....
package net.hostettler.jdd.dd.sdd; import java.io.IOException; import java.util.ArrayList; import java.util.Formatter; import java.util.List; import java.util.Map; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import net.hostettler.jdd.dd.DD; import net.hostettler.jdd.dd.DDImpl; import net...
/* * 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 com.mobiquity.packer; import com.mobiquity.exception.APIException; import com.mobiquity.pojo.Item; import lombok.AccessLevel; import lombok.NoArgsConstructor; import org.jetbrains.annotations.NotNull; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.util.List; import ja...
/* * Copyright (c) 2019, 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.apac...
/* * 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...
package co.edureka.mapreduce; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URI; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import org.apache.avro.Schema; import org...
/* * Copyright 2015 Adaptris Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package com.facebook.micapp; import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; import android.media.AudioDeviceInfo; import android.media.AudioFormat; import android.media.AudioRecord; import android.media.MicrophoneInfo; import android.util.Log; import java.io.Buffere...
package com.locator.bayes; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.hardware.SensorManager; import android.location.LocationManager; import android.net.wifi.WifiManager; import android.os.Build; import android.os.Handler; import android.os.SystemClock; ...
package io.lumify.core.ingest.graphProperty; import com.google.inject.Inject; import io.lumify.core.bootstrap.InjectHelper; import io.lumify.core.config.Configuration; import io.lumify.core.exception.LumifyException; import io.lumify.core.ingest.WorkerSpout; import io.lumify.core.model.properties.LumifyProperties; imp...
package models; import java.sql.Timestamp; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import com.avaje.ebean.Model; import com.avaje.ebean.annotation.CreatedTimestamp; import com.avaje.ebean.annotation.UpdatedTimestamp; @Entity @Tab...
package com.juma.demobox; import java.util.ArrayList; import java.util.List; import java.util.UUID; import org.achartengine.ChartFactory; import org.achartengine.GraphicalView; import org.achartengine.chart.PointStyle; import org.achartengine.model.XYMultipleSeriesDataset; import org.achartengine.model.XYSeries; impo...
package de.hhu.stups.plues.studienplaene; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import de.hhu.stups.plues.data.Store; import de.hhu.stups.plues.data.entities.AbstractUnit; import de.hhu.stups.plues.data.entities.Course; impor...
package com.amazon.alexa.auto.media.session; import android.content.ContentResolver; import android.content.Context; import android.net.Uri; import android.os.Handler; import android.os.Looper; import android.support.v4.media.MediaMetadataCompat; import android.support.v4.media.RatingCompat; import android.util.Log; ...
package org.ovirt.engine.core.bll; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import org.ovirt.engine.core.bll.network.MacPoolManager; import org.ovirt.engine.core.bll.utils.PermissionSubject; import org.ovirt.engine.core.common.VdcObjectType; import org.ovirt.engine.core.common.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 ...
package com.qiniu.shortvideo.app.activity; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.media.MediaPlayer; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.DisplayMetrics; impo...
/* * Copyright (c) 2008-2016, GigaSpaces 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 * * Un...
/* * (C) 2010 <NAME> * * This software is part of the open-source project "Xwalk". You can use this * software under the terms of the * Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License * (http://creativecommons.org/licenses/by-nc-sa/3.0/). * This means that you * 1.) can copy, modify, ...
package com.perforce.api; import java.io.*; import java.util.*; /* * Copyright (c) 2001, Perforce Software, All rights reserved. * * 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 witho...
/******************************************************************************* * Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanie...
/* * 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 com.auth.services; import com.auth.entities.admin.Usuario; import com.auth.managers.admin.ManagerUsuario; import com.auth.mana...
/* * 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 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that ...
package mn.btgt.safetyinst.history; import android.os.Looper; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import mn.btgt.safetyinst.AppMain; import mn.btgt.safetyinst.R; import android.support.v4.widget.SwipeRefreshLayout; import android.os.Handler; import android.support.v7.widget.Defa...
/* * 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 not u...
package at.ac.tuwien.dsg.hcu.monitor.impl.adapter; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; ...
package com.google.android.material.internal; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import...
package uk.ac.cam.cares.jps.config.test; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import com.google.gson.Gson; import junit.framework.TestCase; import uk.ac.cam.cares.jps.adms.ADMSOutputAllForShips; import uk.ac.cam.cares.jps.base.exceptio...
/* * Hedgewars for Android. An Android port of Hedgewars, a free turn based strategy game * Copyright (c) 2011-2012 <NAME> <<EMAIL>> * Copyright (C) 2012 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published...
/* * Copyright (C) 2012 <NAME> <<EMAIL>jord at msu.edu> * * 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 3 of the License, or * (at your option) any later version. * * Th...
package com.frostytornado.cordova.plugin.ad.admob; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.PluginResult; import org.apache.cordova.CallbackContext; import org.json.JSONArray; import org.json.JSONObject; import org.json.JSONException; import org.apache.cordova.CordovaInterface; impor...