text
stringlengths
3.52k
24k
/* * 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 ...
package kadanes; import org.ahocorasick.trie.Emit; import org.ahocorasick.trie.Trie; import org.json.JSONException; import org.json.JSONObject; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; import java.util.regex.Matcher; import java...
/* * Phylontal FrontEnd - a GUI frontend for Phylontal * Copyright 2009-2011 <NAME> * This file is part of Phylontal Frontend * * Phylontal Frontend 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, eithe...
/** * Dnieprov es una librería que implementa un driver en JAVA para el DNI * electrónico y un proveedor cryptográfico compatible con la JCA de Java. * Código fuente disponible en http://github.com/lfern/dnieprov * * Copyright 2012 <NAME> * * Este fichero se distribuye bajo una licencia dúal: LGPL 3.0 y EUPL ...
package com.tsoft.core.database.jda; import com.tsoft.core.database.exception.AccessDataException; import com.tsoft.core.database.exception.JdaDuplicateEntryException; import com.tsoft.core.database.exception.JdaTooBigColumnLengthException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFa...
package org.noear.sponge.admin.controller.track; import org.noear.solon.annotation.Mapping; import org.noear.solon.annotation.Controller; import org.noear.solon.core.handle.ModelAndView; import org.noear.sponge.admin.dso.TagChecker; import org.noear.sponge.admin.dso.GroupUtil; import org.noear.sponge.admin.dso.db.DbRo...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB 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...
package com.example.adelaidescavange; import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.SupportMapFragment; import com.google.android.gms.maps.model.LatLng; import android.app.Activity; import android.content.Intent; import androi...
package mhfc.net.common.item.armor; import java.util.EnumMap; import java.util.List; import java.util.Map; import java.util.Objects; import javax.annotation.Nullable; import mhfc.net.MHFCMain; import mhfc.net.common.entity.CreatureAttributes; import mhfc.net.common.index.ResourceInterface; import mhfc.ne...
/* * Copyright 2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package com.zwf3lbs.stream; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.SurfaceTexture; import android.graphics.drawable.Drawable; import android.opengl.GLES30; import android.opengl.GLSurfaceView; import a...
/* * The MIT License * * Copyright 2015 andrewnyhus. * * 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, mo...
/* * 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) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.entitypedia.games.sdoclet.parser; import com.sun.javadoc.*; import org.entitypedia.games.sdoclet.DocletOptions; import org.entitypedia.games.sdoclet.swagger.model.Model; import org.entitypedia.games.sdoclet.swagger.model.ModelProperty; import java.util.*; /** * @author <a href="http://autayeu....
/******************************************************************************* * Copyright (c) 2017, 2018 <NAME> * Written by <NAME> (<EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lic...
package edu.ithaca.musicStore; import java.util.ArrayList; public class Customer { private MusicStore currentStore; private ArrayList<Transaction> transactionHistory; private ArrayList<Item> rentedItems; private String customerName; private Room roomRented; public Customer(MusicStore currentSt...
/* * Copyright 2015 Collective, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package main.program.viewpanel.controls; import main.Main; import main.program.ImageLoader; import main.program.JFrameAutomaticWindow; import main.program.ProgramHandler; import main.program.controlpanel.contents.ControlInterface; import main.program.properties.PropertyStorage; import main.program.viewpanel.ViewPortHa...
/***************************************************************************** * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * Y...
/* * 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. * * This program is distributed in the hope that it will be us...
/* * Copyright (c) 2014-2015 dCentralizedSystems, LLC. 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 requi...
package kr.ac.snu.dbs.koo.MergeSort; import kr.ac.snu.dbs.koo.SqlGrammar.Types.Attributer; import kr.ac.snu.dbs.koo.SqlProcessor.TableElement.*; import java.io.*; public class MergeSort { public static int PAGE_SIZE = 2; public static int BUFFER_SIZE = 4; // buffer init // 0 ~ BUFFER_SIZE - 1: I...
package swingingAround.ThreeD; /** * Valós szám (double) mátrix. */ public class dMatrix { /** * Hány oszlopa van a mátrixnak */ private int nrOfColumns; /** * Hány sora van a mátrixnak */ private int nrOfRows; /** * Valós szám tömb, ami maga a mátrix valójában. */...
/******************************************************************************* * Copyright (c) 2013-2018 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompanyin...
/** * Copyright (c) LambdaCraft Modding Team, 2013 * 版权许可:LambdaCraft 制作小组, 2013. * http://lambdacraft.half-life.cn/ * * LambdaCraft is open-source. It is distributed under the terms of the * LambdaCraft Open Source License. It grants rights to read, modify, compile * or run the code. It does *NOT* grant the ...
package net.cryptobrewery.materialdialogboxlibrary; import android.app.Dialog; import android.graphics.Color; import android.graphics.Typeface; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.support.v4.app.DialogFragment; import andro...
/* Copyright (c) 2004, University of Oslo, Norway * 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, thi...
/* * Agenda.java * * Created on April 26, 2001, 3:47 PM */ // ---------------------------- // Begin of Ciao specific code. import CiaoJava.*; import java.util.Vector; import javax.swing.table.DefaultTableModel; import javax.swing.ListSelectionModel; import java.util.Arrays; import java.awt.Frame; // End of Ciao spe...
/* * Copyright (c) OSGi Alliance (2004, 2015). 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 re...
package edu.gatech.scheduleproject.model; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.Iterator; import java.util.Map; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermod...
public class HangManDemo{ public static void main(String[] args) { /* Program structure: I think using a different method for each of these is the way to go. Possibly each method will require submethods to break up any complex problems 1) Load files Upon running program, the .txt files containing wo...
package cn.businside.rong.leetcode.dp; public class Palindromic { // public static ; static long simpleStart = 0l; static long start = 0l; private static int lo, maxLen; public static String longestPalindrome(String s) { int len = s.length(); if (len < 2) return s; ...
import javax.swing.JFrame; import javax.swing.JTextArea; import javax.swing.JTextField; import javax.swing.JLabel; import javax.swing.JFileChooser; import javax.swing.JCheckBoxMenuItem; import javax.swing.JMenuBar; import javax.swing.JMenu; import javax.swing.JMenuItem; import javax.swing.JScrollPane; import ...
package com.itee.exam.app.ui.login; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.support.v7.widget.Toolbar; import android.telephony.TelephonyManager; import android....
/** * Copyright (C) 2015 <NAME>, <NAME>, <NAME>, <NAME> (<EMAIL>, <EMAIL>, <EMAIL>, <EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/...
package com.jaslieb.scheduleapp.fragments; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Adapte...
package com.google.ddex.xsdtoproto; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.namespace.QName; /** * The ProtoSchema is an internal representation of a Protocol Buffer schema. This class acts as * wrapper on top o...
/* Copyright 2017-2019 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause */ package com.vmware.weathervane.workloadDriver.common.core.loadControl.loadPath; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ScheduledExecutorService; import org.slf4j.Logger; import org.slf4j.LoggerFactory;...
package com.carl.mvpdemo.pub.utils; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Random; /** * @author Carl * version 1.0 * @since 2018/7/6 */ public class StringUtils { public static String base = "abcdefghijklmnopqrstuvwxyzZ0123456789"; public sta...
/* * 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...
package draylar.battletowers.api; import com.google.common.collect.ImmutableList; import com.mojang.datafixers.util.Pair; import draylar.battletowers.BattleTowers; import draylar.battletowers.api.spawning.BiomeConditional; import draylar.battletowers.api.tower.Floor; import draylar.battletowers.api.tower.FloorCollecti...
package com.weygo.weygophone.pages.personInfo.adapter; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.weygo.common.base.JHBaseViewHolder; import com.weygo.common.base.JHRecyclerViewAdapter; import com.wey...
/* * Jpkg - Java library and tools for operating system package creation. * * Copyright (c) 2007 Three Rings Design, 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: * 1. Redistribu...
import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.joda.time.DateTime; import org.joda.tim...
/**************************************************************** * 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...
package com.example.us_2_0; import static com.example.us_2_0.CalendarUtils.daysInWeekArray; import static com.example.us_2_0.CalendarUtils.monthYearFromDate; import androidx.annotation.RequiresApi; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.GridLayoutManager; import androidx...
package com.mxgraph.canvas; import com.mxgraph.util.mxConstants; import com.mxgraph.util.mxPoint; import com.mxgraph.util.mxRectangle; import com.mxgraph.util.mxUtils; import com.mxgraph.view.mxCellState; import java.util.Hashtable; import java.util.List; import java.util.Map; import org.w3c.dom.Document; import org.w...
/** * ported to v0.56 * ported to v0.37b7 */ package mame056.vidhrdw; import static arcadeflex056.fucPtr.*; import static common.libc.cstring.*; import static common.ptr.*; import static mame056.common.*; import static mame056.commonH.*; import static mame056.drawgfx.*; import static mame056.drawgfxH.*; import st...
/* * WCommands - Yet Another Command API! <https://github.com/JonathanxD/WCommands> * * The MIT License (MIT) * * Copyright (c) 2016 TheRealBuggy/JonathanxD (https://github.com/JonathanxD/ & https://github.com/TheRealBuggy/) <<EMAIL>> * Copyright (c) contributors * * * Permission is...
package com.joymain.jecs.fi.webapp.action; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import jxl.Sheet; impo...
package com.appleframework.web; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.auth0.jwt.interfaces.Claim; import com.appleframework.web.bean.ApiDefinition; import com.appleframework.web.bean.ApiInvocation; import com.appleframework.web.bean.Callers; import com.appleframework.web....
package aoc; import java.awt.Point; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; public abstract class Day20 { public static void main(String[] args) throws IOException { final List<String> lines = InputRead...
package com.jlkj.project.ws.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonFormat; import com.jlkj.framework.aspectj.lang.annotation.Excel; import com.jlkj.framework.web.domain.BaseEntity; import io.swagger.annotations.ApiModelProperty; im...
/************************************************************************** * alpha-Portal: A web portal, for managing knowledge-driven * ad-hoc processes, in form of case files. * ============================================== * Copyright (C) 2011-2012 by * - <NAME> (http://www.chr15t0ph.de) * - and the SW...
/* Copyright 2020 The FedLearn Authors. 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 or agreed to...
/* * 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.apache.marmotta.ucuenca.wk.commons.impl; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputSt...
package ru.xander.telebot.forecast; import ru.xander.telebot.dto.Fonts; import ru.xander.telebot.util.Utils; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.time.Loc...
package org.jeecg.modules.exam.service.impl; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extensio...
/* * Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-BASE 蓝鲸基础平台 is licensed under the MIT License. * * License for BK-BASE 蓝鲸基础平台: * ----------------------------------------------...
package com.github.posdorfer; import java.awt.AWTException; import java.awt.BorderLayout; import java.awt.Color; import java.awt.MouseInfo; import java.awt.Point; import java.awt.Robot; import java.awt.event.InputEvent; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.u...
/* * Copyright (C) 2021 xiaoxiao(<EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
package cn.icrat.util.wx; import net.sf.json.JSONException; import net.sf.json.JSONObject; import java.io.BufferedReader; import java.io.File; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.ConnectException; impor...
package org.iutools.bin; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.log4j.Logger; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwp...
/* * Copyright (c) 2003-2019 Broad Institute, Inc., Massachusetts Institute of Technology, and Regents of the University of California. All rights reserved. */ package edu.mit.broad.genome.objects; import edu.mit.broad.genome.Printf; import edu.mit.broad.genome.math.Vector; import edu.mit.broad.genome.math.XMath; i...
/* * 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 co.edu.uniandes.csw.fotografia.resources; import co.edu.uniandes.csw.fotografia.dtos.OrganizadorDTO; import co.edu.uniandes.cs...
// Copyright 2016 Xiaomi, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
/* * Created on 5-jan-2005 * */ package be.peopleware.taglet; import java.io.FileWriter; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.commons.jexl.parser.Parser; import org.apache.commons.jexl.parser.SimpleN...
package framework; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.stream.Stream; /** * The top-level class of a framework for * logic-based games with AI. * <p> * The generic parameter represents the board, which * could be anything from a 2-dime...
package org.simpleframework.xml; import java.io.File; import java.io.FileOutputStream; import java.io.StringReader; import java.io.StringWriter; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.regex.Matcher; import java.util.regex.Pattern; impor...
package org.opencv.samples.colorblobdetect; import android.util.Log; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.core.MatOfPoint; import org.opencv.core.Scalar; import org.op...
package sortingpkg; import java.io.IOException; import java.io.BufferedReader; import java.io.FileReader; import java.util.ArrayList; import javax.swing.DefaultBoundedRangeModel; import javax.swing.JFrame; import javax.swing.JProgressBar; import javax.swing.SwingUtilities; /** * This file is for your sorting assign...
/* * MIT License * * Copyright 2021 vemerion * * 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,...
/* * 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 de.uros.citlab.module.workflow; import com.achteck.misc.exception.InvalidParameterException; import com.achteck.misc.param.Par...
package com.example.first.project; import android.app.Activity; import android.content.Intent; import android.graphics.drawable.ColorDrawable; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.provider.MediaStore; import android.util.DisplayMetrics; ...
/* * Copyright (C) 2015 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...
package com.umeng.socialize.view; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.SharedPreferences.Editor; import android.graphics.Bitmap; import android.net.http.SslError; import android.os.Build.VERSION; import android.os.Bundle; import android.os.Handl...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package som.mod.som.view; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Arrays; import java.util.Date; import javax.swing.JButton; import sa.lib.SLibTimeUtils; import sa.lib.d...
package sorts.quick; import main.ArrayVisualizer; import sorts.insert.InsertionSort; import sorts.templates.Sort; public class AeosQSort extends Sort { private InsertionSort insertSorter; private int[] elementAux; private int[] indexAux; private double rSleep = 0.5; private double wSleep = 0.5; public Ae...
package prov.idea.listeners; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import java.io.Serializable; import java.net.URL; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; imp...
package de.axone.web; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.io.Serializable; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import d...
package web; import java.io.UnsupportedEncodingException; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.Vector; import fr.tangv.processmanager.ProcessManager; import fr.tangv.processmanager.util.ManagerProcess; import fr.tangv.processmanager.util.ProcessPlus; ...
package gui.tabs; import crypto.AES; import crypto.DigitalEnvelope; import crypto.RSA; import crypto.RSAKeysGenerator; import javax.swing.*; import java.awt.*; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardOpenOption; import java.util.*; ...
package com.soho.codegen.chuanglan; import com.alibaba.fastjson.JSON; import com.soho.codegen.domain.DeftConfig; import com.soho.codegen.domain.DxSms; import com.soho.codegen.service.DxSmsService; import com.soho.codegen.shiro.aconst.BizErrorCode; import com.soho.ex.BizErrorEx; import com.soho.mybatis.sqlcode.aconst.S...
package cn.ian2018.hbu.centre.activity; import android.annotation.TargetApi; import android.app.ProgressDialog; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Environment; import android.support.annotation.IdRes; import android.util.Log; import android.view.View; import an...
package cla.edg.extfile.loader; import cla.edg.extfile.element.BaseElement; import cla.edg.extfile.element.LinkElement; import cla.edg.extfile.element.NodeElement; import cla.edg.extfile.element.ParamElement; import clariones.tool.builder.CONST; import clariones.tool.builder.Utils; import clariones.tool.builder.utils....
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.hardware.DcMotor; /** * This is the class that controls driving the robot */ public class DriveTrain { // Objects needed for functioning DcMotor left, right; Imu imu; double linePFactor = 0.05; double lineAllowableAngleError =...
/** * */ package com.teleca.jamendo.media; import java.io.IOException; import java.lang.ref.WeakReference; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.Cl...
/* * 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) 2010 JFrog 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 agreed to i...
/* * Copyright (c) 2013-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 agreed...
package org.nordapp.srv.boot.impl; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.apache.log4j.PropertyConfigurator; import org.i3xx.util.basic.io.FilePath;...
package com.mypurecloud.sdk.v2.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml....
/** * 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.juxtasoftware.dao.impl; import static eu.interedition.text.rdbms.RelationalTextRepository.selectTextFrom; import java.io.IOException; import java.io.Reader; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Date; import...
package com.pratamalabs.furqan; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.CheckBo...
import java.util.HashMap; import java.util.Map; public class Parser { public Lexer lexer; public Map<String, Mnemonic> mnemonics; public Parser() { initMnemonics(); } public String parseLabel() { if (lexer.col == 1 && (Character.isLetter(lexer.peek()) || lexer.peek() == '_')) { ...
package com.gallale.notes; import android.content.Context; import android.content.res.Configuration; import android.graphics.Color; import android.inputmethodservice.Keyboard; import android.os.Bundle; import androidx.appcompat.app.AppCompatDelegate; import androidx.fragment.app.Fragment; import androidx.recyclerview...
import java.io.File; import java.io.FileNotFoundException; import java.util.*; public class BiConnectedComponents { private static ArrayList<ArrayList<Integer>> edgeList = new ArrayList<ArrayList<Integer>>(); private static ArrayList<ArrayList<Integer>> stack = new ArrayList<ArrayList<Integer>>(); stat...
package tw.com.ksmt.cloud.libs; import android.app.DownloadManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.net.Uri; import android.os.AsyncTask; import android.os.Environment; import android.util.Log...