text
stringlengths
7.32k
45.1k
/******************************************************************************* * Copyright 2020 <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/li...
import com.google.gson.Gson; import com.google.gson.JsonObject; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.*; import java.net.URL; import java.net.URLConnection; import java.util.Arrays; import java.util.List; import java.ut...
package com.example.freeze_tag.object_detection; /* * Copyright 2016 The TensorFlow 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....
package org.bc.jce.provider; import java.io.IOException; import java.security.InvalidAlgorithmParameterException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.Principal; import java.security.PublicKey; import java.security.cert.CertPath; import java....
package aserg.gtf.task; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.apache.commons.lang3.StringUtils; import aserg.gtf.dao.GitHubDeveloperDAO; import aserg.gtf.dao.UserAliasInfoDAO; import a...
/* * Copyright © 2012 jbundle.org. All rights reserved. */ package com.concordia.SOEN6461.util.calandar; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Image; import java.awt.Insets; import java.awt.Rectangle; import java.awt.dnd.DropTarget; import java.text.DateFormat; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package util; import parser.CustomScanner; import parser.MathExpression; import parser.Operator; import parser.Variable; import java.util.*; /** * * @author <NAME> */ public class VariableManager { public stat...
/* This file is part of the BlueJ program. Copyright (C) 1999-2009,2012,2013,2014,2015,2016,2017,2018,2019 <NAME> and <NAME> 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 2...
package com.startapp.android.publish.ads.video; import android.content.Context; import com.mopub.common.AdType; import com.startapp.android.publish.ads.video.c; import com.startapp.android.publish.ads.video.c.a.d; import com.startapp.android.publish.ads.video.g; import com.startapp.android.publish.ads.video.h; import ...
/* * Copyright 2017 Huawei Technologies 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 copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* Copyright (C) 2013-2021 <NAME> * This file is part of LearnLib, http://www.learnlib.de/. * * 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 kaiju.tools.ghihorn.tools.apianalyzer; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.HierarchyEvent; import java.awt.event.HierarchyListener; import java.io.File; impo...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/** * Copyright 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 to in ...
package babroval.storage.view; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.sw...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("h") @Implements("WorldMapData_0") public class WorldMapData_0 extends AbstractWorldMapD...
/** * RELOAD TOOLS * * Copyright (c) 2003 <NAME>, <NAME>, <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 rig...
/** * Copyright 2011 The Open Source Research Group, * University of Erlangen-Nürnberg * * 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...
package fr.syncrase.ecosyst.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.io.Serializable; import javax.persistence.*; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; /** * A ClassificationCronquist. */ @Entity @Table(name = "cla...
package org.testah.framework.cli; import net.sourceforge.argparse4j.ArgumentParsers; import net.sourceforge.argparse4j.impl.Arguments; import net.sourceforge.argparse4j.inf.*; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.testah.TS; import org.testah.client.dto.TestCas...
package me.marcosassuncao.servsim.profile; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.Map; import java.util.TreeMap; import com.google.common.base.MoreObjects; /** * This class represents the profile containing the ranges of PEs * available at given simulat...
/****************************************************************************** * Copyright 2020 Stevens Institute of Technology, Collective Design Lab * * 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 t...
package uk.gov.hmcts.reform.workallocation.model; import net.serenitybdd.junit.runners.SerenityRunner; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import uk.gov.hmcts.reform.workallocation.exception.CaseTransformException; import uk.gov.hmcts.reform.workallocation.services.CcdConn...
/** * */ package com.oregonscientific.meep.meepmusic.media; import java.io.IOException; import java.util.List; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import...
package jasper; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import shared.Parser; import shared.PreParser; import shared.Timer; public class NCBISparseTreeValidate { /*----------------...
package main.gameobjects; import android.graphics.Canvas; import android.graphics.Paint; import android.util.Log; import android.util.SparseArray; import java.util.ArrayList; import java.util.Collections; import java.util.Vector; import main.Constants; public class GameObjectContainer { private static int field...
package net.sony.dpt.command.root; import com.android.ddmlib.*; import net.dongliu.apk.parser.ApkFile; import net.sony.dpt.data.extmgr.ExtMgrDao; import net.sony.dpt.zeroconf.FindDigitalPaper; import net.sony.util.ImageUtils; import net.sony.util.LogWriter; import net.sony.util.ProgressBar; import org.apache.commons.i...
package com.hzf.core.toolkit; import com.hzf.core.common.DataTable; import jxl.Sheet; import jxl.Workbook; import jxl.format.Alignment; import jxl.format.Border; import jxl.format.BorderLineStyle; import jxl.format.Colour; import jxl.format.VerticalAlignment; import jxl.write.*; import javax.servlet.http.HttpServletR...
package com.example.p2p.core; import android.os.Handler; import android.os.Looper; import android.os.Message; import com.example.p2p.app.App; import com.example.p2p.bean.Audio; import com.example.p2p.bean.Document; import com.example.p2p.bean.Image; import com.example.p2p.bean.ItemType; import com.example.p2p.bean.Me...
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it ...
package com.mrh0.gbemu.memory; import com.mrh0.gbemu.Emulator; import com.mrh0.gbemu.io.CartridgeSaves; public class Memory { private byte[] ram; private byte[] cram; private byte[] rom; private byte[] wram; private byte[] vram1; private Emulator emulator; private int FF6C = 0xfe; public Memory(Emula...
package com.ibm.commerce.cmt; /* *----------------------------------------------------------------- * Copyright 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
package org.tensorflow.yolo; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.media.Aud...
/* * Copyright (C) 2010 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 agree...
/* * DeepImageJ * * https://deepimagej.github.io/deepimagej/ * * Reference: DeepImageJ: A user-friendly environment to run deep learning models in ImageJ * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>. * Submitted 2021. * Bioengineering and Aerospace Engineering Department, Universi...
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restrictio...
/** * Copyright 2016 SPeCS. * * 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,...
package raifoundation.rai; import android.Manifest; import android.app.DownloadManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.ActivityInfo; import an...
package com.packt.javapath.ch14demo; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.NavigableMap; import java.util.NavigableSet; import jav...
package ee.ioc.cs.vsle.vclass; /*- * #%L * CoCoViLa * %% * Copyright (C) 2003 - 2017 Institute of Cybernetics at Tallinn University of Technology * %% * 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 ...
package projectzulu.common.dungeon; import net.minecraft.client.Minecraft; import net.minecraft.client.audio.PositionedSoundRecord; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.renderer.Tessellator; import net.minecraft.entity.EntityList; import net.minecraft.entity.EntityLivingBase; import n...
package fr.insee.arc.web.action; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.logging.log4j.LogManag...
package com.github.tDBN.dbn; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Stack; import com.github.tDBN.utils.Edge; public class Dynamic...
package org.batfish.minesweeper.nv; import static org.batfish.minesweeper.CommunityVarCollector.collectCommunityVars; import static org.batfish.minesweeper.bdd.CommunityVarConverter.toCommunityVar; import static org.batfish.minesweeper.nv.ast.NVExpBuilder.isFalse; import static org.batfish.minesweeper.nv.ast.NVExpBuil...
/* * 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 com.lostagain.JamGwt.JargScene; import java.util.logging.Logger; import com.darkflame.client.interfaces.SSSGenericFileManager.FileCallbackError; import com.darkflame.client.interfaces.SSSGenericFileManager.FileCallbackRunnable; import com.google.gwt.user.client.ui.FocusPanel; import com.google.gwt.user.client...
/* * Copyright 2017-2020 original 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
// mojo.java - Test encode/decode of UTF-8. // From "<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 /* by the Free Software Foundati...
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * OpenAPI spec version: 0.8.6 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package io.swagger.client.eve.model; import java....
/* * 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 2013-present Facebook, 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...
/* * 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 2014 The Bazel 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 appl...
/* * 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 ij.plugin; import ij.*; import ij.gui.*; import ij.process.*; import ij.measure.*; import ij.plugin.frame.RoiManager; import java.awt.*; import java.awt.event.KeyEvent; /** This plugin implements the commands in the Edit/Section submenu. */ public class Selection implements PlugIn, Measurements {...
package com.example.shaketosend; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.example.connectutils.Se...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Zimbra, Inc. * * The contents of this file are subject to the Zimbra Public License * Version 1.3 ("License"); you may not use this file except in * compliance with the License. You ...
/* * 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...
package me.ionar.salhack.module.render; import net.minecraft.block.Block; import net.minecraft.block.BlockShulkerBox; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.inventory.GuiChest; import net.minecraft.client.gui.inventory.GuiShulkerBox; import net.minecraft.client.renderer.GlStateManager; ...
/** * Copyright 2015 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...
/* * 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 ZXing 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 applicable law or agr...
/* * Javassist, a Java-bytecode translator toolkit. * Copyright (C) 1999- <NAME>. All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. Alternatively, the contents of this file...
/** * This document is a part of the source code and related artifacts for * CollectionSpace, an open source collections management system for museums and * related institutions: * * http://www.collectionspace.org http://wiki.collectionspace.org * * Copyright (c)) 2009 Regents of the University of California * ...
package strgen; import java.io.DataOutputStream; import java.io.IOException; public class Emitter { private static final String MISSING_CLOSING = "Missing } from command '%s'"; private final DataOutputStream f; int _put_pos; int _cur_argidx; String _cur_ident = "??"; // Used when generating some advanced com...
/* * 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 com.isseiaoki.simplecropview.util; import android.annotation.TargetApi; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap...
/* * Copyright 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/******************************************************************************* * Copyright (c) 2009-2011 Luaj.org. 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 wit...
/* * Copyright (c) 2011-2019 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is available at https:...
/** * 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 2012-2015 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 ap...
// @(#)MemoryMonitor.java 7/2003 // Copyright (c) 1998-2003, Distributed Real-time Computing Lab (DRCL) // 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. Redistributions of source ...
/* * Copyright (c) 2014-2022 by <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package mobcom.iacademy.thesis.event.controller; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import andr...
/* * 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.caidongdong.aestheticism.fragment; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.content.res.Configuration; import android.database.Cursor; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.net.Uri...
/* * 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 org.greenplum.pxf.plugins.hive; /* * 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 Lice...
package me.jingbin.scenery; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.PorterDuff; import android.graphics.Port...
package org.nutz.dao.impl.entity; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.sql.Connection; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.sql.DataSourc...
package com.clanassist.backend.Tasks; import android.content.Context; import android.os.AsyncTask; import androidx.annotation.NonNull; import com.clanassist.CAApp; import com.clanassist.backend.ParserHelper; import com.clanassist.model.Factory; import com.clanassist.model.enums.StatsChoice; import com.clanassist.mode...
package com.amazonaws.athena.connector.lambda.examples; /*- * #%L * Amazon Athena Query Federation SDK * %% * Copyright (C) 2019 Amazon Web Services * %% * 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 ...
/** * Copyright 2015 <NAME> - Trento RISE * * 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 ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.messaging.eventhubs; import com.azure.core.amqp.exception.AmqpException; import com.azure.core.amqp.implementation.AmqpReceiveLink; import com.azure.core.amqp.implementation.MessageSerializer; import com....
package utils; import java.awt.Color; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.Stack; /** * Java Code to get a color name from rgb/hex value/awt color * * The part of looking up a color name from the rgb values is edited from * https://gist.github.com/nigh...
/** * 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...
package org.fife.ctags; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; /** * A class capable of reading a ctags file and searching for identifiers in it. * CTags are a useful little tool for things like programmers' text editors. * See http://ctags.sou...
/* * 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 2018 Huawei Technologies Co., Ltd. * Copyright 2020 Nokia. * * 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 * * Unl...
/* * * 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"); ...
/* * 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 ...
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/** * 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 datawave.query.index.lookup; import com.google.common.base.Function; import com.google.common.base.Preconditions; import com.google.common.base.Predicates; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.FluentIterable; import com.google.common.collect.Iterables; import com...
/* * 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 org.dnal.compiler.dnalgenerate; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.dnal.api.impl.CompilerContext; import org.dnal.compiler.et.XErrorTracker; import org.dnal.compiler.nrule.UniqueRule; import org.dnal.compiler.parser.DNALDocument; import o...
/* * GraphPlugin.java * * Copyright (C) 2010 <NAME> * * Last modified by $Author$ on $Date$. * * Licensed under the Academic Free License version 3.0 * http://www.opensource.org/licenses/afl-3.0.php * http://www.coreasm.org/afl-3.0.php * */ package org.coreasm.network.plugins.graph; import java.awt.D...
/* * Copyright 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...