text
stringlengths
7.32k
45.1k
/* * Copyright (c) 2015 University of Massachusetts * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
/* * 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 app...
/* * Copyright 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
import org.rosuda.REngine.*; class TestException extends Exception { public TestException(String msg) { super(msg); } } // This is the same test as in Rserve but it's using JRI instead public class RTest { public static void main(String[] args) { try { // the simple initialization is done using // REngine...
package com.umiwi.ui.fragment.home.updatehome.indexfragment; import android.content.Intent; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment;...
/* * 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...
package net.sourceforge.ondex.filter.relationneighbours; import java.io.InvalidObjectException; import java.util.ArrayList; import java.util.BitSet; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.apache.lucene.search.Que...
/* * Copyright (c) 2016 <NAME>, and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * and Eclipse Distribution License v. 1.0 which accompanies this distribution. * The Eclipse Public License is available at http:/...
/* * Copyright 2011 Corpuslinguistic working group Humboldt University Berlin. * * 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 com.hyl.accountbook; import com.hyl.dao.DBOpenHelper; import com.hyl.util.pubFun; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.content.ContentValues; import android.content.Context; import android.content.DialogInterface; import android.conte...
package com.akigon.mydiary; import androidx.activity.result.ActivityResult; import androidx.activity.result.ActivityResultCallback; import androidx.activity.result.ActivityResultLauncher; import androidx.activity.result.contract.ActivityResultContracts; import androidx.annotation.NonNull; import androidx.appcompat.app...
/* * 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 com.tecartlab.sparck.ledstrip; /* MIT License * * Copyright (c) 2012-2020 tecartlab.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without ...
/* * Copyright (C) 2015 HTC 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 a...
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
package com.letv.core.constant; import android.util.DisplayMetrics; import com.letv.core.BaseApplication; import com.letv.core.utils.LetvTools; import com.letv.core.utils.LetvUtils; import com.letv.core.utils.LogInfo; public class LetvConstant { public static final String ABLUT_US_URL = "http://m.letv.com/"; ...
/* * @author Lijie * Date: 2015-6-2 */ import java.awt.Container; import java.awt.TextField; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import javax.swing.JButton; import javax.swing.JFrame; i...
package edu.uwstout.p2pchat; import static edu.uwstout.p2pchat.testing.MockSendDataService.awaitIntent; import android.content.Context; import android.content.Intent; import android.net.wifi.p2p.WifiP2pDevice; import android.net.wifi.p2p.WifiP2pDeviceList; import android.net.wifi.p2p.WifiP2pGroup; import android.net....
package clachipso.game; import clachipso.gamelib.*; import clachipso.gamelib.Rectangle; import java.awt.*; import java.awt.event.KeyEvent; import java.awt.image.BufferedImage; import java.util.Iterator; public class PlayState { private static final Integer UP_KEY = new Integer(KeyEvent.VK_W); p...
package cat.nyaa.npc; import cat.nyaa.npc.ephemeral.NPCBase; import cat.nyaa.npc.events.NpcDefinedEvent; import cat.nyaa.npc.events.NpcRedefinedEvent; import cat.nyaa.npc.events.NpcUndefinedEvent; import cat.nyaa.npc.persistence.NpcData; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.World; im...
// Written for Pixelmon Reforged. Running this on Gens is unsupported and ill-advised, just like Gens itself. package rs.expand.evenmorepixelmoncommands; import ninja.leaping.configurate.commented.CommentedConfigurationNode; import ninja.leaping.configurate.hocon.HoconConfigurationLoader; import ninja.leaping.configur...
package de.kai_morich.simple_bluetooth_terminal; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.TimePickerDialog; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.content.ComponentName; import andro...
package com.jaquadro.minecraft.storagedrawers.client.renderer; import com.jaquadro.minecraft.storagedrawers.StorageDrawers; import com.jaquadro.minecraft.storagedrawers.api.storage.Drawers; import com.jaquadro.minecraft.storagedrawers.api.storage.IDrawer; import com.jaquadro.minecraft.storagedrawers.block.BlockDrawers...
package by.c7d5a6.languageparser.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.lang.invoke.MethodHandles; import java.util.Arrays; import java.util.stream.Collectors; import ja...
package sketch; import java.io.File; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicInteger; impo...
/* * @(#)PrefuseJScrollPane.java 11.08.2008 * * Copyright (c) 2008, <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 obtain a copy of the License at http://www.apache.org/licenses/LICEN...
package com.zj.learning.control.course.video; import java.util.Timer; import java.util.TimerTask; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; import android.media.MediaPlayer.OnErrorListener; import android....
package file_system; import auxiliary.*; import components.*; import io_system.*; import exceptions.*; import utils.*; import java.io.IOException; import java.util.*; public class FileSystem { public static int MAX_FILES_IN_DIR; public static int RESERVED_BLOCKS_NUM; public static int FIRST_DATA_BLOCK; /...
// Demo file to test COMSOL integration into the IbM. More a proof-of-principle than usable code. Based mostly on RunAS package ibm; import java.io.IOException; import java.util.ArrayList; import comsol.Comsol; import comsol.Server; import random.rand; import ser2mat.ser2mat; public class RunComsol extends Run { /...
package apollo.dataadapter.chado; import java.util.ArrayList; import java.util.List; import java.util.Properties; import java.util.Vector; import org.apache.log4j.*; import org.bdgp.io.DataAdapterUI; import org.bdgp.io.IOOperation; import org.bdgp.util.ProgressEvent; import apollo.config.Config; import apollo.confi...
/* * 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 edu.drexel.cs451_rbbtd.apologies.gui; import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.InputEvent; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.List; import java.awt.event.*; public class Board extends JPanel implements MouseListener...
package life.genny.rules.listeners; import java.util.Date; /** * Copyright 2010 JBoss 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/LICE...
/* * Copyright (c) 2006-, IPD Boehm, Universitaet Karlsruhe (TH) / KIT, by <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 ab...
// ======================================================================== // Copyright 2008-2012 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the ...
package rita.test; import static rita.support.QUnitStubs.equal; import org.junit.Test; import rita.RiLexicon; import rita.support.Constants; import rita.support.Phoneme; public class PhonemeTests implements Constants { @Test public void testWordToIPA1() { // 20 different examples without using LTS ...
package dcraft.cms.feed.core; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; import java.util.ArrayList; import java.util.List; import org.joda.time.DateTime; import org.joda.time.LocalDate; import dcraft.hub.SiteInfo; import dcraft.lang.op.FuncCallback; import dcraft...
/* * Copyright (c) 2010, 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...
/****************************************************************************** * NTRU Cryptography Reference Source Code * Copyright (c) 2009-2013, by Security Innovation, Inc. All rights reserved. * * Copyright (C) 2009-2013 Security Innovation * * This program is free software; you can redistribute it and/or ...
/* * 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 FXMLS.HR3; import FXMLS.HR3.ClassFiles.ClaimClass; import FXMLS.HR3.ClassFiles.HR3_Request_overtime; import Model.Time_and_Att...
/** * *************************************************************** * <p/> * Copyright 2015 Samsung Electronics All Rights Reserved. * <p/> * <p/> * <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 obt...
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 ...
import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.util.LinkedList; import java.util.Scanner; /** * Class that actually drives the program and will handle * the saving of the files as well as obtaining the file...
/*- * ============LICENSE_START======================================================= * ONAP : APPC * ================================================================================ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. * ======================================================...
package dev.benjaminc.chef_simulator; import java.awt.Color; import java.awt.event.KeyEvent; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; import java.util.UUID; import org.lwjglb.engine.OpenGLEngine...
/* * @(#)teapot.java 0.3 01/03/15 * * jGL 3-D graphics library for Java Copyright (c) i1996-2001 <NAME>-<NAME> * (<EMAIL>) * * 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 ve...
package restCheque; import DataModel.Menu; import DataModel.MenuIngredient; import DataModel.Order; import DataModel.Product; import DataSource.DataSource; import com.sun.xml.internal.bind.v2.util.TypeCast; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.F...
package org.datadog.jmxfetch; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Arrays; import java.util.ArrayList; import ...
/* * Copyright (C) 2006 The Android Open Source Project * Copyright (c) 2014-2016 Chukong Technologies Inc. * Copyright (c) 2017-2018 <NAME> Software Co., 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...
/** * Copyright 2014 DuraSpace, 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 agree...
package org.leibnizcenter.rechtspraak.leibnizannotations; import com.google.common.base.Strings; import deprecated.org.crf.utilities.TaggedToken; import org.leibnizcenter.rechtspraak.tagging.crf.features.quote.BlockQuotePatterns; import org.leibnizcenter.rechtspraak.tagging.crf.features.title.TitlePatterns; import org...
/* * Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information. */ package com.linkedin.kafka.cruisecontrol.monitor; import com.linkedin.cruisecontrol.monitor.sampling.aggregator.AggregatedMetricValues; import com.linkedin.cruiseco...
package net.minecraft.server; import java.util.List; import java.util.Random; public class ChunkProviderGenerate implements IChunkProvider { private Random i; private NoiseGeneratorOctaves j; private NoiseGeneratorOctaves k; private NoiseGeneratorOctaves l; private NoiseGenerator3 m; public N...
package org.hl7.fhir.definitions.generators.specification.json; /* Copyright (c) 2011+, HL7, Inc 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 th...
/* * Copyright (C) 2014 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...
import java.math.RoundingMode; import java.text.DecimalFormat; import java.util.*; //@formatter:off /** * Iterative Dichotomiser 3 (ID3) is a learning algorithm which builds decision trees. This implementation only handles * binary classification tasks and does not implement pruning. * * How ID3 works is best expl...
// Copyright 2010-2016, Google Inc. // 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 condit...
/* * 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 applicable law...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package org.usfirst.frc.team910.robot; import com.kauailabs.navx.frc.AHRS; import edu.wpi.first.wpilibj.AnalogInput; import edu.wpi.first.wpilibj.CameraServer; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.PowerDistributionPanel; import edu.wpi.first....
/** * This class was adapted from code written by Vazkii for the PSI mod: https://github.com/Vazkii/Psi * Psi is Open Source and distributed under the * Psi License: http://psi.vazkii.us/license.php */ package com.direwolf20.buildinggadgets.client.screen; import com.direwolf20.buildinggadgets.client.KeyBindings; i...
/* * Copyright (C) 2014 <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 t...
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 (c) 1996, 2019, 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 ...
/* * 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 ui.activity.gps; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import ui.activity.ActivityOfAF4Ad; import ui.activity.SystemManagement.LoginActivity; import ui.viewModel.ModelErrorInfo; import ui.viewModel.ViewModel; import android....
/** * Copyright 2019 LinkedIn Corp. 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 applica...
/* Tencent is pleased to support the open source community by making Hippy available. * Copyright (C) 2018 THL A29 Limited, a Tencent company. 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...
/* Copyright (c) 2014, Effektif 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/** * 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 Indra Soluciones Tecnologías de la Información, S.L.U. * 2013-2019 SPAIN * * 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...
/* * Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.util; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.File; impor...
package com.cerner.ccl.analysis.mojo; import static org.codehaus.plexus.util.StringUtils.isEmpty; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.u...
/* * 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) 2009-2018 The Project Lombok 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 rights * to use, copy, ...
/* * 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...
/** * 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 © 2016 Southern Storm Software, Pty Ltd. * Copyright © 2017-2021 WireGuard LLC. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.wireguard.crypto; import com.wireguard.util.NonNullForAll; import java.util.Arrays; import androidx.annotation.Nullable; /** * Implementation...
/* Copyright (c) 2001-2017, <NAME> DBA Pixelmed Publishing. All rights reserved. */ package com.pixelmed.apps; import com.pixelmed.dicom.Attribute; import com.pixelmed.dicom.AttributeFactory; import com.pixelmed.dicom.AttributeList; import com.pixelmed.dicom.AttributeTag; import com.pixelmed.dicom.ClinicalTrialsAttri...
package com.ctrip.framework.apollo.biz.service; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.gson.Gson; import com.ctrip.framework.apollo.biz.entity.Audit; import com.ctrip.framework.apollo.biz.entity.GrayReleaseRule; import com.ctrip.framework.apollo.biz.entity.Ite...
/* * Copyright (C) 2017-2019 Dremio 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 l...
/** * 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 edu.mit.mitmobile2.shuttles; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Map.Entry; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android...
package com.icthh.xm.ms.configuration.repository.impl; import static com.icthh.xm.ms.configuration.utils.LockUtils.runWithLock; import static com.icthh.xm.ms.configuration.utils.RequestContextUtils.getRequestSourceLogName; import static com.icthh.xm.ms.configuration.utils.RequestContextUtils.getRequestSourceTypeLogNam...
/* * Copyright (c) 2002, 2014, 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 ...
/* * 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 2009-2013 Aarhus 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 * * Unless required by applicable law or...
/* * 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.redkale.net; import java.io.IOException; import java.lang.ref.WeakReference; import java.net.*; import java.nio....
// // Copyright 2018 <NAME>.A.S. // // 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 cn.edu.nuc.recommendme; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.net.Ur...
package com.cchilei.blog.controller; import com.baidu.ueditor.ActionEnter; import com.cchilei.blog.common.Const; import com.cchilei.blog.common.ServerResponse; import com.cchilei.blog.pojo.*; import com.cchilei.blog.pojo.*; import com.cchilei.blog.pojo.viewconfig.ViewConfiguration; import com.cchilei.blog.service.Admi...
/************************************************************************************* File: server.java Authors: <NAME> and <NAME> Description: Server which handles all client requests on an online library Last Modified: 31 May 2016 **************************************************************************************...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
/* Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" s...
/* * 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 applicab...
/* * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 ...
package com.gzsll.hupu.widget.photodraweeview; import android.content.Context; import android.graphics.Matrix; import android.graphics.RectF; import android.os.Build; import android.support.annotation.Nullable; import android.support.v4.view.GestureDetectorCompat; import android.support.v4.view.MotionEventCompat; impo...
package io.github.jmcleodfoss.pst; /** The NameIDToMap class wraps the PropertyContext node NID_NAME_ID_TO_MAP (0x61) to provide names for the properties therein. * @see <a href="https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-pst/60003704-dfa6-476f-b782-ce8bb52a2df3">MS-PST Section 2.4.2.2: Named Pr...
package com.jivesoftware.os.miru.stream.plugins.filter; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.jivesoftware.os.filer.io.api.StackBuffer; import com.jivesoftware.os.miru.api.MiruPartiti...