text
stringlengths
3.08k
15.2k
/* Skeleton Copyright (C) 2015, 2020 <NAME> and the Regents of the * University of California. All rights reserved. */ package loa; import org.junit.Test; import static org.junit.Assert.*; import static loa.Piece.*; import static loa.Square.sq; import static loa.Move.mv; /** Tests of the Board class API. * @auth...
package net.deepcloud.deepx.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import net.deepcloud.deepx.conf.DeepXConfiguration; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.fs.FileStatus; import org.apac...
package com.rs.game.player; import com.rs.Settings; import com.rs.cache.loaders.QuickChatOptionDefinition; import com.rs.io.OutputStream; public class QuickChatMessage extends PublicChatMessage { private QuickChatOptionDefinition option; private byte[] encoded; public QuickChatMessage(Player player, QuickChatOpt...
/************************************************************************************************** Filename: SensorTagIRTemperatureProfile.java Copyright (c) 2013 - 2015 Texas Instruments Incorporated All rights reserved not granted herein. Limited License. Texas Instruments Incorporated grants a world-w...
/* * $Id: HttpHeaderResult.java 1459687 2013-03-22 09:37:51Z lukaszlenart $ * * 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.helospark.tactview.core.timeline; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import com.helospark.tactview.core.decoder.framecache.GlobalMemoryManagerAccessor; public class AudioFrameResult { private final List<ByteBuffer> channe...
package net.contra.jmd.transformers.allatori; import net.contra.jmd.transformers.Transformer; import net.contra.jmd.util.GenericMethods; import net.contra.jmd.util.LogHandler; import net.contra.jmd.util.NonClassEntries; import org.apache.bcel.classfile.ClassParser; import org.apache.bcel.classfile.Method; import org.a...
package cn.wizzer.app.web.modules.controllers.platform.base; import cn.wizzer.app.sys.modules.services.SysUserService; import cn.wizzer.framework.base.Result; import cn.wizzer.app.web.commons.slog.annotation.SLog; import cn.wizzer.framework.page.datatable.DataTableColumn; import cn.wizzer.framework.page.datatable.Data...
package org.lambda3.indra.core; /*- * ==========================License-Start============================= * Indra Core Module * -------------------------------------------------------------------- * Copyright (C) 2016 - 2017 Lambda^3 * -------------------------------------------------------------------- * Permi...
/* * Copyright (C) 2019 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 com.github.kgeilmann.core.analysis; import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; import com.github.javaparser.ast.body.EnumDeclaration; import com.github.javaparser.ast.expr.BinaryExpr; import com.github.javaparser.ast.expr.Expression; import com.github.javaparser.ast.expr.MethodCallExpr;...
package animals; import java.util.List; import java.util.ArrayList; public class Main { private static List<Animals> filterAnimals(List<Animals> animals, AnimalsTest tester){ List<Animals> tempList = new ArrayList<>(); for (Animals a : animals){ if (tester.test(a)){ te...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.semantic.util.test; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.eve...
package org.toba.psd.callout; import java.util.Properties; import org.adempiere.base.IColumnCallout; import org.compiere.model.CalloutEngine; import org.compiere.model.GridField; import org.compiere.model.GridTab; import org.taowi.hcm.core.model.MEmployee; import org.taowi.hcm.core.model.MEmployeeJob; import org.taow...
package com.synergy.android.timetable.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.LinearLayout; import android.widget.TextView; import com.synergy.android.timetable.Appli...
/* * Copyright 2013-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 to in w...
package com.dataflair.ticgame; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.TableLayout; import android.widget.TableRow; im...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.ranking.loader; import com.mycompany.ranking_system.Run; import com.ranking.model.Match; import com.ranking.model.Result;...
/* * Copyright 2016 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...
/******************************************************************************* * Copyright 2018 Dynamic Analysis Group, Università della Svizzera Italiana (USI) * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
package org.jumpmind.symmetric.route; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.jumpmind.extension.IBuiltInExtensionPoint; impor...
/************************************************************************** * Copyright (c) 2001 by <NAME>. All rights reserved. * * * * Redistribution and use in source and binary forms, with or without * * modification, are permi...
package com.sshtools.icongenerator.swt; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Device; import org....
package org.coody.framework.rcc.asm; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.coody.framework.core.exception.base.CoodyException; import org.coody.framework.core.util...
package org.apache.hadoop.hbase; import java.nio.ByteBuffer; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import java.util.ArrayList; import java.util.Random; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.client....
/* * RHQ Management Platform * Copyright (C) 2005-2012 Red Hat, Inc. * All rights reserved. * * 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 version 2 of the License. * * This program i...
/******************************************************************************* * Copyright (c) 2007, 2015 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
package denominator; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import dagger.Module; import dagger.Provides; import denominator.Credentials.AnonymousCredentials; import denominator.Credentials.ListCredentials; import static denominator...
package com.lipata.forkauthority.api.yelp3.entities; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.lipata.forkauthority.data.AppSettings; import com.lipata.forkauthority.businesslist.BusinessListBaseItem; import com.lipata.forkauthority.businesslist.ListItemTy...
/* * 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 writ...
/** * Lucene Version used: 5.4.1 * Development Platform: Windows, Eclipse * Html Parser: Used JTidy source: https://sourceforge.net/projects/jtidy/files/JTidy/r938/jtidy-r938.zip/download * * Library: Included only lucene and jtidy archive files(jar) in respective directories * * Note: * 1. Modified the defa...
package graphql.language; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import graphql.Internal; import graphql.PublicApi; import graphql.util.TraversalControl; import graphql.util.TraverserContext; import java.util.ArrayList; import java.util.List; import java.util.M...
/** Copyright by <NAME>, 2000-2011. Licensed under MIT License: http://www.opensource.org/licenses/MIT */ package com.barrybecker4.game.twoplayer.common.search.strategy; import com.barrybecker4.game.common.GameContext; import com.barrybecker4.game.common.MoveList; import com.barrybecker4.game.twoplayer.common.TwoPlay...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2017 Synacor, Inc. * * 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, * version 2 of the License. * ...
/* * Copyright 2020 Red Hat * * 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 ...
/* * Copyright (C) 2017 Red Hat, 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 ...
package org.broadinstitute.cromstream; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import com.fasterxml.jackson.module.paramnames.ParameterNamesModule; import com.google.api.client.googleapis.aut...
package studio.sinya.jp.demo_gridviewphotowall.adapter; import android.annotation.TargetApi; import android.content.Context; import android.content.pm.PackageInfo; import android.graphics.Bitmap; import android.os.Build; import android.util.LruCache; import android.os.Environment; import android.view.LayoutInflater; i...
/* * Copyright 2018 Google LLC * * 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 wr...
package weimeng; import java.util.List; import org.json.JSONObject; import tools.EmailTool; import tools.JSONTool; import tools.TimeTool; import com.google.gson.Gson; public class WeiMeng { private static String ACCESS_TOKEN; private final static String APPID = "<KEY>"; private final static S...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
// 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...
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.server.attributes; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.u...
package com.david.calendaralarm.tabs.addalarm.alarm; import android.annotation.TargetApi; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.util.Log...
/* First created by JCasGen Sat Mar 07 22:05:57 CET 2015 */ package de.julielab.jules.types; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import org.apache....
/* * 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 acciones; import classes.Categoria; import classes.Historia; import classes.Noticia; import classes.Notificacion; i...
package com.aumum.app.mobile.ui.party; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import com.aumum.app.mobile.Injector; import com.aumum.app.mobile.R; import com.aumum.app.mobile.core.Constants; import com....
/* * Copyright (c) 2015, Surmon * 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 conditio...
package com.magazyn.API; import com.magazyn.API.exceptions.IllegalRequestException; import com.magazyn.API.exceptions.NoEndPointException; import com.magazyn.API.exceptions.NoResourceFoundException; import com.magazyn.JobType; import com.magazyn.database.Job; import com.magazyn.database.Product; import com.magazyn.dat...
/* * This class expresses how to evaluate a hand in the game of Cribbage.The program * will receive 5 cards on the command line. The first four of the cards are hand * cards and the fifth card is the start card. Then, the program will only print * out the number of points on hand. To achieve that object, another ...
/** * DijkstraGlobalLandmarks.java * * It computes the path that maximises global landmarkness between an origin and a destination. * It uses the primal graph of the street network. * */ package pedsimcity.routeChoice; import java.util.ArrayList; import java.util.HashMap; import pedsimcity.agents.AgentProperti...
package org.vitrivr.cineast.example; import org.vitrivr.cineast.core.config.ReadableQueryConfig; import org.vitrivr.cineast.core.data.CorrespondenceFunction; import org.vitrivr.cineast.core.data.FloatVector; import org.vitrivr.cineast.core.data.ReadableFloatVector; import org.vitrivr.cineast.core.data.distance.D...
/* * Copyright 2013 <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 wr...
package com.chends.note.utils; import android.app.Activity; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.Point; import android.view.Display; import android.view.WindowManager; import javax.microedition.khronos.egl.EGL10; import...
/* * Copyright 2016 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 applicable ...
/* Copyright 2010 Semantic Discovery, Inc. (www.semanticdiscovery.com) This file is part of the Semantic Discovery Toolkit. The Semantic Discovery Toolkit 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 So...
package objects; import javax.swing.*; import java.awt.*; public class AboutWin extends JDialog{ private final ImageIcon background = new ImageIcon("AboutWinBack.png"); private final ImageIcon icon = new ImageIcon("icon.png"); private final ImageIcon HuntersGuildBanner = new ImageIcon("HuntersGuildBannerSma...
package com.example.niotcpconnect; import android.content.Context; import android.os.Handler; import android.os.Message; import android.text.TextUtils; import android.util.Log; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java...
/* * Copyright 2016 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 applicabl...
/*- * * This file is part of Oracle NoSQL Database * Copyright (C) 2011, 2015 Oracle and/or its affiliates. All rights reserved. * * Oracle NoSQL Database 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 Free Softwar...
package com.sheikhsalar.automatic_silent_app; import android.Manifest; import android.annotation.SuppressLint; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm...
package fbu.spooned.adapters; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Typeface; import android.location.Location; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import android.view....
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 ~ 2010 <NAME> <<EMAIL>> <NAME> <<EMAIL>> <NAME> <<EMAIL>> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundat...
/* * * This file is part of the iText (R) project. Copyright (c) 1998-2022 iText Group NV * Authors: <NAME>, <NAME>, <NAME>, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free Softw...
package li.fyun.commons.rule.criteria; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import li.fyun.commons.rule.RuleException; import li.fyun.commons.core.criteria.Expression; import li.fyun.commons.rule.engine.IParam; import li.fyun.commons.rule.enums.RuleComparator; import li.fyun.commons.rule.enums...
/* * This file is part of the L2JServer project. * * 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 pr...
package net.ddns.mlsoftlaberge.trycorder.trycorder; /* * By <NAME> (mlsoft), From March 2016 to november 2016. * Licence: Can be shared with anyone, for non profit, provided my name stays in the comments. * This is a conglomerate of examples codes found in differents public forums on internet. * I just used the pu...
package ball.maven.plugins.license; /*- * ########################################################################## * License Maven Plugin * %% * Copyright (C) 2020 - 2022 <NAME> * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lice...
/*<license> Copyright 2004, PeopleWare n.v. NO RIGHTS ARE GRANTED FOR THE USE OF THIS SOFTWARE, EXCEPT, IN WRITING, TO SELECTED PARTIES. </license>*/ package be.peopleware.jsf_II.i18n; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.Locale; import java.uti...
/* Assignment 1 * English to PigLatin Translator * <NAME> * 02/01/2016 */ package Assignment1; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Tr...
package com.github.liuche51.easyTaskX.dao; import com.github.liuche51.easyTaskX.dao.dbinit.DbInit; import com.github.liuche51.easyTaskX.dto.db.ScheduleBak; import com.github.liuche51.easyTaskX.util.DateUtils; import com.github.liuche51.easyTaskX.util.DbTableName; import org.sqlite.SQLiteException; import java.sql.Res...
/* * Copyright 2018-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...
/** * Copyright 2011, 2012 <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...
package com.mongodb.quickstart; import com.mongodb.client.MongoClient; import com.mongodb.client.MongoClients; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoDatabase; import com.mongodb.client.model.InsertManyOptions; import org.bson.Document; import org.bson.conversions.Bson; import java....
/* * MIT License * * Copyright (c) 2020 Azercoco & Technici4n * * 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, ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.ghstudios.android.ui.detail; import android.content.Context; import android.content.res.AssetManager; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.v4.app.ListFragment; import android.support.v4.app.Lo...
/* LICENSE Copyright (c) 2013-2016, <NAME> (<EMAIL>) 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 code must retain the above copyright notice, this list of conditions ...
package com.codicesoftware.plugins.hudson; import com.codicesoftware.plugins.hudson.actions.CheckoutAction; import com.codicesoftware.plugins.hudson.actions.RemoveWorkspaceAction; import com.codicesoftware.plugins.hudson.model.ChangeSet; import com.codicesoftware.plugins.hudson.model.Server; import com.codicesoftware....
/* The MIT License (MIT) * * Copyright (c) 2014 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
package com.jwoolston.android.uvc.interfaces.streaming; import android.support.annotation.NonNull; import com.jwoolston.android.uvc.util.Hexdump; import timber.log.Timber; /** * The Uncompressed Video Format descriptor defines the characteristics of a specific video stream. It is used for * formats that carry unc...
/** * This file is licensed under the terms of the Modified BSD License. */ package org.abs_models.backend.erlang; import java.io.BufferedReader; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; impo...
/* * MIT License * * Copyright (c) 2022 Overrun Organization * * 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, c...
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
package com.jd.blockchain.crypto.service.sm; import static com.jd.blockchain.crypto.CryptoKeyType.SYMMETRIC; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.jd.blockchain.crypto.CryptoAlgorithm; import com.jd.blockchain.crypto.CryptoBytes; import com.jd.blockchain.cryp...
package com.zerol.crm.common.tag; /** * Created by gaoqiang on 2/2/2015. */ import javax.servlet.jsp.JspException; import javax.servlet.jsp.JspWriter; import javax.servlet.jsp.tagext.TagSupport; import java.io.IOException; /*** * 分页控件 */ public class PageTag extends TagSupport { private static final long se...
/* * Copyright 2022 ThoughtWorks, 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 agr...
/** * 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 ...
package artech.com.semi.normal; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.BottomNavigationView; import android.support.design.widget.TabLayout; import android.supp...
import java.io.*; import java.lang.Math; import java.util.ArrayList; import java.math.BigInteger; public class MethylStatScore { public static final double lambda = 1/35.95704; public static int INTERVAL = 100; public static int THRESHOLD = 20; public static final double LOG_2 = Math.log(2.0); pu...
/* * Copyright (C) 2017 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 2011 <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...
package com.webank.weevent.broker.fisco.util; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import com.webank.weevent.broker.config.FiscoConfig; import com.webank.weevent.broker.fisco.constant.WeEventConstants; import com.webank.weeve...
package com.taobao.tddl.rule; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.google.common.collect.Lists; import com.taobao.tddl.rule.exceptions.RouteCompareDiffException; import com.taobao.tddl.rule.model.Field; import com.taobao.tddl....
package miltos.diploma.calibration; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.util.Iterator; import miltos.diploma.evaluation.Project; import miltos.diploma.qualitymodel.Property; import org.apache.poi...
/* * Copyright (C) 2018 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...
/* * A CCNx library test. * * Copyright (C) 2008-2012 Palo Alto Research Center, Inc. * * This work is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 2 as published by the * Free Software Foundation. * This work is distributed in the hope tha...
package com.uc4.ara.feature.utils; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.text.ParseException; public class WindowsShortcut { private boolean isDirectory; private boolean isLocal; private String ...
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning 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 ver...