code
stringlengths 3
1.01M
| repo_name
stringlengths 5
116
| path
stringlengths 3
311
| language
stringclasses 30
values | license
stringclasses 15
values | size
int64 3
1.01M
|
|---|---|---|---|---|---|
# Deprecated in favor of [Apple News App](https://www.apple.com/news/)
## (Unofficial) Mac Rumors App for iOS
The app fetches the RSS feed of http://www.macrumors.com and displays them in a Table view.
### Features included:
* Works on iPhone and iPads
* Saving articles as favorites
* Sorting favorite articles based on title, date published and the order they were added in.
* Sharing articles to twitter, facebook and email by using the [TiSocial.Framework](https://github.com/viezel/TiSocial.Framework/)
* Offline Mode - Saves the feed for off-line viewing.
* Customisation option to change the colour scheme of the app.
* Sound FX - volume can be adjusted in the settings
### Screenshots

### Dependency
The app uses the excellent [TiSocial.Framework](https://github.com/viezel/TiSocial.Framework/tree/master/dist) module:
To install it on Mac OS X place the extracted folder in the `~/Library/Application Support/Titanium/modules/` folder. Where `~` is your home folder
For Windows 7 extract the folder into: `C:\Users\username\AppData\Roaming`
Or in Titanium Studio you can go to `Help > Install Mobile Module`.
### Install
The app can be complied by using Titanium Studio or the [Titanium CLI](https://github.com/appcelerator/titanium). An Apple iOS Developer account with a registered UDID device is needed to install the app on the device.
#### Install using Titanium CLI
First get [Xcode](https://developer.apple.com/xcode/) and [Node.js](https://nodejs.org/)
1. Install Titanium CLI:
```sh
npm install -g titanium
```
2. Get Titanium SDK:
*If you install the latest version make sure that you modify `tiapp.xml` accordingly.*
```sh
titanium sdk install 3.5.1.GA # or get the latest version: titanium sdk install --default
```
3. Install TiSocial.Framework
Install version 1.8.2 of the [TiSocial.Framework](https://github.com/viezel/TiSocial.Framework/tree/master/dist) module.
*If you install the latest version make sure that you modify `tiapp.xml` accordingly.*
4. cd into the directory:
```sh
cd Mac-Rumors-iOS-app
```
5. Build:
```sh
titanium build -p ios
titanium build -p ios --target <value> # one of: simulator, device, dist-appstore, or dist-adhoc.
titanium build -p ios --device-id <name> # Name of the device or emulator to install the application to.
titanium build -p ios --sim-type <type> # iphone or ipad
```
More Titanium CLI options: http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_Command-Line_Interface_Reference
### Change log
See: [CHANGELOG.md](../master/CHANGELOG.md).
# Boring legal stuff
### Appcelerator License:
----------------------------------
Stuff our legal folk make us say:
Appcelerator, Appcelerator Titanium and associated marks and logos are
trademarks of Appcelerator, Inc.
Titanium is Copyright (c) 2008-2013 by Appcelerator, Inc. All Rights Reserved.
Titanium is licensed under the Apache Public License (Version 2). Please
see the LICENSE file for the full license.
### The MIT License (MIT)
Copyright (c) 2013 Sebstian Schmidt and Paris Moletti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
publicarray/Mac-Rumors-iOS-app
|
README.md
|
Markdown
|
apache-2.0
| 4,250
|
# -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoAlertPresentException
import unittest, time, re
class Untitled(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Firefox()
self.driver.implicitly_wait(30)
self.base_url = "http://localhost/"
self.verificationErrors = []
self.accept_next_alert = True
def test_untitled(self):
driver = self.driver
driver.get(self.base_url + "/php4dvd/")
driver.find_element_by_id("username").clear()
driver.find_element_by_id("username").send_keys("admin")
driver.find_element_by_name("password").clear()
driver.find_element_by_name("password").send_keys("admin")
driver.find_element_by_name("submit").click()
driver.find_element_by_css_selector("img[alt=\"Add movie\"]").click()
driver.find_element_by_name("name").clear()
driver.find_element_by_name("name").send_keys() #send_keys("aaaaaaaaaaaaaaaaa")
driver.find_element_by_name("year").clear()
driver.find_element_by_name("year").send_keys("1977")
driver.find_element_by_css_selector("img[alt=\"Save\"]").click()
driver.find_element_by_id("submit").click()
driver.find_element_by_css_selector("img[alt=\"Own\"]").click()
def is_element_present(self, how, what):
try: self.driver.find_element(by=how, value=what)
except NoSuchElementException as e: return False
return True
def is_alert_present(self):
try: self.driver.switch_to_alert()
except NoAlertPresentException as e: return False
return True
def close_alert_and_get_its_text(self):
try:
alert = self.driver.switch_to_alert()
alert_text = alert.text
if self.accept_next_alert:
alert.accept()
else:
alert.dismiss()
return alert_text
finally: self.accept_next_alert = True
def tearDown(self):
self.driver.quit()
self.assertEqual([], self.verificationErrors)
if __name__ == "__main__":
unittest.main()
|
gena701/Seleniun_php4dvd_lesson2_Rovinsky
|
php4dvd/php4dvd_negative.py
|
Python
|
apache-2.0
| 2,371
|
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (collectively, the
* "License"). You may not use this file except in compliance with the
* License. You can obtain a copy of the License at
* http://www.netbeans.org/cddl-gplv2.html
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
* specific language governing permissions and limitations under the
* License. When distributing the software, include this License Header
* Notice in each file and include the License file at
* nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the
* License Header, with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* Contributor(s):
* The Original Software is NetBeans. The Initial Developer of the Original
* Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
* Microsystems, Inc. All Rights Reserved.
*
* If you wish your version of this file to be governed by only the CDDL
* or only the GPL Version 2, indicate your decision by adding
* "[Contributor] elects to include this software in this distribution
* under the [CDDL or GPL Version 2] license." If you do not indicate a
* single choice of license, a recipient has the option to distribute
* your version of this file under either the CDDL, the GPL Version 2 or
* to extend the choice of license to its licensees as provided above.
* However, if you add GPL Version 2 code and therefore, elected the GPL
* Version 2 license, then the option applies only if the new code is
* made subject to such option by the copyright holder.
*/
package org.netbeans.lib.profiler.heap;
import java.util.List;
/**
* represents instance of array of primitive type
* @author Tomas Hurka
*/
public interface PrimitiveArrayInstance extends Instance {
//~ Methods ------------------------------------------------------------------------------------------------------------------
/**
* returns number of elements in the array (arr.length).
* <br>
* Speed: fast
* @return number of elements in the array
*/
int getLength();
/**
* returns list of element values. The elements are instances of {@link String}.
* The list is ordered as the original array.
* <br>
* Speed: slow
* @return list{@link String} of elements values.
*/
List<Object> getValues();
}
|
sskorol/jvm-tools
|
hprof-heap/src/main/java/org/netbeans/lib/profiler/heap/PrimitiveArrayInstance.java
|
Java
|
apache-2.0
| 3,040
|
# Magento-addressAutoComplete
Magneto checkout address autocompelete
only Test CANADA AND USA for magento default checkout.
|
curkle/Magento-addressAutoComplete
|
README.md
|
Markdown
|
apache-2.0
| 126
|
/**
* maps4cim - a real world map generator for CiM 2
* Copyright 2013 Sebastian Straub
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package de.nx42.maps4cim.gui.window;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.lang.reflect.Field;
import java.util.List;
import javax.swing.JButton;
import javax.xml.bind.annotation.XmlRootElement;
import net.sf.oval.ConstraintViolation;
import net.sf.oval.context.FieldContext;
import net.sf.oval.context.OValContext;
import de.nx42.maps4cim.gui.util.event.Event;
import de.nx42.maps4cim.gui.window.template.TextFieldPanel;
public class ConstraintViolationReportWindow extends TextFieldPanel {
private static final long serialVersionUID = 5583448871617188269L;
protected List<ConstraintViolation> cvs;
protected Event resetConfigEvent;
public ConstraintViolationReportWindow(Window owner) {
super(owner, "Configuration-Problems", "");
setBounds(200, 150, 450, 400);
JButton resetButton = new JButton("Reset All");
resetButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
resetConfigEvent.fire();
dispose();
}
});
buttonPane.add(resetButton);
}
public ConstraintViolationReportWindow(Window owner, List<ConstraintViolation> cvs) {
this(owner);
setViolations(cvs);
}
public void setViolations(List<ConstraintViolation> cvs) {
this.cvs = cvs;
setText(formatViolations(cvs));
}
public static String formatViolations(List<ConstraintViolation> cvs) {
StringBuilder sb = new StringBuilder(256);
// intro
sb.append("<html>");
sb.append("<p>There ").append(cvs.size() == 1 ? "is" : "are")
.append(" <b>").append(cvs.size()).append(" problem");
if(cvs.size() > 1)
sb.append("s");
sb.append("</b> with your configuration. You should review the errors below:</p>");
// list
sb.append("<ul>");
for (ConstraintViolation cv : cvs) {
sb.append("<li>");
// invalid value ?x for field ?f [?type] in context ?c
sb.append(cv.getMessage());
sb.append(" <font color=#999999>(invalid value <i>");
sb.append(cv.getInvalidValue());
sb.append("</i>");
OValContext context = cv.getContext();
if(context != null && context instanceof FieldContext) {
FieldContext fc = (FieldContext) cv.getContext();
Field field = fc.getField();
sb.append(" for field <i>");
sb.append(field.getName());
sb.append("</i> [<i>");
sb.append(field.getType().getSimpleName());
sb.append("</i>] in context <i>");
sb.append(field.getDeclaringClass().getAnnotation(XmlRootElement.class).name());
sb.append("</i>)</font>");
} else {
sb.append(")</font>");
}
sb.append("</li>");
}
sb.append("</ul>");
// end
sb.append("</html>");
return sb.toString();
}
public Event getResetConfigEvent() {
return resetConfigEvent;
}
public void setResetConfigEvent(Event resetConfigEvent) {
this.resetConfigEvent = resetConfigEvent;
}
/**
* @return the list of ConstraintViolations
*/
public List<ConstraintViolation> getViolations() {
return cvs;
}
}
|
Klamann/maps4cim
|
maps4cim-gui/src/main/java/de/nx42/maps4cim/gui/window/ConstraintViolationReportWindow.java
|
Java
|
apache-2.0
| 4,148
|
/**************************************************************************
ScreenShotCallbackArguments.java is part of Titanium4j Mobile 3.0. Copyright 2012 Emitrom 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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
**************************************************************************/
package com.emitrom.ti4j.mobile.client.media;
import com.emitrom.ti4j.mobile.client.blob.Blob;
import com.emitrom.ti4j.core.client.ProxyObject;
import com.google.gwt.core.client.JavaScriptObject;
/**
* Contains screenshot data
*/
public class ScreenShotCallbackArguments extends ProxyObject {
protected ScreenShotCallbackArguments() {
}
ScreenShotCallbackArguments(JavaScriptObject obj) {
jsObj = obj;
}
/**
*
*/
public native Blob getMedia() /*-{
var jso = this.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()();
var obj = jso.media;
var toReturn = @com.emitrom.ti4j.mobile.client.blob.Blob::new(Lcom/google/gwt/core/client/JavaScriptObject;)(obj);
return toReturn;
}-*/;
}
|
CraigAndrew/titanium4j
|
src/com/emitrom/ti4j/mobile/client/media/ScreenShotCallbackArguments.java
|
Java
|
apache-2.0
| 1,542
|
<!DOCTYPE html>
<html>
<head>
<title>Assignment 4 - Pietro Ferretti</title>
</head>
<body>
<div class="container">
<div class='row'>
<div class='col-lg-12'>
<h1>Assignment 4 by Pietro Ferretti</h1>
<p>Our server is running at <code>{{ url_for('first_page', _external=True) }}</code></p>
</div>
</div>
<h4>
Reasoning
<input data-toggle="toggle" type="checkbox" id="reascheck">
<small>Use this button to toggle reasoning on and off</small>
</h4>
<p>Use this button to toggle reasoning on and off</p>
<div class='row'>
<div class='col-lg-6'>
<h3>Which dishes can be served in a specific course?</h3>
<p>In this section we can look for all the dishes in our ontology listed as servable under a certain course. </p>
<p>Without inference the server cannot find the ice creams under Desserts because this connection is not explicit, but defined with restrictions.</p>
<p>Select a course:</p>
<p>
<select class="form-control" id="selectcourse">
<option value="Appetizer">Appetizer</option>
<option value="FirstCourse">First Course</option>
<option value="SecondCourse">Second Course</option>
<option value="Dessert">Dessert</option>
</select>
</p>
<p>Click the button to query the database.</p>
<div><a id="linkcourses" class='btn btn-primary'>Press me!</a></div>
</div>
<div class='col-lg-6'>
<h3>Output</h3>
<div id="linktarget1" class='well' style='height: 15em; scroll: both; overflow: auto;'>This is where the server response will appear.</div>
</div>
</div>
<div class='row'>
<div class='col-lg-6'>
<h3>Type of dishes</h3>
<p>Find all the dishes classified under one of these broad categories.</p>
<p>Without reasoning nothing will be found at all, because all the categories are defined indirectly through restrictions, and no explicit assertions are actually made.</p>
<p>Select a type:</p>
<p>
<select class="form-control" id="selectdish">
<option value="PastaDish">Pasta dishes</option>
<option value="MeatSecondCourse">Second course meat dishes</option>
<option value="ComplexDish">Complex dishes</option>
<option value="HealthyDish">Healthy dishes</option>
<option value="FitnessDish">Fitness dishes</option>
<option value="IceCreamDessert">Ice cream desserts</option>
</select>
</p>
<p>Click the button to query the database.</p>
<div><a id="linkdishes" class='btn btn-primary'>Press me!</a></div>
</div>
<div class='col-lg-6'>
<h3>Output</h3>
<div id="linktarget2" class='well' style='height: 15em; scroll: both; overflow: auto;'>This is where the server response will appear.</div>
</div>
</div>
<script src='{{ url_for("static", filename="js/jquery-1.11.0.min.js") }}' type='text/javascript'></script>
<script src='{{ url_for("static", filename="js/tutorial.js") }}' type='text/javascript'></script>
</body>
</head>
|
PietroFerretti/sw-assignment4
|
src/templates/index.html
|
HTML
|
apache-2.0
| 3,028
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Mon Jun 24 22:25:09 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.hbase.rest.provider.consumer.ProtobufMessageBodyConsumer (HBase 0.94.9 API)
</TITLE>
<META NAME="date" CONTENT="2013-06-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.hadoop.hbase.rest.provider.consumer.ProtobufMessageBodyConsumer (HBase 0.94.9 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../org/apache/hadoop/hbase/rest/provider/consumer/ProtobufMessageBodyConsumer.html" title="class in org.apache.hadoop.hbase.rest.provider.consumer"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../../index.html?org/apache/hadoop/hbase/rest/provider/consumer//class-useProtobufMessageBodyConsumer.html" target="_top"><B>FRAMES</B></A>
<A HREF="ProtobufMessageBodyConsumer.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<CENTER>
<H2>
<B>Uses of Class<br>org.apache.hadoop.hbase.rest.provider.consumer.ProtobufMessageBodyConsumer</B></H2>
</CENTER>
No usage of org.apache.hadoop.hbase.rest.provider.consumer.ProtobufMessageBodyConsumer
<P>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../org/apache/hadoop/hbase/rest/provider/consumer/ProtobufMessageBodyConsumer.html" title="class in org.apache.hadoop.hbase.rest.provider.consumer"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../../index.html?org/apache/hadoop/hbase/rest/provider/consumer//class-useProtobufMessageBodyConsumer.html" target="_top"><B>FRAMES</B></A>
<A HREF="ProtobufMessageBodyConsumer.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
|
zqxjjj/NobidaBase
|
docs/apidocs/org/apache/hadoop/hbase/rest/provider/consumer/class-use/ProtobufMessageBodyConsumer.html
|
HTML
|
apache-2.0
| 6,634
|
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>Topic 01 -- Abstracts with Biological Entities (English) - 75 Topics / Sub-Topic Model 21 - 15 Topics</title>
<style>
table {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #ddd;
padding: 8px;
}
tr:nth-child(even){background-color: #f2f2f2;}
tr:hover {background-color: #ddd;}
th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #0099FF;
color: white;
}
</style>
</head>
<body>
<h2>Topic 01 -- Abstracts with Biological Entities (English) - 75 Topics / Sub-Topic Model 21 - 15 Topics</h2>
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
<th></th>
<th>cite ad</th>
<th>title</th>
<th>authors</th>
<th>publish year</th>
<th>publish time</th>
<th>dataset</th>
<th>abstract mentions covid</th>
<th>pmcid</th>
<th>pubmed id</th>
<th>doi</th>
<th>cord uid</th>
<th>topic weight</th>
<th>Similarity scispacy</th>
<th>Similarity specter</th>
</tr>
</thead>
<tbody>
<tr>
<th id="y9jro9gt";>1</th>
<td>You_H_2017</td>
<td>Simultaneous detection of respiratory syncytial virus and human metapneumovirus by one-step multiplex real-time RT-PCR in patients with respiratory symptoms</td>
<td>You, Huey-Ling; Chang, Shun-Jen; Yu, Hong-Ren; Li, Chia-Chin; Chen, Chang-Han; Liao, Wei-Ting</td>
<td>2017</td>
<td>2017-03-27</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5368990" target="_blank">PMC5368990</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28347279.0" target="_blank">28347279.0</a></td>
<td><a href="https://doi.org/10.1186/s12887-017-0843-7" target="_blank">10.1186/s12887-017-0843-7</a></td>
<td>y9jro9gt</td>
<td>0.951220</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#nilhztjf">Song_2014</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="917uwsgx";>2</th>
<td>Cui_A_2013</td>
<td>The Development and Application of the Two Real-Time RT-PCR Assays to Detect the Pathogen of HFMD</td>
<td>Cui, Aili; Xu, Changping; Tan, Xiaojuan; Zhang, Yan; Zhu, Zhen; Mao, Naiying; Lu, Yiyu; Xu, Wenbo</td>
<td>2013</td>
<td>2013-04-18</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3630163" target="_blank">PMC3630163</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23637836.0" target="_blank">23637836.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0061451" target="_blank">10.1371/journal.pone.0061451</a></td>
<td>917uwsgx</td>
<td>0.936347</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#4rbrzv5o">Choudhary_2013</a>, <a href="Topic_01.html#03hvi4el">Rodrigues_2011</a></td>
</tr>
<tr>
<th id="mwc7qsj4";>3</th>
<td>Wang_2019</td>
<td>Duplex real-time RT-PCR assay for detection and subgroup-specific identification of human respiratory syncytial virus</td>
<td>Wang, Lijuan; Piedra, Pedro A.; Avadhanula, Vasanthi; Durigon, Edison L.; Machablishvili, Ann; López, María-Renée; Thornburg, Natalie J.; Peret, Teresa C.T.</td>
<td>2019</td>
<td>2019-09-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31181218.0" target="_blank">31181218.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.113676" target="_blank">10.1016/j.jviromet.2019.113676</a></td>
<td>mwc7qsj4</td>
<td>0.892509</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_12.html#zarq507s">Pulford_2004</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td></td>
</tr>
<tr>
<th id="in29sfj7";>4</th>
<td>Scheltinga_2005</td>
<td>Diagnosis of human metapneumovirus and rhinovirus in patients with respiratory tract infections by an internally controlled multiplex real-time RNA PCR</td>
<td>Scheltinga, S.A.; Templeton, K.E.; Beersma, M.F.C.; Claas, E.C.J.</td>
<td>2005</td>
<td>2005-08-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15994117.0" target="_blank">15994117.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2004.08.021" target="_blank">10.1016/j.jcv.2004.08.021</a></td>
<td>in29sfj7</td>
<td>0.874630</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#y9jro9gt">You_H_2017</a></td>
</tr>
<tr>
<th id="6jp9yx47";>5</th>
<td>Zhao_2019</td>
<td>A highly sensitive 1-tube nested real-time RT-PCR assay using LNA-modified primers for detection of respiratory syncytial virus</td>
<td>Zhao, Li; Wang, Ji; Li, Gui-xia; Qiu, Fang-zhou; Chen, Chen; Zhao, Meng-chuan; Wang, Le; Duan, Su-xia; Feng, Zhi-shan; Ma, Xue-jun</td>
<td>2019</td>
<td>2019-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7126397" target="_blank">PMC7126397</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30266400.0" target="_blank">30266400.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2018.09.001" target="_blank">10.1016/j.diagmicrobio.2018.09.001</a></td>
<td>6jp9yx47</td>
<td>0.857895</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#aj9wppts">Eboigbodin_2017</a></td>
</tr>
<tr>
<th id="pf5m3gm3";>6</th>
<td>Rheem_2012</td>
<td>Evaluation of a Multiplex Real-time PCR Assay for the Detection of Respiratory Viruses in Clinical Specimens</td>
<td>Rheem, Insoo; Park, Joowon; Kim, Tae-Hyun; Kim, Jong Wan</td>
<td>2012</td>
<td>2012-10-17</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3486933" target="_blank">PMC3486933</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23130338.0" target="_blank">23130338.0</a></td>
<td><a href="https://doi.org/10.3343/alm.2012.32.6.399" target="_blank">10.3343/alm.2012.32.6.399</a></td>
<td>pf5m3gm3</td>
<td>0.848286</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="5g9mbmov";>7</th>
<td>Jansen_2011</td>
<td>Development and evaluation of a four-tube real time multiplex PCR assay covering fourteen respiratory viruses, and comparison to its corresponding single target counterparts</td>
<td>Jansen, Rogier R.; Schinkel, Janke; Koekkoek, Sylvie; Pajkrt, Dasja; Beld, Marcel; Jong, Menno D. de; Molenkamp, Richard</td>
<td>2011</td>
<td>2011-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7108253" target="_blank">PMC7108253</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21571585.0" target="_blank">21571585.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2011.04.010" target="_blank">10.1016/j.jcv.2011.04.010</a></td>
<td>5g9mbmov</td>
<td>0.845570</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a>, <a href="Topic_01.html#pf5m3gm3">Rheem_2012</a></td>
</tr>
<tr>
<th id="j9salo2w";>8</th>
<td>Abd-Eldaim_2009</td>
<td>Development and validation of a TaqMan real-time reverse transcription-PCR for rapid detection of feline calicivirus</td>
<td>Abd-Eldaim, Mohamed M.; Wilkes, Rebecca P.; Thomas, Kathy V.; Kennedy, Melissa A.</td>
<td>2009</td>
<td>2009-03-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086925" target="_blank">PMC7086925</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19253013.0" target="_blank">19253013.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-009-0337-5" target="_blank">10.1007/s00705-009-0337-5</a></td>
<td>j9salo2w</td>
<td>0.828656</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="bqv03u2e";>9</th>
<td>Jiang_2004</td>
<td>Sensitive and Quantitative Detection of Severe Acute Respiratory Syndrome Coronavirus Infection by Real-Time Nested Polymerase Chain Reaction</td>
<td>Jiang, Shih Sheng; Chen, Tsan-Chi; Yang, Jyh-Yuan; Hsiung, Chao A.; Su, Ih-Jen; Liu, Ying-Lan; Chen, Po-Cheng; Juang, Jyh-Lyh</td>
<td>2004</td>
<td>2004-01-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7107825" target="_blank">PMC7107825</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/14699465.0" target="_blank">14699465.0</a></td>
<td><a href="https://doi.org/10.1086/380841" target="_blank">10.1086/380841</a></td>
<td>bqv03u2e</td>
<td>0.807587</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="uzfsv2df";>10</th>
<td>Bellau-Pujol_2005</td>
<td>Development of three multiplex RT-PCR assays for the detection of 12 respiratory RNA viruses</td>
<td>Bellau-Pujol, S.; Vabret, A.; Legrand, L.; Dina, J.; Gouarin, S.; Petitjean-Lecherbonnier, J.; Pozzetto, B.; Ginevra, C.; Freymuth, F.</td>
<td>2005</td>
<td>2005-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112904" target="_blank">PMC7112904</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15847919.0" target="_blank">15847919.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2005.01.020" target="_blank">10.1016/j.jviromet.2005.01.020</a></td>
<td>uzfsv2df</td>
<td>0.805543</td>
<td></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="oa36019p";>11</th>
<td>Coiras_2004</td>
<td>Simultaneous detection of fourteen respiratory viruses in clinical specimens by two multiplex reverse transcription nested‐PCR assays</td>
<td>Coiras, M.T.; Aguilar, J.C.; García, M.L.; Casas, I.; Pérez‐Breña, P.</td>
<td>2004</td>
<td>2004-01-09</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7166637" target="_blank">PMC7166637</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/14748074.0" target="_blank">14748074.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.20008" target="_blank">10.1002/jmv.20008</a></td>
<td>oa36019p</td>
<td>0.765860</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="4rbrzv5o";>12</th>
<td>Choudhary_2013</td>
<td>Development of real-time RT-PCR for detection of human metapneumovirus and genetic analysis of circulating strains (2009-2011) in Pune, India</td>
<td>Choudhary, Manohar Lal; Anand, Siddharth P.; Sonawane, Nupoor S.; Chadha, Mandeep S.</td>
<td>2013</td>
<td>2013-08-09</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087245" target="_blank">PMC7087245</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23929232.0" target="_blank">23929232.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-013-1812-6" target="_blank">10.1007/s00705-013-1812-6</a></td>
<td>4rbrzv5o</td>
<td>0.762255</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="nilhztjf";>13</th>
<td>Song_2014</td>
<td>Identification of human metapneumovirus genotypes A and B from clinical specimens by reverse transcription loop-mediated isothermal amplification</td>
<td>Song, Qinwei; Zhu, Runan; Sun, Yu; Zhao, Linqing; Wang, Fang; Deng, Jie; Qian, Yuan</td>
<td>2014</td>
<td>2014-02-28</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2013.10.037" target="_blank">10.1016/j.jviromet.2013.10.037</a></td>
<td>nilhztjf</td>
<td>0.743113</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a></td>
<td></td>
</tr>
<tr>
<th id="5gglmx9d";>14</th>
<td>Shin_2011</td>
<td>Evaluation of the Seeplex® Meningitis ACE Detection Kit for the Detection of 12 Common Bacterial and Viral Pathogens of Acute Meningitis</td>
<td>Shin, So Youn; Kwon, Kye Chul; Park, Jong Woo; Kim, Ji Myung; Shin, So Young; Koo, Sun Hoe</td>
<td>2011</td>
<td>2011-12-20</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3255489" target="_blank">PMC3255489</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22259778.0" target="_blank">22259778.0</a></td>
<td><a href="https://doi.org/10.3343/alm.2012.32.1.44" target="_blank">10.3343/alm.2012.32.1.44</a></td>
<td>5gglmx9d</td>
<td>0.741848</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td></td>
</tr>
<tr>
<th id="u31f5e05";>15</th>
<td>Niu_P_2016</td>
<td>Development of a highly sensitive real-time nested RT-PCR assay in a single closed tube for detection of enterovirus 71 in hand, foot, and mouth disease</td>
<td>Niu, Peihua; Qi, Shunxiang; Yu, Benzhang; Zhang, Chen; Wang, Ji; Li, Qi; Ma, Xuejun</td>
<td>2016</td>
<td>2016-07-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086773" target="_blank">PMC7086773</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27475103.0" target="_blank">27475103.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-016-2985-6" target="_blank">10.1007/s00705-016-2985-6</a></td>
<td>u31f5e05</td>
<td>0.740518</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#6jp9yx47">Zhao_2019</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="7369h587";>16</th>
<td>López-Huertas_2005</td>
<td>Two RT-PCR based assays to detect human metapneumovirus in nasopharyngeal aspirates</td>
<td>López-Huertas, María Rosa; Casas, Inmaculada; Acosta-Herrera, Belsy; García, María Luz; Coiras, María Teresa; Pérez-Breña, Pilar</td>
<td>2005</td>
<td>2005-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112860" target="_blank">PMC7112860</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15961167.0" target="_blank">15961167.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2005.05.004" target="_blank">10.1016/j.jviromet.2005.05.004</a></td>
<td>7369h587</td>
<td>0.732372</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="71iijb70";>17</th>
<td>Takayama_2019</td>
<td>Development of real-time fluorescent reverse transcription loop-mediated isothermal amplification assay with quenching primer for influenza virus and respiratory syncytial virus</td>
<td>Takayama, Ikuyo; Nakauchi, Mina; Takahashi, Hitoshi; Oba, Kunihiro; Semba, Shohei; Kaida, Atsushi; Kubo, Hideyuki; Saito, Shinji; Nagata, Shiho; Odagiri, Takato; Kageyama, Tsutomu</td>
<td>2019</td>
<td>2019-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113748" target="_blank">PMC7113748</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30831121.0" target="_blank">30831121.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.02.010" target="_blank">10.1016/j.jviromet.2019.02.010</a></td>
<td>71iijb70</td>
<td>0.731762</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="iqzurjr1";>18</th>
<td>Carossino_2019</td>
<td>Development and evaluation of a one-step multiplex real-time TaqMan(®) RT-qPCR assay for the detection and genotyping of equine G3 and G14 rotaviruses in fecal samples</td>
<td>Carossino, Mariano; Barrandeguy, Maria E.; Erol, Erdal; Li, Yanqiu; Balasuriya, Udeni B. R.</td>
<td>2019</td>
<td>2019-04-25</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6482509" target="_blank">PMC6482509</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31023319.0" target="_blank">31023319.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-019-1149-1" target="_blank">10.1186/s12985-019-1149-1</a></td>
<td>iqzurjr1</td>
<td>0.727160</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_13.html#6lxc2rj2">Soltan_2016</a></td>
</tr>
<tr>
<th id="a8yfi2wn";>19</th>
<td>Liu_P_2018</td>
<td>A novel multiplex PCR for virus detection by melting curve analysis</td>
<td>Liu, Pengcheng; Lu, Lijuan; Xu, Menghua; Zhong, Huaqing; Jia, Ran; Su, Liyun; Cao, Lingfeng; Dong, Zuoquan; Dong, Niuniu; Zhou, Linfu; Xu, Jin</td>
<td>2018</td>
<td>2018-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113878" target="_blank">PMC7113878</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30267725.0" target="_blank">30267725.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.09.010" target="_blank">10.1016/j.jviromet.2018.09.010</a></td>
<td>a8yfi2wn</td>
<td>0.713609</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="fsqa3gzj";>20</th>
<td>Arvia_2015</td>
<td>Detection of 12 respiratory viruses by duplex real time PCR assays in respiratory samples</td>
<td>Arvia, Rosaria; Corcioli, Fabiana; Ciccone, Nunziata; Della Malva, Nunzia; Azzi, Alberta</td>
<td>2015</td>
<td>2015-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127684" target="_blank">PMC7127684</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26334289.0" target="_blank">26334289.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2015.08.006" target="_blank">10.1016/j.mcp.2015.08.006</a></td>
<td>fsqa3gzj</td>
<td>0.707957</td>
<td></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="mqklc60a";>21</th>
<td>Howard_2017</td>
<td>A novel real-time RT-PCR assay for influenza C tested in Peruvian children</td>
<td>Howard, Leigh M.; Johnson, Monika; Gil, Ana I.; Pekosz, Andrew; Griffin, Marie R.; Edwards, Kathryn M.; Lanata, Claudio F.; Grijalva, Carlos G.; Williams, John V.</td>
<td>2017</td>
<td>2017-11-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28917132.0" target="_blank">28917132.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2017.08.014" target="_blank">10.1016/j.jcv.2017.08.014</a></td>
<td>mqklc60a</td>
<td>0.706291</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#r2upa4o0">Chen_2016</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td></td>
</tr>
<tr>
<th id="oj5bzs6m";>22</th>
<td>Zhao_2017</td>
<td>Clinical evaluation of a new single-tube multiplex reverse transcription PCR assay for simultaneous detection of 11 respiratory viruses, Mycoplasma pneumoniae and Chlamydia in hospitalized children with acute respiratory infections</td>
<td>Zhao, Meng-chuan; Li, Gui-xia; Zhang, Dan; Zhou, Hang-yu; Wang, Hao; Yang, Shuo; Wang, Le; Feng, Zhi-shan; Ma, Xue-jun</td>
<td>2017</td>
<td>2017-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7132751" target="_blank">PMC7132751</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28365060.0" target="_blank">28365060.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2017.03.010" target="_blank">10.1016/j.diagmicrobio.2017.03.010</a></td>
<td>oj5bzs6m</td>
<td>0.704817</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="p119i282";>23</th>
<td>Li_J_2013</td>
<td>A Two-Tube Multiplex Reverse Transcription PCR Assay for Simultaneous Detection of Sixteen Human Respiratory Virus Types/Subtypes</td>
<td>Li, Jin; Qi, Shunxiang; Zhang, Chen; Hu, Xiumei; Shen, Hongwei; Yang, Mengjie; Wang, Ji; Wang, Miao; Xu, Wenbo; Ma, Xuejun</td>
<td>2013</td>
<td>2013-08-05</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3747601" target="_blank">PMC3747601</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23984344.0" target="_blank">23984344.0</a></td>
<td><a href="https://doi.org/10.1155/2013/327620" target="_blank">10.1155/2013/327620</a></td>
<td>p119i282</td>
<td>0.691823</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="zogtpm7a";>24</th>
<td>Thurman_2011</td>
<td>Detection of Mycoplasma pneumoniae, Chlamydia pneumoniae, and Legionella spp. in clinical specimens using a single-tube multiplex real-time PCR assay</td>
<td>Thurman, Kathleen A.; Warner, Agnes K.; Cowart, Kelley C.; Benitez, Alvaro J.; Winchell, Jonas M.</td>
<td>2011</td>
<td>2011-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7126442" target="_blank">PMC7126442</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21397428.0" target="_blank">21397428.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2010.11.014" target="_blank">10.1016/j.diagmicrobio.2010.11.014</a></td>
<td>zogtpm7a</td>
<td>0.687855</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_03.html#ru4ky6kz">Njiru_2008</a></td>
</tr>
<tr>
<th id="54e285re";>25</th>
<td>Shirato_2007</td>
<td>Diagnosis of human respiratory syncytial virus infection using reverse transcription loop-mediated isothermal amplification</td>
<td>Shirato, Kazuya; Nishimura, Hidekazu; Saijo, Masayuki; Okamoto, Michiko; Noda, Masahiro; Tashiro, Masato; Taguchi, Fumihiro</td>
<td>2007</td>
<td>2007-01-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112771" target="_blank">PMC7112771</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17052763.0" target="_blank">17052763.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2006.09.014" target="_blank">10.1016/j.jviromet.2006.09.014</a></td>
<td>54e285re</td>
<td>0.686991</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="3p6q92x4";>26</th>
<td>Gueudin_2003</td>
<td>Quantitation of respiratory syncytial virus RNA in nasal aspirates of children by real-time RT-PCR assay</td>
<td>Gueudin, M; Vabret, A; Petitjean, J; Gouarin, S; Brouard, J; Freymuth, F</td>
<td>2003</td>
<td>2003-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119593" target="_blank">PMC7119593</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/12668266.0" target="_blank">12668266.0</a></td>
<td><a href="https://doi.org/10.1016/s0166-0934(03)00042-9" target="_blank">10.1016/s0166-0934(03)00042-9</a></td>
<td>3p6q92x4</td>
<td>0.684369</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="51byypaq";>27</th>
<td>Emery_2004</td>
<td>Real-Time Reverse Transcription–Polymerase Chain Reaction Assay for SARS-associated Coronavirus</td>
<td>Emery, Shannon L.; Erdman, Dean D.; Bowen, Michael D.; Newton, Bruce R.; Winchell, Jonas M.; Meyer, Richard F.; Tong, Suxiang; Cook, Byron T.; Holloway, Brian P.; McCaustland, Karen A.; Rota, Paul A.; Bankamp, Bettina; Lowe, Luis E.; Ksiazek, Tom G.; Bellini, William J.; Anderson, Larry J.</td>
<td>2004</td>
<td>2004-02-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3322901" target="_blank">PMC3322901</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15030703.0" target="_blank">15030703.0</a></td>
<td><a href="https://doi.org/10.3201/eid1002.030759" target="_blank">10.3201/eid1002.030759</a></td>
<td>51byypaq</td>
<td>0.683071</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_09.html#hnb75vou">Keyaerts_2006</a></td>
</tr>
<tr>
<th id="azqbbsfr";>28</th>
<td>Vemulapalli_2009</td>
<td>A real-time TaqMan® RT-PCR assay with an internal amplification control for rapid detection of transmissible gastroenteritis virus in swine fecal samples</td>
<td>Vemulapalli, Ramesh; Gulani, Jatinder; Santrich, Cecilia</td>
<td>2009</td>
<td>2009-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112873" target="_blank">PMC7112873</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19729039.0" target="_blank">19729039.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.08.016" target="_blank">10.1016/j.jviromet.2009.08.016</a></td>
<td>azqbbsfr</td>
<td>0.675448</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_01.html#fvdq0yes">Wang_2018</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="lakdi3x8";>29</th>
<td>Kang_2010</td>
<td>A duplex real-time RT-PCR assay for detecting H5N1 avian influenza virus and pandemic H1N1 influenza virus</td>
<td>Kang, Xiao-ping; Jiang, Tao; Li, Yong-qiang; Lin, Fang; Liu, Hong; Chang, Guo-hui; Zhu, Qing-yu; Qin, E-de; Qin, Cheng-feng; Yang, Yin-hui</td>
<td>2010</td>
<td>2010-06-02</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2892456" target="_blank">PMC2892456</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20515509.0" target="_blank">20515509.0</a></td>
<td><a href="https://doi.org/10.1186/1743-422x-7-113" target="_blank">10.1186/1743-422x-7-113</a></td>
<td>lakdi3x8</td>
<td>0.675106</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#cuhx1dfq">Kumar_2010</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="8ym56mpv";>30</th>
<td>Chen_2012</td>
<td>Real-Time Quantitative Fluorescent Reverse Transcriptase-PCR for Detection of Severe Acute Respiratory Syndrome-Associated Coronavirus RNA</td>
<td>Chen, Weijun; Xu, Zuyuan; Mu, Jingsong; He, Bo; Yang, Ling; Lin, Lin; Meng, Shufang; Mu, Feng; Gan, Haixue; Huang, Shengyong; Wen, Jie; Fang, Jianqiu; Wang, Jian</td>
<td>2012</td>
<td>2012-12-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7100218" target="_blank">PMC7100218</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15887978.0" target="_blank">15887978.0</a></td>
<td><a href="https://doi.org/10.1007/bf03260067" target="_blank">10.1007/bf03260067</a></td>
<td>8ym56mpv</td>
<td>0.674734</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#r2upa4o0">Chen_2016</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#86el3qwn">Poon_2003</a>, <a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#adul9nzf">Wu_Q_2004</a></td>
</tr>
<tr>
<th id="zntwwqod";>31</th>
<td>Dabisch-Ruthe_2012</td>
<td>Comparison of three multiplex PCR assays for the detection of respiratory viral infections: evaluation of xTAG respiratory virus panel fast assay, RespiFinder 19 assay and RespiFinder SMART 22 assay</td>
<td>Dabisch-Ruthe, Mareike; Vollmer, Tanja; Adams, Ortwin; Knabbe, Cornelius; Dreier, Jens</td>
<td>2012</td>
<td>2012-07-24</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3519643" target="_blank">PMC3519643</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22828244.0" target="_blank">22828244.0</a></td>
<td><a href="https://doi.org/10.1186/1471-2334-12-163" target="_blank">10.1186/1471-2334-12-163</a></td>
<td>zntwwqod</td>
<td>0.674517</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#pf5m3gm3">Rheem_2012</a></td>
</tr>
<tr>
<th id="9apyiy7n";>32</th>
<td>Li_J_2012</td>
<td>The development of a GeXP-based multiplex reverse transcription-PCR assay for simultaneous detection of sixteen human respiratory virus types/subtypes</td>
<td>Li, Jin; Mao, Nai-Ying; Zhang, Chen; Yang, Meng-Jie; Wang, Miao; Xu, Wen-Bo; Ma, Xue-Jun</td>
<td>2012</td>
<td>2012-08-14</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3462154" target="_blank">PMC3462154</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22891685.0" target="_blank">22891685.0</a></td>
<td><a href="https://doi.org/10.1186/1471-2334-12-189" target="_blank">10.1186/1471-2334-12-189</a></td>
<td>9apyiy7n</td>
<td>0.671286</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="3dq99xz9";>33</th>
<td>Do_L_2012</td>
<td>A sensitive real-time PCR for detection and subgrouping of human respiratory syncytial virus</td>
<td>Do, Lien Anh Ha; van Doorn, H. Rogier; Bryant, Juliet E.; Nghiem, My Ngoc; Nguyen Van, Vinh Chau; Vo, Cong Khanh; Nguyen, Minh Dung; Tran, Tinh Hien; Farrar, Jeremy; de Jong, Menno D.</td>
<td>2012</td>
<td>2012-01-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3405522" target="_blank">PMC3405522</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22119628.0" target="_blank">22119628.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2011.11.012" target="_blank">10.1016/j.jviromet.2011.11.012</a></td>
<td>3dq99xz9</td>
<td>0.670774</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#nilhztjf">Song_2014</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#x0o0q5sz">Thuy_Tien_2018</a></td>
</tr>
<tr>
<th id="9hmzu7t6";>34</th>
<td>Feng_2018</td>
<td>A multiplex one-tube nested real time RT-PCR assay for simultaneous detection of respiratory syncytial virus, human rhinovirus and human metapneumovirus</td>
<td>Feng, Zhi-shan; Zhao, Li; Wang, Ji; Qiu, Fang-zhou; Zhao, Meng-chuan; Wang, Le; Duan, Su-xia; Zhang, Rui-qing; Chen, Chen; Qi, Ju-Ju; Fan, Tao; Li, Gui-xia; Ma, Xue-jun</td>
<td>2018</td>
<td>2018-10-30</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6208169" target="_blank">PMC6208169</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30376870.0" target="_blank">30376870.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-018-1061-0" target="_blank">10.1186/s12985-018-1061-0</a></td>
<td>9hmzu7t6</td>
<td>0.667672</td>
<td><a href="Topic_01.html#uzfsv2df">Bellau-Pujol_2005</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#nilhztjf">Song_2014</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#y9jro9gt">You_H_2017</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#6jp9yx47">Zhao_2019</a></td>
</tr>
<tr>
<th id="6fpnmnwc";>35</th>
<td>Choi_2008</td>
<td>Development of real-time PCR assays for detection and quantification of human bocavirus</td>
<td>Choi, Jang-Hoon; Chung, Yoon-Seok; Kim, Ki-Soon; Lee, Wan-Ji; Chung, Il Yup; Oh, Hee-Bok; Kang, Chun</td>
<td>2008</td>
<td>2008-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7108235" target="_blank">PMC7108235</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18378492.0" target="_blank">18378492.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2008.02.010" target="_blank">10.1016/j.jcv.2008.02.010</a></td>
<td>6fpnmnwc</td>
<td>0.665713</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="ujf2vql5";>36</th>
<td>Yu_X_2014</td>
<td>Nested-RT-PCR and Multiplex RT-PCR for Diagnosis of Rhinovirus Infection in Clinical Samples</td>
<td>Yu, Xuelian; Ghildyal, Reena</td>
<td>2014</td>
<td>2014-09-09</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7120866" target="_blank">PMC7120866</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25261303.0" target="_blank">25261303.0</a></td>
<td><a href="https://doi.org/10.1007/978-1-4939-1571-2_2" target="_blank">10.1007/978-1-4939-1571-2_2</a></td>
<td>ujf2vql5</td>
<td>0.665411</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="l15qa9tr";>37</th>
<td>Pabbaraju_2015</td>
<td>Detection of enteroviruses and parechoviruses by a multiplex real-time RT-PCR assay</td>
<td>Pabbaraju, Kanti; Wong, Sallene; Wong, Anita A.; Tellier, Raymond</td>
<td>2015</td>
<td>2015-04-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25681753.0" target="_blank">25681753.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2015.02.001" target="_blank">10.1016/j.mcp.2015.02.001</a></td>
<td>l15qa9tr</td>
<td>0.665126</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="p4w2jh00";>38</th>
<td>Pyrc_2011</td>
<td>Development of loop-mediated isothermal amplification assay for detection of human coronavirus-NL63</td>
<td>Pyrc, Krzysztof; Milewska, Aleksandra; Potempa, Jan</td>
<td>2011</td>
<td>2011-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112811" target="_blank">PMC7112811</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21545810.0" target="_blank">21545810.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2011.04.024" target="_blank">10.1016/j.jviromet.2011.04.024</a></td>
<td>p4w2jh00</td>
<td>0.656368</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="9ouhxg9o";>39</th>
<td>Qi_J_2019</td>
<td>Development of a duplex reverse transcription recombinase-aided amplification assay for respiratory syncytial virus incorporating an internal control</td>
<td>Qi, Juju; Li, Xinna; Zhang, Yi; Shen, Xinxin; Song, Guowei; Pan, Jing; Fan, Tao; Wang, Ruihuan; Li, Lixin; Ma, Xuejun</td>
<td>2019</td>
<td>2019-05-03</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086889" target="_blank">PMC7086889</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31053978.0" target="_blank">31053978.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-019-04230-z" target="_blank">10.1007/s00705-019-04230-z</a></td>
<td>9ouhxg9o</td>
<td>0.655860</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="y52o45zk";>40</th>
<td>Ma_L_2018</td>
<td>Development and evaluation of a broadly reactive reverse transcription recombinase polymerase amplification assay for rapid detection of murine norovirus</td>
<td>Ma, Lei; Zeng, Fanwen; Cong, Feng; Huang, Bihong; Zhu, Yujun; Wu, Miaoli; Xu, Fengjiao; Yuan, Wen; Huang, Ren; Guo, Pengju</td>
<td>2018</td>
<td>2018-12-14</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6295035" target="_blank">PMC6295035</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30547776.0" target="_blank">30547776.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-018-1736-1" target="_blank">10.1186/s12917-018-1736-1</a></td>
<td>y52o45zk</td>
<td>0.651744</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#03a6hq3t">Moore_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="shwxhak9";>41</th>
<td>Zhang_2018</td>
<td>Clinical evaluation of a panel of multiplex quantitative real-time reverse transcription polymerase chain reaction assays for the detection of 16 respiratory viruses associated with community-acquired pneumonia</td>
<td>Zhang, Dan; Mao, Haiyan; Lou, Xiuyu; Pan, Junhang; Yan, Hao; Tang, Hongfeng; Shu, Yan; Zhao, Yun; Cheng, Xiaoli; Tao, Hong; Zhang, Yanjun; Ma, Xuejun</td>
<td>2018</td>
<td>2018-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087343" target="_blank">PMC7087343</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29961119.0" target="_blank">29961119.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-018-3921-8" target="_blank">10.1007/s00705-018-3921-8</a></td>
<td>shwxhak9</td>
<td>0.650704</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#6jp9yx47">Zhao_2019</a></td>
</tr>
<tr>
<th id="03hvi4el";>42</th>
<td>Rodrigues_2011</td>
<td>Development of a one step real time RT-PCR assay to detect and quantify Dugbe virus</td>
<td>Rodrigues, R.; Telles, J.-N.; Essere, K.; Ducournau, C.; Roqueplo, C.; Levieuge, A.; Davoust, B.; Parola, P.; Paranhos-Baccalà, G.; Peyrefitte, C.N.</td>
<td>2011</td>
<td>2011-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112838" target="_blank">PMC7112838</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21703306.0" target="_blank">21703306.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2011.06.003" target="_blank">10.1016/j.jviromet.2011.06.003</a></td>
<td>03hvi4el</td>
<td>0.650005</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="k11asjaw";>43</th>
<td>Wang_2012</td>
<td>Visual detection of the human metapneumovirus using reverse transcription loop-mediated isothermal amplification with hydroxynaphthol blue dye</td>
<td>Wang, Xiang; Zhang, Qian; Zhang, Fang; Ma, Fenlian; Zheng, Wenzhi; Zhao, Zhihui; Bai, Yinglong; Zheng, Lishu</td>
<td>2012</td>
<td>2012-07-27</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3487928" target="_blank">PMC3487928</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22838725.0" target="_blank">22838725.0</a></td>
<td><a href="https://doi.org/10.1186/1743-422x-9-138" target="_blank">10.1186/1743-422x-9-138</a></td>
<td>k11asjaw</td>
<td>0.644609</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#nilhztjf">Song_2014</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a>, <a href="Topic_01.html#kylki373">Chen_2008</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="nz6eqcdb";>44</th>
<td>Wang_2016</td>
<td>A GeXP-Based Assay for Simultaneous Detection of Multiple Viruses in Hospitalized Children with Community Acquired Pneumonia</td>
<td>Wang, Le; Zhao, Mengchuan; Shi, Zhongren; Feng, Zhishan; Guo, Weiwei; Yang, Shuo; Liu, Lanping; Li, Guixia</td>
<td>2016</td>
<td>2016-09-14</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5023126" target="_blank">PMC5023126</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27627439.0" target="_blank">27627439.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0162411" target="_blank">10.1371/journal.pone.0162411</a></td>
<td>nz6eqcdb</td>
<td>0.642418</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td></td>
</tr>
<tr>
<th id="3avh7rf1";>45</th>
<td>Cordey_2009</td>
<td>Simultaneous detection of parainfluenza viruses 1 and 3 by real-time reverse transcription-polymerase chain reaction</td>
<td>Cordey, Samuel; Thomas, Yves; Cherpillod, Pascal; van Belle, Sandra; Tapparel, Caroline; Kaiser, Laurent</td>
<td>2009</td>
<td>2009-03-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19063922.0" target="_blank">19063922.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2008.11.006" target="_blank">10.1016/j.jviromet.2008.11.006</a></td>
<td>3avh7rf1</td>
<td>0.641490</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td></td>
</tr>
<tr>
<th id="jgu8kc5k";>46</th>
<td>Yan_Y_2017</td>
<td>A multiplex liquid-chip assay based on Luminex xMAP technology for simultaneous detection of six common respiratory viruses</td>
<td>Yan, Yong; Luo, Jian-Yong; Chen, Yin; Wang, Heng-Hui; Zhu, Guo-Ying; He, Pei-Yan; Guo, Jin-Lei; Lei, Yong-Liang; Chen, Zhong-Wen</td>
<td>2017</td>
<td>2017-06-17</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5722533" target="_blank">PMC5722533</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29228581.0" target="_blank">29228581.0</a></td>
<td><a href="https://doi.org/10.18632/oncotarget.18533" target="_blank">10.18632/oncotarget.18533</a></td>
<td>jgu8kc5k</td>
<td>0.640855</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="aj9wppts";>47</th>
<td>Eboigbodin_2017</td>
<td>Rapid and sensitive real-time assay for the detection of respiratory syncytial virus using RT-SIBA®</td>
<td>Eboigbodin, Kevin E.; Moilanen, Kirsi; Elf, Sonja; Hoser, Mark</td>
<td>2017</td>
<td>2017-02-10</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5301360" target="_blank">PMC5301360</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28183291.0" target="_blank">28183291.0</a></td>
<td><a href="https://doi.org/10.1186/s12879-017-2227-x" target="_blank">10.1186/s12879-017-2227-x</a></td>
<td>aj9wppts</td>
<td>0.640320</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="1dvj60yk";>48</th>
<td>Sultani_2015</td>
<td>Multiplex SYBR Green Real-Time PCR Assay for Detection of Respiratory Viruses</td>
<td>Sultani, Mozhdeh; Mokhtari Azad, Talat; Eshragian, Mohammadreza; Shadab, Azadeh; Naseri, Maryam; Eilami, Owrang; Yavarian, Jila</td>
<td>2015</td>
<td>2015-08-01</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4601230" target="_blank">PMC4601230</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26468358.0" target="_blank">26468358.0</a></td>
<td><a href="https://doi.org/10.5812/jjm.19041v2" target="_blank">10.5812/jjm.19041v2</a></td>
<td>1dvj60yk</td>
<td>0.640273</td>
<td><a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="yahr10u5";>49</th>
<td>Nakauchi_2019</td>
<td>Development of real‐time fluorescent reverse transcription loop‐mediated isothermal amplification assays for rhinovirus detection</td>
<td>Nakauchi, Mina; Takayama, Ikuyo; Takahashi, Hitoshi; Semba, Shohei; Saito, Shinji; Kubo, Hideyuki; Kaida, Atsushi; Oba, Kunihiro; Nagata, Shiho; Odagiri, Takato; Kageyama, Tsutomu</td>
<td>2019</td>
<td>2019-02-22</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7166982" target="_blank">PMC7166982</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30735248.0" target="_blank">30735248.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.25427" target="_blank">10.1002/jmv.25427</a></td>
<td>yahr10u5</td>
<td>0.638077</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td></td>
</tr>
<tr>
<th id="zij2wbzs";>50</th>
<td>Kim_H_2012</td>
<td>Evaluation of the SD Bioline Norovirus rapid immunochromatography test using fecal specimens from Korean gastroenteritis patients</td>
<td>Kim, Hyun Soo; Hyun, Jeongwon; Kim, Jae-Seok; Song, Wonkeun; Kang, Hee Jung; Lee, Kyu Man</td>
<td>2012</td>
<td>2012-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119779" target="_blank">PMC7119779</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22960089.0" target="_blank">22960089.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2012.08.014" target="_blank">10.1016/j.jviromet.2012.08.014</a></td>
<td>zij2wbzs</td>
<td>0.637199</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#o4hsr4pm">An_D_2008</a>, <a href="Topic_01.html#x0o0q5sz">Thuy_Tien_2018</a></td>
</tr>
<tr>
<th id="hj1k1jtu";>51</th>
<td>Chi_X_2007</td>
<td>Semiquantitative one-step RT-PCR for simultaneous identification of human influenza and respiratory syncytial viruses</td>
<td>Chi, X. Sherry; Li, Fenglan; Tam, John S.; Rappaport, Ruth; Cheng, Sheau-Mei</td>
<td>2007</td>
<td>2007-01-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112931" target="_blank">PMC7112931</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17030067.0" target="_blank">17030067.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2006.08.015" target="_blank">10.1016/j.jviromet.2006.08.015</a></td>
<td>hj1k1jtu</td>
<td>0.637052</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#kylki373">Chen_2008</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="v2o25ey9";>52</th>
<td>Lau_L_2003</td>
<td>A real-time PCR for SARS-coronavirus incorporating target gene pre-amplification</td>
<td>Lau, Lok Ting; Fung, Yin-Wan Wendy; Wong, Freda Pui-Fan; Lin, Selma Sau-Wah; Wang, Chen Ran; Li, Hui Li; Dillon, Natalie; Collins, Richard A; Tam, John Siu-Lun; Chan, Paul K.S; Wang, Chen G; Yu, Albert Cheung-Hoi</td>
<td>2003</td>
<td>2003-12-26</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7111096" target="_blank">PMC7111096</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/14652014.0" target="_blank">14652014.0</a></td>
<td><a href="https://doi.org/10.1016/j.bbrc.2003.11.064" target="_blank">10.1016/j.bbrc.2003.11.064</a></td>
<td>v2o25ey9</td>
<td>0.635792</td>
<td><a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#86el3qwn">Poon_2003</a>, <a href="Topic_06.html#t48y27wg">Decaro_2004</a></td>
</tr>
<tr>
<th id="86el3qwn";>53</th>
<td>Poon_2003</td>
<td>Early diagnosis of SARS Coronavirus infection by real time RT-PCR</td>
<td>Poon, Leo L.M.; Chan, Kwok Hung; Wong, On Kei; Yam, Wing Cheong; Yuen, Kwok Yung; Guan, Yi; Lo, Y.M.Dennis; Peiris, Joseph S.M.</td>
<td>2003</td>
<td>2003-12-31</td>
<td>PMC</td>
<td>Y</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7129783" target="_blank">PMC7129783</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/14522060.0" target="_blank">14522060.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2003.08.004" target="_blank">10.1016/j.jcv.2003.08.004</a></td>
<td>86el3qwn</td>
<td>0.635532</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
</tr>
<tr>
<th id="8ayfuty8";>54</th>
<td>Qiu_F_2018</td>
<td>A triplex quantitative real-time PCR assay for differential detection of human adenovirus serotypes 2, 3 and 7</td>
<td>Qiu, Fang-zhou; Shen, Xin-xin; Zhao, Meng-chuan; Zhao, Li; Duan, Su-xia; Chen, Chen; Qi, Ju-Ju; Li, Gui-xia; Wang, Le; Feng, Zhi-shan; Ma, Xue-jun</td>
<td>2018</td>
<td>2018-05-02</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5930744" target="_blank">PMC5930744</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29716642.0" target="_blank">29716642.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-018-0983-x" target="_blank">10.1186/s12985-018-0983-x</a></td>
<td>8ayfuty8</td>
<td>0.631584</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#nilhztjf">Song_2014</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="n37yp6if";>55</th>
<td>Faccini_2017</td>
<td>Development and evaluation of a new Real-Time RT-PCR assay for detection of proposed influenza D virus</td>
<td>Faccini, Silvia; De Mattia, Aurora; Chiapponi, Chiara; Barbieri, Ilaria; Boniotti, Maria Beatrice; Rosignoli, Carlo; Franzini, Giuliana; Moreno, Ana; Foni, Emanuela; Nigrelli, Arrigo Daniele</td>
<td>2017</td>
<td>2017-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113724" target="_blank">PMC7113724</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28153610.0" target="_blank">28153610.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2017.01.019" target="_blank">10.1016/j.jviromet.2017.01.019</a></td>
<td>n37yp6if</td>
<td>0.630195</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#4rbrzv5o">Choudhary_2013</a></td>
</tr>
<tr>
<th id="7aaj8anv";>56</th>
<td>Minosse_2007</td>
<td>Improved detection of human influenza A and B viruses in respiratory tract specimens by hemi-nested PCR</td>
<td>Minosse, Claudia; Selleri, Marina; Zaniratti, Maria S.; Lauria, Francesco N.; Puro, Vincenzo; Carletti, Fabrizio; Cappiello, Giuseppina; Gualano, Gina; Bevilacqua, Nazario; Capobianchi, Maria R.</td>
<td>2007</td>
<td>2007-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119638" target="_blank">PMC7119638</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17257688.0" target="_blank">17257688.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2006.12.010" target="_blank">10.1016/j.jviromet.2006.12.010</a></td>
<td>7aaj8anv</td>
<td>0.628455</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="fvdq0yes";>57</th>
<td>Wang_2018</td>
<td>Rapid detection of transmissible gastroenteritis virus in swine small intestine samples using real-time reverse transcription recombinase polymerase amplification</td>
<td>Wang, Jinfeng; Wang, Jianchang; Zhang, Ruoxi; Liu, Libing; Shi, Ruihan; Han, Qingan; Yuan, Wanzhe</td>
<td>2018</td>
<td>2018-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113865" target="_blank">PMC7113865</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29550352.0" target="_blank">29550352.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.03.005" target="_blank">10.1016/j.jviromet.2018.03.005</a></td>
<td>fvdq0yes</td>
<td>0.623662</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="cuhx1dfq";>58</th>
<td>Kumar_2010</td>
<td>Diagnosis of Novel Pandemic Influenza Virus 2009 H1N1 in Hospitalized Patients</td>
<td>Kumar, P.; Kumar, B.; Gupta, A.; Sharma, B.; Vijayan, V. K.; Khare, S.; Singh, V.; Daga, M. K.; Chadha, M. S.; Mishra, A. C.; Kaur, H.; Khanna, M.</td>
<td>2010</td>
<td>2010-06-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3550770" target="_blank">PMC3550770</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23637477.0" target="_blank">23637477.0</a></td>
<td><a href="https://doi.org/10.1007/s13337-010-0005-0" target="_blank">10.1007/s13337-010-0005-0</a></td>
<td>cuhx1dfq</td>
<td>0.616445</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td></td>
</tr>
<tr>
<th id="dwhyx97y";>59</th>
<td>Noh_J_2017</td>
<td>Simultaneous detection of severe acute respiratory syndrome, Middle East respiratory syndrome, and related bat coronaviruses by real-time reverse transcription PCR</td>
<td>Noh, Ji Yeong; Yoon, Sun-Woo; Kim, Doo-Jin; Lee, Moo-Seung; Kim, Ji-Hyung; Na, Woonsung; Song, Daesub; Jeong, Dae Gwin; Kim, Hye Kwon</td>
<td>2017</td>
<td>2017-02-20</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086956" target="_blank">PMC7086956</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28220326.0" target="_blank">28220326.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-017-3281-9" target="_blank">10.1007/s00705-017-3281-9</a></td>
<td>dwhyx97y</td>
<td>0.612586</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#6dvpqgf5">Shirato_2014</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="69q6g2x2";>60</th>
<td>Stevenson_2008</td>
<td>The use of Armored RNA as a multi-purpose internal control for RT-PCR</td>
<td>Stevenson, Jeffery; Hymas, Weston; Hillyard, David</td>
<td>2008</td>
<td>2008-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119664" target="_blank">PMC7119664</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18395804.0" target="_blank">18395804.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2008.02.007" target="_blank">10.1016/j.jviromet.2008.02.007</a></td>
<td>69q6g2x2</td>
<td>0.609261</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_04.html#akr0shvb">Thiel_2002</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_10.html#mtk3qxue">Zambenedetti_2017</a>, <a href="Topic_04.html#nycdhdsd">Schoenike_1999</a></td>
</tr>
<tr>
<th id="2z664ffl";>61</th>
<td>Shi_X_2016</td>
<td>A multiplex real-time PCR panel assay for simultaneous detection and differentiation of 12 common swine viruses</td>
<td>Shi, Xiju; Liu, Xuming; Wang, Qin; Das, Amaresh; Ma, Guiping; Xu, Lu; Sun, Qing; Peddireddi, Lalitha; Jia, Wei; Liu, Yanhua; Anderson, Gary; Bai, Jianfa; Shi, Jishu</td>
<td>2016</td>
<td>2016-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119729" target="_blank">PMC7119729</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27506582.0" target="_blank">27506582.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2016.08.005" target="_blank">10.1016/j.jviromet.2016.08.005</a></td>
<td>2z664ffl</td>
<td>0.608746</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#06c3ymc3">Huang_2009</a>, <a href="Topic_05.html#wf0vonkn">Xiao_2014</a></td>
</tr>
<tr>
<th id="z849jvq5";>62</th>
<td>Li_Y_2013</td>
<td>Simultaneous detection of hemagglutinin and neuraminidase genes of novel influenza A (H7N9) by duplex real-time reverse transcription polymerase chain reaction</td>
<td>Li, Yan; Wu, Tao; Qi, Xian; Ge, Yiyue; Guo, Xiling; Wu, Bin; Yu, Huiyan; Zhu, Yefei; Shi, Zhiyang; Wang, Hua; Cui, Lunbiao; Zhou, Minghao</td>
<td>2013</td>
<td>2013-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113656" target="_blank">PMC7113656</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24001700.0" target="_blank">24001700.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2013.08.021" target="_blank">10.1016/j.jviromet.2013.08.021</a></td>
<td>z849jvq5</td>
<td>0.608221</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="x0o0q5sz";>63</th>
<td>Thuy_Tien_2018</td>
<td>Development of a Rapid Fluorescent Immunochromatographic Test to Detect Respiratory Syncytial Virus</td>
<td>Thuy Tien, Trinh Thi; Park, Hyun; Tuong, Hien Thi; Yu, Seung-Taek; Choi, Du-Young; Yeo, Seon-Ju</td>
<td>2018</td>
<td>2018-10-02</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6212954" target="_blank">PMC6212954</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30279406.0" target="_blank">30279406.0</a></td>
<td><a href="https://doi.org/10.3390/ijms19103013" target="_blank">10.3390/ijms19103013</a></td>
<td>x0o0q5sz</td>
<td>0.607240</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_15.html#u28y1ttw">Chen_2012</a></td>
</tr>
<tr>
<th id="l3gz0l4b";>64</th>
<td>Taylor_2019</td>
<td>Analytical evaluation of the microarray-based FluChip-8G Influenza A+B Assay</td>
<td>Taylor, Amber W.; Dawson, Erica D.; Blair, Rebecca H.; Johnson, James E.; Slinskey, Amelia H.; Smolak, Andrew W.; Toth, Evan; Liikanen, Kyle; Stoughton, Robert S.; Smith, Catherine; Talbot, Sarah; Rowlen, Kathy L.</td>
<td>2019</td>
<td>2019-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6779046" target="_blank">PMC6779046</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31271790.0" target="_blank">31271790.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.113686" target="_blank">10.1016/j.jviromet.2019.113686</a></td>
<td>l3gz0l4b</td>
<td>0.606854</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a></td>
</tr>
<tr>
<th id="kzudasop";>65</th>
<td>Ma_L_2019</td>
<td>Development of a SYBR green-based real-time RT-PCR assay for rapid detection of the emerging swine acute diarrhea syndrome coronavirus</td>
<td>Ma, Lei; Zeng, Fanwen; Cong, Feng; Huang, Bihong; Huang, Ren; Ma, Jingyun; Guo, Pengju</td>
<td>2019</td>
<td>2019-03-31</td>
<td>PMC</td>
<td>Y</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113735" target="_blank">PMC7113735</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30593837.0" target="_blank">30593837.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.12.010" target="_blank">10.1016/j.jviromet.2018.12.010</a></td>
<td>kzudasop</td>
<td>0.606659</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#wue6s07z">Zhou_2018</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#68cr4amg">Ma_L_2018</a></td>
</tr>
<tr>
<th id="z7bd3a91";>66</th>
<td>Sun_N_2018</td>
<td>Reverse transcription recombinase polymerase amplification with lateral flow dipsticks for detection of influenza A virus and subtyping of H1 and H3</td>
<td>Sun, Ning; Wang, Weiping; Wang, Jie; Yao, Xinyue; Chen, Fangfang; Li, Xiaojun; Yinglei, Yi; Chen, Bo</td>
<td>2018</td>
<td>2018-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127182" target="_blank">PMC7127182</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30394299.0" target="_blank">30394299.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2018.10.004" target="_blank">10.1016/j.mcp.2018.10.004</a></td>
<td>z7bd3a91</td>
<td>0.605401</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#t847pji4">Stefańska_2013</a></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="i4tevhqf";>67</th>
<td>Huh_H_2017</td>
<td>Performance Evaluation of the PowerChek MERS (upE & ORF1a) Real-Time PCR Kit for the Detection of Middle East Respiratory Syndrome Coronavirus RNA</td>
<td>Huh, Hee Jae; Kim, Ji-Youn; Kwon, Hyeon Jeong; Yun, Sun Ae; Lee, Myoung-Keun; Ki, Chang-Seok; Lee, Nam Yong; Kim, Jong-Won</td>
<td>2017</td>
<td>2017-08-16</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5587821" target="_blank">PMC5587821</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28840986.0" target="_blank">28840986.0</a></td>
<td><a href="https://doi.org/10.3343/alm.2017.37.6.494" target="_blank">10.3343/alm.2017.37.6.494</a></td>
<td>i4tevhqf</td>
<td>0.604752</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="wue6s07z";>68</th>
<td>Zhou_2018</td>
<td>Development of a TaqMan-based real-time RT-PCR assay for the detection of SADS-CoV associated with severe diarrhea disease in pigs</td>
<td>Zhou, Ling; Sun, Yuan; Wu, Jiao-ling; Mai, Kai-jie; Chen, Gui-hua; Wu, Zi-xian; Bai, Yang; Li, Di; Zhou, Zhi-hai; Cheng, Jian; Wu, Rui-ting; Zhang, Xiang-bin; Ma, Jing-yun</td>
<td>2018</td>
<td>2018-05-31</td>
<td>PMC</td>
<td>Y</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113665" target="_blank">PMC7113665</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29427670.0" target="_blank">29427670.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.02.002" target="_blank">10.1016/j.jviromet.2018.02.002</a></td>
<td>wue6s07z</td>
<td>0.604148</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#kzudasop">Ma_L_2019</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="w0859b3c";>69</th>
<td>Fellahi_2016</td>
<td>Comparison of SYBR green I real-time RT-PCR with conventional agarose gel-based RT-PCR for the diagnosis of infectious bronchitis virus infection in chickens in Morocco</td>
<td>Fellahi, Siham; Harrak, Mehdi El; Kuhn, Jens H.; Sebbar, Ghizlane; Bouaiti, El Arbi; Khataby, Khadija; Fihri, Ouafae Fassi; Houadfi, Mohammed El; Ennaji, My Mustapha</td>
<td>2016</td>
<td>2016-04-22</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4841946" target="_blank">PMC4841946</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27106608.0" target="_blank">27106608.0</a></td>
<td><a href="https://doi.org/10.1186/s13104-016-2037-z" target="_blank">10.1186/s13104-016-2037-z</a></td>
<td>w0859b3c</td>
<td>0.591747</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_03.html#oqm9pw6d">Chandrasekar_2015</a></td>
</tr>
<tr>
<th id="irsb8vu0";>70</th>
<td>Xiao_2008</td>
<td>Rapid detection of a highly virulent Chinese-type isolate of Porcine Reproductive and Respiratory Syndrome virus by real-time reverse transcriptase PCR</td>
<td>Xiao, Xing-Long; Wu, Hui; Yu, Yi-Gang; Cheng, Bang-Zhao; Yang, Xiao-Quan; Chen, Gu; Liu, Dong-Mei; Li, Xiao-Feng</td>
<td>2008</td>
<td>2008-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119963" target="_blank">PMC7119963</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18313768.0" target="_blank">18313768.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2008.01.009" target="_blank">10.1016/j.jviromet.2008.01.009</a></td>
<td>irsb8vu0</td>
<td>0.589585</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_05.html#wf0vonkn">Xiao_2014</a></td>
</tr>
<tr>
<th id="4rx4bfwx";>71</th>
<td>Ylihärsilä_2013</td>
<td>Genotyping of clinically relevant human adenoviruses by array-in-well hybridization assay</td>
<td>Ylihärsilä, M.; Harju, E.; Arppe, R.; Hattara, L.; Hölsä, J.; Saviranta, P.; Soukka, T.; Waris, M.</td>
<td>2013</td>
<td>2013-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7129513" target="_blank">PMC7129513</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22712766.0" target="_blank">22712766.0</a></td>
<td><a href="https://doi.org/10.1111/j.1469-0691.2012.03926.x" target="_blank">10.1111/j.1469-0691.2012.03926.x</a></td>
<td>4rx4bfwx</td>
<td>0.588668</td>
<td></td>
<td><a href="Topic_14.html#zvrfqkol">Reddy_2011</a></td>
</tr>
<tr>
<th id="ddcz7zck";>72</th>
<td>Yang_2011</td>
<td>Detection of hepatitis C virus by an improved loop-mediated isothermal amplification assay</td>
<td>Yang, Jin; Fang, Mei-xin; Li, Jie; Lou, Guo-qiang; Lu, Hang-jun; Wu, Nan-ping</td>
<td>2011</td>
<td>2011-05-12</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087303" target="_blank">PMC7087303</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21562883.0" target="_blank">21562883.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-011-1001-4" target="_blank">10.1007/s00705-011-1001-4</a></td>
<td>ddcz7zck</td>
<td>0.582106</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_03.html#dtvzwin8">Jeong_2015</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#p4w2jh00">Pyrc_2011</a></td>
</tr>
<tr>
<th id="5z91exuk";>73</th>
<td>Meir_2010</td>
<td>Development of a real-time TaqMan® RT-PCR assay for the detection of infectious bronchitis virus in chickens, and comparison of RT-PCR and virus isolation</td>
<td>Meir, Rosie; Maharat, Ora; Farnushi, Ygal; Simanov, Lubov</td>
<td>2010</td>
<td>2010-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112792" target="_blank">PMC7112792</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19781572.0" target="_blank">19781572.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.09.014" target="_blank">10.1016/j.jviromet.2009.09.014</a></td>
<td>5z91exuk</td>
<td>0.580971</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#gqmghn49">Cuevas-Romero_2013</a></td>
</tr>
<tr>
<th id="ccdj7137";>74</th>
<td>Vabret_2001</td>
<td>Direct diagnosis of human respiratory coronaviruses 229E and OC43 by the polymerase chain reaction</td>
<td>Vabret, Astrid; Mouthon, Franck; Mourez, Thomas; Gouarin, Stephanie; Petitjean, Joëlle; Freymuth, François</td>
<td>2001</td>
<td>2001-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119936" target="_blank">PMC7119936</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/11483217.0" target="_blank">11483217.0</a></td>
<td><a href="https://doi.org/10.1016/s0166-0934(01)00343-3" target="_blank">10.1016/s0166-0934(01)00343-3</a></td>
<td>ccdj7137</td>
<td>0.580856</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="6f8vyziv";>75</th>
<td>Pripuzova_2012</td>
<td>Development of Real-Time PCR Array for Simultaneous Detection of Eight Human Blood-Borne Viral Pathogens</td>
<td>Pripuzova, Natalia; Wang, Richard; Tsai, Shien; Li, Bingjie; Hung, Guo-Chiuan; Ptak, Roger G.; Lo, Shyh-Ching</td>
<td>2012</td>
<td>2012-08-17</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3422334" target="_blank">PMC3422334</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22912836.0" target="_blank">22912836.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0043246" target="_blank">10.1371/journal.pone.0043246</a></td>
<td>6f8vyziv</td>
<td>0.580102</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a>, <a href="Topic_14.html#zvrfqkol">Reddy_2011</a></td>
</tr>
<tr>
<th id="zstr65vk";>76</th>
<td>Fan_Q_2012</td>
<td>A reverse transcription loop-mediated isothermal amplification method for rapid detection of bovine viral diarrhea virus</td>
<td>Fan, Qing; Xie, Zhixun; Xie, Liji; Liu, Jiabo; Pang, Yaoshan; Deng, Xianwen; Xie, Zhiqin; Peng, Yi; Wang, Xiuqing</td>
<td>2012</td>
<td>2012-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112856" target="_blank">PMC7112856</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22947692.0" target="_blank">22947692.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2012.08.007" target="_blank">10.1016/j.jviromet.2012.08.007</a></td>
<td>zstr65vk</td>
<td>0.579314</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#vqss7z7m">Zhang_2011</a></td>
</tr>
<tr>
<th id="jtvez46y";>77</th>
<td>Wu_X_2019</td>
<td>Simultaneous and visual detection of infectious bronchitis virus and Newcastle disease virus by multiple LAMP and lateral flow dipstick</td>
<td>Wu, Xuan; Song, Zengxu; Zhai, Xiwen; Zuo, Lei; Mei, Xueran; Xiang, Rong; Kang, Zhuangzhuang; Zhou, Long; Wang, Hongning</td>
<td>2019</td>
<td>2019-11-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7107193" target="_blank">PMC7107193</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31265112.0" target="_blank">31265112.0</a></td>
<td><a href="https://doi.org/10.3382/ps/pez372" target="_blank">10.3382/ps/pez372</a></td>
<td>jtvez46y</td>
<td>0.578805</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ytaro52p">Chen_2010</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="u43ehmut";>78</th>
<td>Pongsiri_2012</td>
<td>Multiplex real–time RT–PCR for detecting chikungunya virus and dengue virus</td>
<td>Pongsiri, Piyathida; Praianantathavorn, Kesmanee; Theamboonlers, Apiradee; Payungporn, Sunchai; Poovorawan, Yong</td>
<td>2012</td>
<td>2012-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7128799" target="_blank">PMC7128799</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22546647.0" target="_blank">22546647.0</a></td>
<td><a href="https://doi.org/10.1016/s1995-7645(12)60055-8" target="_blank">10.1016/s1995-7645(12)60055-8</a></td>
<td>u43ehmut</td>
<td>0.576577</td>
<td></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="dfcqhvn9";>79</th>
<td>Mu_Y_2014</td>
<td>New method for the visual detection of human respiratory syncytial virus using reverse transcription loop-mediated amplification</td>
<td>Mu, Yonglin; Zeng, Jiawei; Chen, Qianqian; Liu, Jia; Wang, Lili; Yao, Fujia; Cui, Meng; He, Zhixiang; Zhang, Chiyu; Xiao, Ming; Lan, Ke</td>
<td>2014</td>
<td>2014-09-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113655" target="_blank">PMC7113655</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24925133.0" target="_blank">24925133.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2014.06.005" target="_blank">10.1016/j.jviromet.2014.06.005</a></td>
<td>dfcqhvn9</td>
<td>0.575769</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#nilhztjf">Song_2014</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="7m71pqu9";>80</th>
<td>Abera_2014</td>
<td>A SYBR Green I based real time RT-PCR assay for specific detection and quantitation of Peste des petits ruminants virus</td>
<td>Abera, Tsegalem; Thangavelu, Ardhanary; Joy Chandran, Navamani Daniel; Raja, Angamuthu</td>
<td>2014</td>
<td>2014-01-14</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3896792" target="_blank">PMC3896792</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24423231.0" target="_blank">24423231.0</a></td>
<td><a href="https://doi.org/10.1186/1746-6148-10-22" target="_blank">10.1186/1746-6148-10-22</a></td>
<td>7m71pqu9</td>
<td>0.575764</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#hj0bt9bd">Wang_2017</a></td>
</tr>
<tr>
<th id="mskkahwi";>81</th>
<td>Lu_R_2020</td>
<td>SARS-CoV-2 detection using digital PCR for COVID-19 diagnosis, treatment monitoring and criteria for discharge</td>
<td>Renfei Lu; Jian Wang; Min Li; Yaqi Wang; Jia Dong; Weihua Cai</td>
<td>2020</td>
<td>2020-03-30</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.03.24.20042689" target="_blank">10.1101/2020.03.24.20042689</a></td>
<td>mskkahwi</td>
<td>0.575761</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#86el3qwn">Poon_2003</a></td>
</tr>
<tr>
<th id="zyf0gswm";>82</th>
<td>Ma_X_2015</td>
<td>A multiplex PCR assay for the detection of five influenza viruses using a dual priming oligonucleotide system</td>
<td>Ma, Xuezheng; Xu, Huanzhou; Shi, Lei; Yang, Pengfei; Zhang, Liping; Sun, Xiaohong; Zhen, Wei; Hu, Kongxin</td>
<td>2015</td>
<td>2015-02-25</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4344991" target="_blank">PMC4344991</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25886516.0" target="_blank">25886516.0</a></td>
<td><a href="https://doi.org/10.1186/s12879-015-0818-y" target="_blank">10.1186/s12879-015-0818-y</a></td>
<td>zyf0gswm</td>
<td>0.574962</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a>, <a href="Topic_03.html#b8jxz225">Fallahi_2015</a></td>
</tr>
<tr>
<th id="9gtx4bhp";>83</th>
<td>Nakauchi_2014</td>
<td>Real-time RT-PCR assays for discriminating influenza B virus Yamagata and Victoria lineages</td>
<td>Nakauchi, Mina; Takayama, Ikuyo; Takahashi, Hitoshi; Oba, Kunihiro; Kubo, Hideyuki; Kaida, Atsushi; Tashiro, Masato; Kageyama, Tsutomu</td>
<td>2014</td>
<td>2014-09-01</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24797457.0" target="_blank">24797457.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2014.04.016" target="_blank">10.1016/j.jviromet.2014.04.016</a></td>
<td>9gtx4bhp</td>
<td>0.572233</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="pmwl5w9o";>84</th>
<td>Yuan_2015</td>
<td>Development of a nanoparticle-assisted PCR assay for detection of porcine epidemic diarrhea virus</td>
<td>Yuan, Wanzhe; Li, Yanan; Li, Peng; Song, Qinye; Li, Limin; Sun, Jiguo</td>
<td>2015</td>
<td>2015-08-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113876" target="_blank">PMC7113876</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25887451.0" target="_blank">25887451.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2015.04.008" target="_blank">10.1016/j.jviromet.2015.04.008</a></td>
<td>pmwl5w9o</td>
<td>0.570946</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_05.html#mkrpls2f">Xing_2016</a>, <a href="Topic_05.html#rc67p55z">Xu_F_2020</a></td>
</tr>
<tr>
<th id="ndralqvr";>85</th>
<td>Chen_2004</td>
<td>Development of a novel real-time RT-PCR assay with LUX primer for the detection of swine transmissible gastroenteritis virus</td>
<td>Chen, Ru; Huang, Weiming; Lin, Zhixiong; Zhou, Zhongfang; Yu, Haiqiong; Zhu, Daozhong</td>
<td>2004</td>
<td>2004-12-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119747" target="_blank">PMC7119747</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15488621.0" target="_blank">15488621.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2004.08.003" target="_blank">10.1016/j.jviromet.2004.08.003</a></td>
<td>ndralqvr</td>
<td>0.569049</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#gqmghn49">Cuevas-Romero_2013</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="hzbh7s2t";>86</th>
<td>Wang_2019</td>
<td>A multiplex real-time PCR assay for the detection and differentiation of the newly emerged porcine circovirus type 3 and continuously evolving type 2 strains in the United States</td>
<td>Wang, Yin; Feng, Yuan; Zheng, Wanglong; Noll, Lance; Porter, Elizabeth; Potter, Megan; Cino, Giselle; Peddireddi, Lalitha; Liu, Xuming; Anderson, Gary; Bai, Jianfa</td>
<td>2019</td>
<td>2019-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113677" target="_blank">PMC7113677</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30904590.0" target="_blank">30904590.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.03.011" target="_blank">10.1016/j.jviromet.2019.03.011</a></td>
<td>hzbh7s2t</td>
<td>0.566234</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_06.html#xb2f0wdy">Kumar_2010</a></td>
<td><a href="Topic_01.html#4rbrzv5o">Choudhary_2013</a>, <a href="Topic_01.html#06c3ymc3">Huang_2009</a></td>
</tr>
<tr>
<th id="n76iea5g";>87</th>
<td>Wan_Z_2016</td>
<td>A Melting Curve-Based Multiplex RT-qPCR Assay for Simultaneous Detection of Four Human Coronaviruses</td>
<td>Wan, Zhenzhou; Zhang, Ya’nan; He, Zhixiang; Liu, Jia; Lan, Ke; Hu, Yihong; Zhang, Chiyu</td>
<td>2016</td>
<td>2016-11-23</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5133880" target="_blank">PMC5133880</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27886052.0" target="_blank">27886052.0</a></td>
<td><a href="https://doi.org/10.3390/ijms17111880" target="_blank">10.3390/ijms17111880</a></td>
<td>n76iea5g</td>
<td>0.565905</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="uix2y084";>88</th>
<td>Douglas_2015</td>
<td>Real-time reverse transcriptase polymerase chain reaction assays for Middle East Respiratory Syndrome</td>
<td>Douglas, Christina E.; Kulesh, David A.; Jaissle, James G.; Minogue, Timothy D.</td>
<td>2015</td>
<td>2015-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7126732" target="_blank">PMC7126732</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26365228.0" target="_blank">26365228.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2015.09.001" target="_blank">10.1016/j.mcp.2015.09.001</a></td>
<td>uix2y084</td>
<td>0.562542</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a></td>
</tr>
<tr>
<th id="6rgm3c4s";>89</th>
<td>Wu_M_2018</td>
<td>Multiplex Detection of Five Canine Viral Pathogens for Dogs as Laboratory Animals by the Luminex xTAG Assay</td>
<td>Wu, Miaoli; Cong, Feng; Zhu, Yujun; Lian, Yuexiao; Chen, Meili; Huang, Ren; Guo, Pengju</td>
<td>2018</td>
<td>2018-08-17</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6107692" target="_blank">PMC6107692</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30174654.0" target="_blank">30174654.0</a></td>
<td><a href="https://doi.org/10.3389/fmicb.2018.01783" target="_blank">10.3389/fmicb.2018.01783</a></td>
<td>6rgm3c4s</td>
<td>0.562510</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#ssmfhoew">Wu_M_2018</a>, <a href="Topic_01.html#hj0bt9bd">Wang_2017</a></td>
</tr>
<tr>
<th id="3lrpcglp";>90</th>
<td>Garae_2020</td>
<td>Validation of the easyscreen flavivirus dengue alphavirus detection kit based on 3base amplification technology and its application to the 2016/17 Vanuatu dengue outbreak</td>
<td>Garae, Crystal; Kalo, Kalkoa; Pakoa, George Junior; Baker, Rohan; Isaacs, Phill; Millar, Douglas Spencer</td>
<td>2020</td>
<td>2020-01-17</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6968865" target="_blank">PMC6968865</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31951602.0" target="_blank">31951602.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0227550" target="_blank">10.1371/journal.pone.0227550</a></td>
<td>3lrpcglp</td>
<td>0.559857</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="pm0fk1a0";>91</th>
<td>Decaro_2008</td>
<td>Detection of bovine coronavirus using a TaqMan-based real-time RT-PCR assay</td>
<td>Decaro, Nicola; Elia, Gabriella; Campolo, Marco; Desario, Costantina; Mari, Viviana; Radogna, Arianna; Colaianni, Maria Loredana; Cirone, Francesco; Tempesta, Maria; Buonavoglia, Canio</td>
<td>2008</td>
<td>2008-08-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112840" target="_blank">PMC7112840</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18579223.0" target="_blank">18579223.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2008.05.016" target="_blank">10.1016/j.jviromet.2008.05.016</a></td>
<td>pm0fk1a0</td>
<td>0.559546</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="i0fu8e0p";>92</th>
<td>Amer_2011</td>
<td>Development of a SYBR Green I based real-time RT-PCR assay for detection and quantification of bovine coronavirus</td>
<td>Amer, Haitham M.; Almajhdi, Fahad N.</td>
<td>2011</td>
<td>2011-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127634" target="_blank">PMC7127634</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21419844.0" target="_blank">21419844.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2011.03.001" target="_blank">10.1016/j.mcp.2011.03.001</a></td>
<td>i0fu8e0p</td>
<td>0.559317</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_06.html#xb2f0wdy">Kumar_2010</a>, <a href="Topic_01.html#pm0fk1a0">Decaro_2008</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="0pgcfk6b";>93</th>
<td>Sidoti_2011</td>
<td>Development of a Quantitative Real-Time Nucleic Acid Sequence-Based Amplification Assay with an Internal Control Using Molecular Beacon Probes for Selective and Sensitive Detection of Human Rhinovirus Serotypes</td>
<td>Sidoti, Francesca; Bergallo, Massimiliano; Terlizzi, Maria Elena; Piasentin Alessio, Elsa; Astegiano, Sara; Gasparini, Giorgio; Cavallo, Rossana</td>
<td>2011</td>
<td>2011-07-05</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7091405" target="_blank">PMC7091405</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21728031.0" target="_blank">21728031.0</a></td>
<td><a href="https://doi.org/10.1007/s12033-011-9432-4" target="_blank">10.1007/s12033-011-9432-4</a></td>
<td>0pgcfk6b</td>
<td>0.558728</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#u31f5e05">Niu_P_2016</a></td>
</tr>
<tr>
<th id="aul4ifso";>94</th>
<td>Yuan_2016</td>
<td>Development of a duplex real-time RT-PCR for the simultaneous detection and differentiation of Theiler’s murine encephalomyelitis virus and rat theilovirus</td>
<td>Yuan, Wen; Wang, Jing; Xu, Fengjiao; Huang, Bihong; Lian, Yuexiao; Rao, Dan; Yin, Xueqin; Wu, Miaoli; Zhu, Yujun; Zhang, Yu; Huang, Ren; Guo, Pengju</td>
<td>2016</td>
<td>2016-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119687" target="_blank">PMC7119687</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27396678.0" target="_blank">27396678.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2016.07.004" target="_blank">10.1016/j.jviromet.2016.07.004</a></td>
<td>aul4ifso</td>
<td>0.555039</td>
<td><a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="91ypig4r";>95</th>
<td>CHEN_2010</td>
<td>Use of a Multiplex RT-PCR Assay for Simultaneous Detection of the North American Genotype Porcine Reproductive and Respiratory Syndrome Virus, Swine Influenza Virus and Japanese Encephalitis Virus</td>
<td>CHEN, Hong-ying; WEI, Zhan-yong; ZHANG, Hong-ying; LÜ, Xiao-li; ZHENG, Lan-lan; CUI, Bao-an; LIU, Jinpeng; ZHU, Qian-lei; WANG, Zi-xin</td>
<td>2010</td>
<td>2010-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7129351" target="_blank">PMC7129351</a></td>
<td></td>
<td><a href="https://doi.org/10.1016/s1671-2927(09)60189-9" target="_blank">10.1016/s1671-2927(09)60189-9</a></td>
<td>91ypig4r</td>
<td>0.554877</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#l8s762ab">Zhao_2019</a></td>
</tr>
<tr>
<th id="5xhgocmi";>96</th>
<td>Ge_Y_2013</td>
<td>Rapid and Sensitive Detection of Novel Avian-Origin Influenza A (H7N9) Virus by Reverse Transcription Loop-Mediated Isothermal Amplification Combined with a Lateral-Flow Device</td>
<td>Ge, Yiyue; Wu, Bin; Qi, Xian; Zhao, Kangchen; Guo, Xiling; Zhu, Yefei; Qi, Yuhua; Shi, Zhiyang; Zhou, Minghao; Wang, Hua; Cui, Lunbiao</td>
<td>2013</td>
<td>2013-08-01</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3731295" target="_blank">PMC3731295</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23936359.0" target="_blank">23936359.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0069941" target="_blank">10.1371/journal.pone.0069941</a></td>
<td>5xhgocmi</td>
<td>0.550977</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="1zyy536y";>97</th>
<td>Lorusso_2010</td>
<td>One-step real-time RT-PCR for pandemic influenza A virus (H1N1) 2009 matrix gene detection in swine samples</td>
<td>Lorusso, Alessio; Faaberg, Kay S.; Killian, Mary Lea; Koster, Leo; Vincent, Amy L.</td>
<td>2010</td>
<td>2010-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119756" target="_blank">PMC7119756</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20005904.0" target="_blank">20005904.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.12.002" target="_blank">10.1016/j.jviromet.2009.12.002</a></td>
<td>1zyy536y</td>
<td>0.545373</td>
<td></td>
<td><a href="Topic_01.html#cuhx1dfq">Kumar_2010</a></td>
</tr>
<tr>
<th id="biua91v4";>98</th>
<td>Huang_2004</td>
<td>Sensitive and specific detection of strains of Japanese encephalitis virus using a one‐step TaqMan RT‐PCR technique</td>
<td>Huang, Jau‐Ling; Lin, Hui‐Tsu; Wang, Yu‐Ming; Weng, Ming‐Hui; Ji, Da‐Der; Kuo, Ming‐Der; Liu, Huan‐Wun; Lin, Chang‐Shen</td>
<td>2004</td>
<td>2004-10-13</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7166820" target="_blank">PMC7166820</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15484282.0" target="_blank">15484282.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.20218" target="_blank">10.1002/jmv.20218</a></td>
<td>biua91v4</td>
<td>0.544281</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td></td>
</tr>
<tr>
<th id="gqmghn49";>99</th>
<td>Cuevas-Romero_2013</td>
<td>Development of a real-time RT-PCR method for detection of porcine rubulavirus (PoRV-LPMV)</td>
<td>Cuevas-Romero, Sandra; Blomström, Anne-Lie; Alvarado, Arcelia; Hernández-Jauregui, Pablo; Rivera-Benitez, Francisco; Ramírez-Mendoza, Humberto; Berg, Mikael</td>
<td>2013</td>
<td>2013-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113651" target="_blank">PMC7113651</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23305816.0" target="_blank">23305816.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2012.12.009" target="_blank">10.1016/j.jviromet.2012.12.009</a></td>
<td>gqmghn49</td>
<td>0.541001</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_04.html#akr0shvb">Thiel_2002</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_01.html#fvdq0yes">Wang_2018</a></td>
</tr>
<tr>
<th id="s7qauqll";>100</th>
<td>Poon_2004</td>
<td>Detection of SARS Coronavirus in Patients with Severe Acute Respiratory Syndrome by Conventional and Real-Time Quantitative Reverse Transcription-PCR Assays</td>
<td>Poon, Leo L M; Chan, Kwok Hung; Wong, On Kei; Cheung, Timothy K W; Ng, Iris; Zheng, Bojian; Seto, Wing Hong; Yuen, Kwok Yung; Guan, Yi; Peiris, Joseph S M</td>
<td>2004</td>
<td>2004-01-01</td>
<td>PMC</td>
<td>Y</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7108136" target="_blank">PMC7108136</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/14709637.0" target="_blank">14709637.0</a></td>
<td><a href="https://doi.org/10.1373/clinchem.2003.023663" target="_blank">10.1373/clinchem.2003.023663</a></td>
<td>s7qauqll</td>
<td>0.540810</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#86el3qwn">Poon_2003</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="68cr4amg";>101</th>
<td>Ma_L_2018</td>
<td>Development of a Conventional RT-PCR Assay for Rapid Detection of Porcine Deltacoronavirus with the Same Detection Limit as a SYBR Green-Based Real-Time RT-PCR Assay</td>
<td>Ma, Lei; Zeng, Fanwen; Huang, Bihong; Cong, Feng; Huang, Ren; Ma, Jingyun; Guo, Pengju</td>
<td>2018</td>
<td>2018-11-06</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6247729" target="_blank">PMC6247729</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30533434.0" target="_blank">30533434.0</a></td>
<td><a href="https://doi.org/10.1155/2018/5035139" target="_blank">10.1155/2018/5035139</a></td>
<td>68cr4amg</td>
<td>0.538818</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_01.html#gqmghn49">Cuevas-Romero_2013</a></td>
</tr>
<tr>
<th id="iucu98wx";>102</th>
<td>Losurdo_2015</td>
<td>Development of a TaqMan assay for sensitive detection of all pestiviruses infecting cattle, including the emerging HoBi-like strains</td>
<td>Losurdo, Michele; Mari, Viviana; Lucente, Maria Stella; Colaianni, Maria Loredana; Padalino, Iolanda; Cavaliere, Nicola; Buonavoglia, Canio; Decaro, Nicola</td>
<td>2015</td>
<td>2015-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113749" target="_blank">PMC7113749</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26300370.0" target="_blank">26300370.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2015.08.013" target="_blank">10.1016/j.jviromet.2015.08.013</a></td>
<td>iucu98wx</td>
<td>0.538776</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#zz7mt6be">Hakhverdyan_2005</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="84vf5bts";>103</th>
<td>Sakurai_2011</td>
<td>Rapid typing of influenza viruses using super high-speed quantitative real-time PCR</td>
<td>Sakurai, Akira; Nomura, Namiko; Nanba, Reiko; Sinkai, Takayuki; Iwaki, Tsunehito; Obayashi, Taminori; Hashimoto, Kazuhiro; Hasegawa, Michiya; Sakoda, Yoshihiro; Naito, Akihiro; Morizane, Yoshihito; Hosaka, Mitsugu; Tsuboi, Kunio; Kida, Hiroshi; Kai, Akemi; Shibasaki, Futoshi</td>
<td>2011</td>
<td>2011-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119501" target="_blank">PMC7119501</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21889540.0" target="_blank">21889540.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2011.08.015" target="_blank">10.1016/j.jviromet.2011.08.015</a></td>
<td>84vf5bts</td>
<td>0.537528</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="06c3ymc3";>104</th>
<td>Huang_2009</td>
<td>Development of a reverse transcription multiplex real-time PCR for the detection and genotyping of classical swine fever virus</td>
<td>Huang, Yu-Liang; Pang, Victor Fei; Pan, Chu-Hsiang; Chen, Tsu-Han; Jong, Ming-Hwa; Huang, Tien-Shine; Jeng, Chian-Ren</td>
<td>2009</td>
<td>2009-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112934" target="_blank">PMC7112934</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19414034.0" target="_blank">19414034.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.04.029" target="_blank">10.1016/j.jviromet.2009.04.029</a></td>
<td>06c3ymc3</td>
<td>0.537087</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="26q3j35g";>105</th>
<td>Sikazwe_2016</td>
<td>Reliable quantification of rhinovirus species C using real-time PCR</td>
<td>Sikazwe, Chisha T.; Chidlow, Glenys R.; Imrie, Allison; Smith, David W.</td>
<td>2016</td>
<td>2016-09-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27216896.0" target="_blank">27216896.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2016.05.014" target="_blank">10.1016/j.jviromet.2016.05.014</a></td>
<td>26q3j35g</td>
<td>0.535843</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td></td>
</tr>
<tr>
<th id="nx9fg4yn";>106</th>
<td>Mari_2016</td>
<td>Multiplex real-time RT-PCR assay for bovine viral diarrhea virus type 1, type 2 and HoBi-like pestivirus</td>
<td>Mari, Viviana; Losurdo, Michele; Lucente, Maria Stella; Lorusso, Eleonora; Elia, Gabriella; Martella, Vito; Patruno, Giovanni; Buonavoglia, Domenico; Decaro, Nicola</td>
<td>2016</td>
<td>2016-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113868" target="_blank">PMC7113868</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26709100.0" target="_blank">26709100.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2015.12.003" target="_blank">10.1016/j.jviromet.2015.12.003</a></td>
<td>nx9fg4yn</td>
<td>0.531677</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#iucu98wx">Losurdo_2015</a></td>
</tr>
<tr>
<th id="fa0mnbzg";>107</th>
<td>Nemoto_2015</td>
<td>Rapid detection of equine coronavirus by reverse transcription loop-mediated isothermal amplification</td>
<td>Nemoto, Manabu; Morita, Yoshinori; Niwa, Hidekazu; Bannai, Hiroshi; Tsujimura, Koji; Yamanaka, Takashi; Kondo, Takashi</td>
<td>2015</td>
<td>2015-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113660" target="_blank">PMC7113660</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25682750.0" target="_blank">25682750.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2015.02.001" target="_blank">10.1016/j.jviromet.2015.02.001</a></td>
<td>fa0mnbzg</td>
<td>0.531677</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="ngn9x3lc";>108</th>
<td>Erlandsson_2011</td>
<td>The Microbial Detection Array Combined with Random Phi29-Amplification Used as a Diagnostic Tool for Virus Detection in Clinical Samples</td>
<td>Erlandsson, Lena; Rosenstierne, Maiken W.; McLoughlin, Kevin; Jaing, Crystal; Fomsgaard, Anders</td>
<td>2011</td>
<td>2011-08-10</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3154197" target="_blank">PMC3154197</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21853040.0" target="_blank">21853040.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0022631" target="_blank">10.1371/journal.pone.0022631</a></td>
<td>ngn9x3lc</td>
<td>0.531122</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_02.html#xo1cyzrg">Giles_2015</a>, <a href="Topic_01.html#9apyiy7n">Li_J_2012</a></td>
</tr>
<tr>
<th id="zz7mt6be";>109</th>
<td>Hakhverdyan_2005</td>
<td>Evaluation of a single-tube fluorogenic RT-PCR assay for detection of bovine respiratory syncytial virus in clinical samples</td>
<td>Hakhverdyan, Mikhayil; Hägglund, Sara; Larsen, Lars-Erik; Belák, Sándor</td>
<td>2005</td>
<td>2005-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112851" target="_blank">PMC7112851</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15620402.0" target="_blank">15620402.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2004.09.016" target="_blank">10.1016/j.jviromet.2004.09.016</a></td>
<td>zz7mt6be</td>
<td>0.530651</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="a5grrd7z";>110</th>
<td>Amer_2013</td>
<td>A new approach for diagnosis of bovine coronavirus using a reverse transcription recombinase polymerase amplification assay</td>
<td>Amer, H.M.; Abd El Wahed, A.; Shalaby, M.A.; Almajhdi, F.N.; Hufert, F.T.; Weidmann, M.</td>
<td>2013</td>
<td>2013-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113639" target="_blank">PMC7113639</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23811231.0" target="_blank">23811231.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2013.06.027" target="_blank">10.1016/j.jviromet.2013.06.027</a></td>
<td>a5grrd7z</td>
<td>0.528788</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="muskjaw3";>111</th>
<td>Black_2002</td>
<td>A rapid RT-PCR method to differentiate six established genotypes of rabies and rabies-related viruses using TaqMan™ technology</td>
<td>Black, Elizabeth M; Lowings, J.Paul; Smith, Jemma; Heaton, Paul R; McElhinney, Lorraine M</td>
<td>2002</td>
<td>2002-08-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119615" target="_blank">PMC7119615</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/12176139.0" target="_blank">12176139.0</a></td>
<td><a href="https://doi.org/10.1016/s0166-0934(02)00062-9" target="_blank">10.1016/s0166-0934(02)00062-9</a></td>
<td>muskjaw3</td>
<td>0.525442</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_12.html#zarq507s">Pulford_2004</a></td>
<td></td>
</tr>
<tr>
<th id="992l4een";>112</th>
<td>Hanaki_2013</td>
<td>Reverse transcription-loop-mediated isothermal amplification for the detection of rodent coronaviruses</td>
<td>Hanaki, Ken-Ichi; Ike, Fumio; Hatakeyama, Rika; Hirano, Norio</td>
<td>2013</td>
<td>2013-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112798" target="_blank">PMC7112798</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23123121.0" target="_blank">23123121.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2012.10.008" target="_blank">10.1016/j.jviromet.2012.10.008</a></td>
<td>992l4een</td>
<td>0.525442</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="zpeh8pmc";>113</th>
<td>Huang_2019</td>
<td>A TaqMan-probe-based multiplex real-time RT-qPCR for simultaneous detection of porcine enteric coronaviruses</td>
<td>Huang, Xin; Chen, Jianing; Yao, Gang; Guo, Qingyong; Wang, Jinquan; Liu, Guangliang</td>
<td>2019</td>
<td>2019-04-26</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7080015" target="_blank">PMC7080015</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31025076.0" target="_blank">31025076.0</a></td>
<td><a href="https://doi.org/10.1007/s00253-019-09835-7" target="_blank">10.1007/s00253-019-09835-7</a></td>
<td>zpeh8pmc</td>
<td>0.525137</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#fvdq0yes">Wang_2018</a>, <a href="Topic_01.html#wue6s07z">Zhou_2018</a></td>
</tr>
<tr>
<th id="1c5ug64m";>114</th>
<td>Zhuang_2019</td>
<td>Polymerase chain reaction combined with fluorescent lateral flow immunoassay based on magnetic purification for rapid detection of canine parvovirus 2</td>
<td>Zhuang, Linlin; Ji, Yongxin; Tian, Peilong; Wang, Kaixuan; Kou, Chengkun; Gu, Ning; Zhang, Yu</td>
<td>2019</td>
<td>2019-01-17</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6337814" target="_blank">PMC6337814</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30654823.0" target="_blank">30654823.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-019-1774-3" target="_blank">10.1186/s12917-019-1774-3</a></td>
<td>1c5ug64m</td>
<td>0.521515</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_06.html#3yn80r9h">Yang_2009</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#hj0bt9bd">Wang_2017</a></td>
</tr>
<tr>
<th id="09dm8vu2";>115</th>
<td>Wilkes_2015</td>
<td>An insulated isothermal PCR method on a field-deployable device for rapid and sensitive detection of canine parvovirus type 2 at points of need</td>
<td>Wilkes, Rebecca P.; Lee, Pei-Yu A.; Tsai, Yun-Long; Tsai, Chuan-Fu; Chang, Hsiu-Hui; Chang, Hsiao-Fen G.; Wang, Hwa-Tang T.</td>
<td>2015</td>
<td>2015-08-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119629" target="_blank">PMC7119629</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25889355.0" target="_blank">25889355.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2015.04.007" target="_blank">10.1016/j.jviromet.2015.04.007</a></td>
<td>09dm8vu2</td>
<td>0.518833</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#1c5ug64m">Zhuang_2019</a>, <a href="Topic_01.html#hj0bt9bd">Wang_2017</a></td>
</tr>
<tr>
<th id="ssxq1ns2";>116</th>
<td>Peiris_2007</td>
<td>Detection of SARS Coronavirus in Humans and Animals by Conventional and Quantitative (Real Time) Reverse Transcription Polymerase Chain Reactions</td>
<td>Peiris, J.S. Malik; Poon, Leo L.M.</td>
<td>2007</td>
<td>2007-11-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7120234" target="_blank">PMC7120234</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19057863.0" target="_blank">19057863.0</a></td>
<td><a href="https://doi.org/10.1007/978-1-59745-181-9_6" target="_blank">10.1007/978-1-59745-181-9_6</a></td>
<td>ssxq1ns2</td>
<td>0.518081</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#86el3qwn">Poon_2003</a>, <a href="Topic_01.html#11fdzjpv">Poon_2004</a></td>
</tr>
<tr>
<th id="gjek77ny";>117</th>
<td>Lee_H_2010</td>
<td>Diagnostic Testing for Pandemic Influenza in Singapore A Novel Dual-Gene Quantitative Real-Time RT-PCR for the Detection of Influenza A/H1N1/2009</td>
<td>Lee, Hong Kai; Lee, Chun Kiat; Loh, Tze Ping; Tang, Julian Wei-Tze; Chiu, Lily; Tambyah, Paul A.; Sethi, Sunil K.; Koay, Evelyn Siew-Chuan</td>
<td>2010</td>
<td>2010-09-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.2353/jmoldx.2010.100010" target="_blank">10.2353/jmoldx.2010.100010</a></td>
<td>gjek77ny</td>
<td>0.517257</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="z3js3mr4";>118</th>
<td>Chen_2015</td>
<td>Development and Evaluation of a SYBR Green–Based Real-Time Multiplex RT-PCR Assay for Simultaneous Detection and Serotyping of Dengue and Chikungunya Viruses</td>
<td>Chen, Huixin; Parimelalagan, Mariya; Lai, Yee Ling; Lee, Kim Sung; Koay, Evelyn Siew-Chuan; Hapuarachchi, Hapuarachchige C.; Ng, Lee Ching; Ho, Phui San; Chu, Justin Jang Hann</td>
<td>2015</td>
<td>2015-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7106138" target="_blank">PMC7106138</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26455921.0" target="_blank">26455921.0</a></td>
<td><a href="https://doi.org/10.1016/j.jmoldx.2015.06.008" target="_blank">10.1016/j.jmoldx.2015.06.008</a></td>
<td>z3js3mr4</td>
<td>0.514995</td>
<td></td>
<td><a href="Topic_06.html#3yn80r9h">Yang_2009</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#3lujp0oy">Neeraja_2015</a></td>
</tr>
<tr>
<th id="kt5f672s";>119</th>
<td>Wang_2019</td>
<td>Development and evaluation of recombinase-aided amplification assays incorporating competitive internal controls for detection of human adenovirus serotypes 3 and 7</td>
<td>Wang, Rui-huan; Zhang, Hong; Zhang, Yi; Li, Xin-na; Shen, Xin-xin; Qi, Ju-ju; Fan, Guo-hao; Xiang, Xing-yu; Zhan, Zhi-fei; Chen, Zi-wei; Ma, Xue-jun</td>
<td>2019</td>
<td>2019-07-01</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6604330" target="_blank">PMC6604330</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31262315.0" target="_blank">31262315.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-019-1178-9" target="_blank">10.1186/s12985-019-1178-9</a></td>
<td>kt5f672s</td>
<td>0.514612</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#03a6hq3t">Moore_2017</a>, <a href="Topic_14.html#zvrfqkol">Reddy_2011</a>, <a href="Topic_01.html#y52o45zk">Ma_L_2018</a></td>
</tr>
<tr>
<th id="hr1f3g28";>120</th>
<td>Clancy_2015</td>
<td>Development of a rapid recombinase polymerase amplification assay for the detection of Streptococcus pneumoniae in whole blood</td>
<td>Clancy, Eoin; Higgins, Owen; Forrest, Matthew S.; Boo, Teck Wee; Cormican, Martin; Barry, Thomas; Piepenburg, Olaf; Smith, Terry J.</td>
<td>2015</td>
<td>2015-10-29</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4625855" target="_blank">PMC4625855</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26515409.0" target="_blank">26515409.0</a></td>
<td><a href="https://doi.org/10.1186/s12879-015-1212-5" target="_blank">10.1186/s12879-015-1212-5</a></td>
<td>hr1f3g28</td>
<td>0.514511</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td></td>
</tr>
<tr>
<th id="9k2oox64";>121</th>
<td>Sharma_2018</td>
<td>Evaluation of clinical applicability of reverse transcription-loop-mediated isothermal amplification assay for detection and subtyping of Influenza A viruses</td>
<td>Sharma, Vikrant; Chaudhry, Dhruva; Kaushik, Samander</td>
<td>2018</td>
<td>2018-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113880" target="_blank">PMC7113880</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29253497.0" target="_blank">29253497.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2017.12.005" target="_blank">10.1016/j.jviromet.2017.12.005</a></td>
<td>9k2oox64</td>
<td>0.510373</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="ylqcql0i";>122</th>
<td>Corman_2016</td>
<td>Assay optimization for molecular detection of Zika virus</td>
<td>Corman, Victor M; Rasche, Andrea; Baronti, Cecile; Aldabbagh, Souhaib; Cadar, Daniel; Reusken, Chantal BEM; Pas, Suzan D; Goorhuis, Abraham; Schinkel, Janke; Molenkamp, Richard; Kümmerer, Beate M; Bleicker, Tobias; Brünink, Sebastian; Eschbach-Bludau, Monika; Eis-Hübinger, Anna M; Koopmans, Marion P; Schmidt-Chanasit, Jonas; Grobusch, Martin P; de Lamballerie, Xavier; Drosten, Christian; Drexler, Jan Felix</td>
<td>2016</td>
<td>2016-12-01</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5153932" target="_blank">PMC5153932</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27994281.0" target="_blank">27994281.0</a></td>
<td><a href="https://doi.org/10.2471/blt.16.175950" target="_blank">10.2471/blt.16.175950</a></td>
<td>ylqcql0i</td>
<td>0.510301</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="zw0my8cq";>123</th>
<td>Asano_2010</td>
<td>Multiplex semi-nested RT-PCR with exogenous internal control for simultaneous detection of bovine coronavirus and group A rotavirus</td>
<td>Asano, Karen Miyuki; de Souza, Sibele Pinheiro; de Barros, Iracema Nunes; Ayres, Giselle Razera; Silva, Sheila Oliveira Souza; Richtzenhain, Leonardo José; Brandão, Paulo E.</td>
<td>2010</td>
<td>2010-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119652" target="_blank">PMC7119652</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20723564.0" target="_blank">20723564.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.08.008" target="_blank">10.1016/j.jviromet.2010.08.008</a></td>
<td>zw0my8cq</td>
<td>0.507191</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#szyw02q2">Takiuchi_2006</a></td>
</tr>
<tr>
<th id="z73pxely";>124</th>
<td>Benson_2008</td>
<td>Development and Evaluation of a Novel Multiplex PCR Technology for Molecular Differential Detection of Bacterial Respiratory Disease Pathogens</td>
<td>Benson, Robert; Tondella, Maria L.; Bhatnagar, Julu; Carvalho, Maria da Glória S.; Sampson, Jacquelyn S.; Talkington, Deborah F.; Whitney, Anne M.; Mothershed, Elizabeth; McGee, Lesley; Carlone, George; McClee, Vondguraus; Guarner, Jeannette; Zaki, Sherif; Dejsiri, Surang; Cronin, K.; Han, Jian; Fields, Barry S.</td>
<td>2008</td>
<td>2008-04-09</td>
<td>None</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2446872" target="_blank">PMC2446872</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18400916.0" target="_blank">18400916.0</a></td>
<td><a href="https://doi.org/10.1128/jcm.01858-07" target="_blank">10.1128/jcm.01858-07</a></td>
<td>z73pxely</td>
<td>0.506183</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a></td>
</tr>
<tr>
<th id="ocdlh310";>125</th>
<td>LIU_D_2018</td>
<td>One-step triplex PCR/RT-PCR to detect canine distemper virus, canine parvovirus and canine kobuvirus</td>
<td>LIU, Dafei; LIU, Fei; GUO, Dongchun; HU, Xiaoliang; LI, Zhijie; LI, Zhigang; MA, Jianzhang; LIU, Chunguo</td>
<td>2018</td>
<td>2018-01-23</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6656820" target="_blank">PMC6656820</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29367517.0" target="_blank">29367517.0</a></td>
<td><a href="https://doi.org/10.1292/jvms.17-0442" target="_blank">10.1292/jvms.17-0442</a></td>
<td>ocdlh310</td>
<td>0.505277</td>
<td></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a></td>
</tr>
<tr>
<th id="4wefykbi";>126</th>
<td>Deng_2018</td>
<td>A multiplex PCR method for the simultaneous detection of three viruses associated with canine viral enteric infections</td>
<td>Deng, Xiaoyu; Zhang, Jiali; Su, Jiazi; Liu, Hao; Cong, Yanlong; Zhang, Lei; Zhang, Kemeng; Shi, Ning; Lu, Rongguang; Yan, Xijun</td>
<td>2018</td>
<td>2018-04-19</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086948" target="_blank">PMC7086948</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29675651.0" target="_blank">29675651.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-018-3828-4" target="_blank">10.1007/s00705-018-3828-4</a></td>
<td>4wefykbi</td>
<td>0.505131</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td></td>
</tr>
<tr>
<th id="ce3wa889";>127</th>
<td>Wang_2008</td>
<td>Resequencing microarray probe design for typing genetically diverse viruses: human rhinoviruses and enteroviruses</td>
<td>Wang, Zheng; Malanoski, Anthony P; Lin, Baochuan; Kidd, Carolyn; Long, Nina C; Blaney, Kate M; Thach, Dzung C; Tibbetts, Clark; Stenger, David A</td>
<td>2008</td>
<td>2008-12-01</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2607299" target="_blank">PMC2607299</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19046445.0" target="_blank">19046445.0</a></td>
<td><a href="https://doi.org/10.1186/1471-2164-9-577" target="_blank">10.1186/1471-2164-9-577</a></td>
<td>ce3wa889</td>
<td>0.505065</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="hj0bt9bd";>128</th>
<td>Wang_2017</td>
<td>Rapid and sensitive detection of canine distemper virus by real-time reverse transcription recombinase polymerase amplification</td>
<td>Wang, Jianchang; Wang, Jinfeng; Li, Ruiwen; Liu, Libing; Yuan, Wanzhe</td>
<td>2017</td>
<td>2017-08-15</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5558738" target="_blank">PMC5558738</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28810858.0" target="_blank">28810858.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-017-1180-7" target="_blank">10.1186/s12917-017-1180-7</a></td>
<td>hj0bt9bd</td>
<td>0.504388</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="wzb32zrm";>129</th>
<td>Wise_2015</td>
<td>Genotype-Specific Detection of Ferret Coronavirus by Conventional and Real-Time Reverse Transcription Polymerase Chain Reaction</td>
<td>Wise, Annabel G.; Kiupel, Matti; Maes, Roger K.</td>
<td>2015</td>
<td>2015-09-10</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7120203" target="_blank">PMC7120203</a></td>
<td></td>
<td><a href="https://doi.org/10.1007/978-1-4939-3414-0_16" target="_blank">10.1007/978-1-4939-3414-0_16</a></td>
<td>wzb32zrm</td>
<td>0.503862</td>
<td></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="6j4jb87s";>130</th>
<td>Zhang_2010</td>
<td>A double antibody sandwich enzyme-linked immunosorbent assay for detection of soft-shelled turtle iridovirus antigens</td>
<td>Zhang, M.; Yang, J.X.; Lin, X.M.; Zhu, C.H.; He, J.Q.; Liu, H.; Lin, T.L.</td>
<td>2010</td>
<td>2010-08-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112847" target="_blank">PMC7112847</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20399233.0" target="_blank">20399233.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.04.004" target="_blank">10.1016/j.jviromet.2010.04.004</a></td>
<td>6j4jb87s</td>
<td>0.503665</td>
<td><a href="Topic_04.html#l6t49b7d">Borja_1992</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td></td>
</tr>
<tr>
<th id="1hh8lj8t";>131</th>
<td>Hanaki_2014</td>
<td>Detection of murine norovirus by reverse transcription loop-mediated isothermal amplification</td>
<td>Hanaki, Ken-Ichi; Ike, Fumio; Kajita, Ayako; Yasuno, Wataru; Yanagiba, Misato; Goto, Motoki; Sakai, Kouji; Ami, Yasushi; Kyuwa, Shigeru</td>
<td>2014</td>
<td>2014-08-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24717164.0" target="_blank">24717164.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2014.03.025" target="_blank">10.1016/j.jviromet.2014.03.025</a></td>
<td>1hh8lj8t</td>
<td>0.502605</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td></td>
</tr>
<tr>
<th id="lhe51ws7";>132</th>
<td>Wong_2011</td>
<td>Development of a real-time RT-PCR assay for detection of resistance to oseltamivir in influenza A pandemic (H1N1) 2009 virus using single nucleotide polymorphism probes</td>
<td>Wong, Sallene; Pabbaraju, Kanti; Wong, Anita; Fonseca, Kevin; Drews, Steven J.</td>
<td>2011</td>
<td>2011-05-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21349290.0" target="_blank">21349290.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2011.02.014" target="_blank">10.1016/j.jviromet.2011.02.014</a></td>
<td>lhe51ws7</td>
<td>0.502206</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td></td>
</tr>
<tr>
<th id="z2rw5dc6";>133</th>
<td>Ward_2004</td>
<td>Design and performance testing of quantitative real time PCR assays for influenza A and B viral load measurement</td>
<td>Ward, C.L; Dempsey, M.H; Ring, C.J.A; Kempson, R.E; Zhang, L; Gor, D; Snowden, B.W; Tisdale, M</td>
<td>2004</td>
<td>2004-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7128145" target="_blank">PMC7128145</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/14962787.0" target="_blank">14962787.0</a></td>
<td><a href="https://doi.org/10.1016/s1386-6532(03)00122-7" target="_blank">10.1016/s1386-6532(03)00122-7</a></td>
<td>z2rw5dc6</td>
<td>0.501650</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#9k2oox64">Sharma_2018</a></td>
</tr>
<tr>
<th id="11fdzjpv";>134</th>
<td>Poon_2004</td>
<td>A one step quantitative RT-PCR for detection of SARS coronavirus with an internal control for PCR inhibitors</td>
<td>Poon, Leo L.M; Wong, Bonnie W.Y; Chan, Kwok Hung; Leung, Cynthia S.W; Yuen, Kwok Yung; Guan, Yi; Peiris, Joseph S.M</td>
<td>2004</td>
<td>2004-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7129749" target="_blank">PMC7129749</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15135737.0" target="_blank">15135737.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2003.12.007" target="_blank">10.1016/j.jcv.2003.12.007</a></td>
<td>11fdzjpv</td>
<td>0.496864</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#86el3qwn">Poon_2003</a>, <a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="z6qqy858";>135</th>
<td>Brown_2020</td>
<td>Comparison of SARS-CoV2 N gene real-time RT-PCR targets and commercially available mastermixes</td>
<td>Julianne R Brown; Denise O’Sullivan; Rui PA Pereira; Alexandra S Whale; Eloise Busby; Jim Huggett; Kathryn Harris</td>
<td>2020</td>
<td>2020-04-19</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.04.17.047118" target="_blank">10.1101/2020.04.17.047118</a></td>
<td>z6qqy858</td>
<td>0.496443</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_04.html#akr0shvb">Thiel_2002</a></td>
<td></td>
</tr>
<tr>
<th id="in7he5o4";>136</th>
<td>Xiu_L_2019</td>
<td>Simultaneous detection of eleven sexually transmitted agents using multiplexed PCR coupled with MALDI-TOF analysis</td>
<td>Xiu, Leshan; Zhang, Chi; Li, Yamei; Wang, Feng; Peng, Junping</td>
<td>2019</td>
<td>2019-08-28</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6717854" target="_blank">PMC6717854</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31695443.0" target="_blank">31695443.0</a></td>
<td><a href="https://doi.org/10.2147/idr.s219580" target="_blank">10.2147/idr.s219580</a></td>
<td>in7he5o4</td>
<td>0.494378</td>
<td><a href="Topic_14.html#78du7c1s">Lee_G_2013</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="zgapjjjw";>137</th>
<td>Faux_2011</td>
<td>Usefulness of Published PCR Primers in Detecting Human Rhinovirus Infection</td>
<td>Faux, Cassandra E.; Arden, Katherine E.; Lambert, Stephen B.; Nissen, Michael D.; Nolan, Terry M.; Chang, Anne B.; Sloots, Theo P.; Mackay, Ian M.</td>
<td>2011</td>
<td>2011-02-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3204776" target="_blank">PMC3204776</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21291610.0" target="_blank">21291610.0</a></td>
<td><a href="https://doi.org/10.3201/eid1702.101123" target="_blank">10.3201/eid1702.101123</a></td>
<td>zgapjjjw</td>
<td>0.494043</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#akr0shvb">Thiel_2002</a>, <a href="Topic_04.html#p61mpc6t">Onodera_2007</a></td>
<td></td>
</tr>
<tr>
<th id="7cn23hcv";>138</th>
<td>Liu_M_2018</td>
<td>Development and application of a simple recombinase polymerase amplification assay for rapid point-of-care detection of feline herpesvirus type 1</td>
<td>Liu, Meng-zhi; Han, Xiao-hu; Yao, Long-quan; Zhang, Wen-kui; Liu, Bao-shan; Chen, Ze-liang</td>
<td>2018</td>
<td>2018-10-09</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086775" target="_blank">PMC7086775</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30302584.0" target="_blank">30302584.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-018-4064-7" target="_blank">10.1007/s00705-018-4064-7</a></td>
<td>7cn23hcv</td>
<td>0.491559</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_02.html#bkq598ur">Wang_2019</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="rpf02tc0";>139</th>
<td>Zlateva_2011</td>
<td>Design and validation of consensus-degenerate hybrid oligonucleotide primers for broad and sensitive detection of corona- and toroviruses</td>
<td>Zlateva, Kalina T.; Crusio, Kelly M.; Leontovich, Andrey M.; Lauber, Chris; Claas, Eric; Kravchenko, Alexander A.; Spaan, Willy J.M.; Gorbalenya, Alexander E.</td>
<td>2011</td>
<td>2011-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112876" target="_blank">PMC7112876</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21864579.0" target="_blank">21864579.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2011.08.005" target="_blank">10.1016/j.jviromet.2011.08.005</a></td>
<td>rpf02tc0</td>
<td>0.490789</td>
<td></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="ubg3mj4u";>140</th>
<td>Escutenaire_2006</td>
<td>SYBR Green real-time reverse transcription-polymerase chain reaction assay for the generic detection of coronaviruses</td>
<td>Escutenaire, S.; Mohamed, N.; Isaksson, M.; Thorén, P.; Klingeborn, B.; Belák, S.; Berg, M.; Blomberg, J.</td>
<td>2006</td>
<td>2006-08-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087200" target="_blank">PMC7087200</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/16941059.0" target="_blank">16941059.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-006-0840-x" target="_blank">10.1007/s00705-006-0840-x</a></td>
<td>ubg3mj4u</td>
<td>0.490032</td>
<td></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#4i1n9j4x">Chen_2015</a>, <a href="Topic_01.html#992l4een">Hanaki_2013</a></td>
</tr>
<tr>
<th id="szyw02q2";>141</th>
<td>Takiuchi_2006</td>
<td>Improved detection of bovine coronavirus N gene in faeces of calves infected naturally by a semi-nested PCR assay and an internal control</td>
<td>Takiuchi, Elisabete; Stipp, Danilo T.; Alfieri, Alice F.; Alfieri, Amauri A.</td>
<td>2006</td>
<td>2006-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112777" target="_blank">PMC7112777</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/16182383.0" target="_blank">16182383.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2005.08.005" target="_blank">10.1016/j.jviromet.2005.08.005</a></td>
<td>szyw02q2</td>
<td>0.488159</td>
<td><a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_06.html#t48y27wg">Decaro_2004</a></td>
</tr>
<tr>
<th id="o1x05kni";>142</th>
<td>Patel_2016</td>
<td>A Field-Deployable Reverse Transcription Recombinase Polymerase Amplification Assay for Rapid Detection of the Chikungunya Virus</td>
<td>Patel, Pranav; Abd El Wahed, Ahmed; Faye, Oumar; Prüger, Pauline; Kaiser, Marco; Thaloengsok, Sasikanya; Ubol, Sukathida; Sakuntabhai, Anavaj; Leparc-Goffart, Isabelle; Hufert, Frank T.; Sall, Amadou A.; Weidmann, Manfred; Niedrig, Matthias</td>
<td>2016</td>
<td>2016-09-29</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5042537" target="_blank">PMC5042537</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27685649.0" target="_blank">27685649.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pntd.0004953" target="_blank">10.1371/journal.pntd.0004953</a></td>
<td>o1x05kni</td>
<td>0.484234</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#hj0bt9bd">Wang_2017</a></td>
</tr>
<tr>
<th id="5qx6w7dl";>143</th>
<td>Chen_2016</td>
<td>Development of a bead-based suspension array for the detection of pathogens in acute respiratory tract infections</td>
<td>Chen, Yu-Sheng; Li, Hong-Ru; Zhang, Wei; Hua, Zhi-Dan; Lin, Xiao-Hong; Lin, Meng-Qing; Huang, Wen-Sen; Huang, Li-Ping; Yu, Xiao-Li; Xu, Neng-Luan; Lin, Ming; Xie, Bao-Song; Shen, Xiao-Na; Xie, Jian-Feng; Wang, Yi; Huang, Meng; Wu, Yan-An; Hu, Xin-Lan</td>
<td>2016</td>
<td>2016-07-24</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4994910" target="_blank">PMC4994910</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27190247.0" target="_blank">27190247.0</a></td>
<td><a href="https://doi.org/10.1177/1535370216647128" target="_blank">10.1177/1535370216647128</a></td>
<td>5qx6w7dl</td>
<td>0.483529</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_07.html#27859c2f">Liu_H_2006</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_02.html#sbz7m8lx">Riahi_2011</a>, <a href="Topic_01.html#fzz8g3rq">Wang_2018</a>, <a href="Topic_01.html#ssmfhoew">Wu_M_2018</a>, <a href="Topic_02.html#rd1bxkbu">Goodman_2016</a></td>
</tr>
<tr>
<th id="r8vfssev";>144</th>
<td>Juang_2004</td>
<td>Coupling multiplex RT-PCR to a gene chip assay for sensitive and semiquantitative detection of severe acute respiratory syndrome-coronavirus</td>
<td>Juang, Jyh-Lyh; Chen, Tsan-Chi; Jiang, Shih Sheng; Hsiung, Chao A; Chen, Wei-Chen; Chen, Guang-Wu; Lin, Shiang-Ming; Lin, Jih-Hui; Chiu, Shu-Chun; Lai, Yiu-Kay</td>
<td>2004</td>
<td>2004-06-14</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7100734" target="_blank">PMC7100734</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15195120.0" target="_blank">15195120.0</a></td>
<td><a href="https://doi.org/10.1038/labinvest.3700136" target="_blank">10.1038/labinvest.3700136</a></td>
<td>r8vfssev</td>
<td>0.483529</td>
<td><a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="yjt3q9ph";>145</th>
<td>Jones_2011</td>
<td>Development and Validation of RT‐PCR Tests for the Detection and S1 Genotyping of Infectious Bronchitis Virus and Other Closely Related Gammacoronaviruses Within Clinical Samples</td>
<td>Jones, R. M.; Ellis, R. J.; Cox, W. J.; Errington, J.; Fuller, C.; Irvine, R. M.; Wakeley, P. R.</td>
<td>2011</td>
<td>2011-04-07</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7169724" target="_blank">PMC7169724</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21477114.0" target="_blank">21477114.0</a></td>
<td><a href="https://doi.org/10.1111/j.1865-1682.2011.01222.x" target="_blank">10.1111/j.1865-1682.2011.01222.x</a></td>
<td>yjt3q9ph</td>
<td>0.483190</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td></td>
</tr>
<tr>
<th id="ssmfhoew";>146</th>
<td>Wu_M_2018</td>
<td>Rapid detection of three rabbit pathogens by use of the Luminex x-TAG assay</td>
<td>Wu, Miaoli; Zhu, Yujun; Cong, Feng; Rao, Dan; Yuan, Wen; Wang, Jing; Huang, Bihong; Lian, Yuexiao; Zhang, Yu; Huang, Ren; Guo, Pengju</td>
<td>2018</td>
<td>2018-04-07</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5889542" target="_blank">PMC5889542</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29625588.0" target="_blank">29625588.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-018-1438-8" target="_blank">10.1186/s12917-018-1438-8</a></td>
<td>ssmfhoew</td>
<td>0.482680</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_15.html#ob9t82y5">Wu_M_2019</a>, <a href="Topic_15.html#u28y1ttw">Chen_2012</a></td>
</tr>
<tr>
<th id="90jo839d";>147</th>
<td>Hou_P_2020</td>
<td>Detection of bovine viral diarrhea virus genotype 1 in aerosol by a real time RT-PCR assay</td>
<td>Hou, Peili; Xu, Yaru; Wang, Hongmei; He, Hongbin</td>
<td>2020</td>
<td>2020-04-15</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7159024" target="_blank">PMC7159024</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/32295612.0" target="_blank">32295612.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-020-02330-6" target="_blank">10.1186/s12917-020-02330-6</a></td>
<td>90jo839d</td>
<td>0.481493</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="eke5pwe3";>148</th>
<td>Lee_H_2012</td>
<td>A Universal Influenza A and B Duplex Real‐time RT‐PCR Assay</td>
<td>Lee, Hong Kai; Loh, Tze Ping; Lee, Chun Kiat; Tang, Julian Wei‐Tze; Chiu, Lily; Koay, Evelyn Siew‐Chuan</td>
<td>2012</td>
<td>2012-08-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7166972" target="_blank">PMC7166972</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22930514.0" target="_blank">22930514.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.23375" target="_blank">10.1002/jmv.23375</a></td>
<td>eke5pwe3</td>
<td>0.479890</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td></td>
</tr>
<tr>
<th id="lshsgex3";>149</th>
<td>Yoda_2007</td>
<td>Evaluation and application of reverse transcription loop‐mediated isothermal amplification for detection of noroviruses</td>
<td>Yoda, Tomoko; Suzuki, Yasuhiko; Yamazaki, Kenji; Sakon, Naomi; Kanki, Masashi; Aoyama, Ikuko; Tsukamoto, Teizo</td>
<td>2007</td>
<td>2007-01-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7166943" target="_blank">PMC7166943</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17245722.0" target="_blank">17245722.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.20802" target="_blank">10.1002/jmv.20802</a></td>
<td>lshsgex3</td>
<td>0.479617</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a></td>
<td></td>
</tr>
<tr>
<th id="d6125u1b";>150</th>
<td>Nakauchi_2011</td>
<td>One-step real-time reverse transcription-PCR assays for detecting and subtyping pandemic influenza A/H1N1 2009, seasonal influenza A/H1N1, and seasonal influenza A/H3N2 viruses</td>
<td>Nakauchi, Mina; Yasui, Yoshihiro; Miyoshi, Tatsuya; Minagawa, Hiroko; Tanaka, Tomoyuki; Tashiro, Masato; Kageyama, Tsutomu</td>
<td>2011</td>
<td>2011-01-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21029748.0" target="_blank">21029748.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.10.018" target="_blank">10.1016/j.jviromet.2010.10.018</a></td>
<td>d6125u1b</td>
<td>0.478527</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td></td>
</tr>
<tr>
<th id="tjy7f9rk";>151</th>
<td>Park_2009</td>
<td>Development of SYBR Green real-time RT-PCR for rapid detection, quantitation and diagnosis of unclassified bovine enteric calicivirus</td>
<td>Park, Sang-Ik; Park, Da-Hae; Saif, Linda J.; Jeong, Young-Ju; Shin, Dong-Jun; Chun, Young-Hyun; Park, Su-Jin; Kim, Hyun-Jeong; Hosmillo, Myra; Kwon, Hyung-Jun; Kang, Mun-Il; Cho, Kyoung-Oh</td>
<td>2009</td>
<td>2009-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119535" target="_blank">PMC7119535</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19442847.0" target="_blank">19442847.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.03.001" target="_blank">10.1016/j.jviromet.2009.03.001</a></td>
<td>tjy7f9rk</td>
<td>0.477937</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#1hh8lj8t">Hanaki_2014</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_06.html#xb2f0wdy">Kumar_2010</a></td>
</tr>
<tr>
<th id="qxlac437";>152</th>
<td>Yam_W_2005</td>
<td>Clinical evaluation of real-time PCR assays for rapid diagnosis of SARS coronavirus during outbreak and post-epidemic periods</td>
<td>Yam, W.C.; Chan, K.H.; Chow, K.H.; Poon, L.L.M.; Lam, H.Y.; Yuen, K.Y.; Seto, W.H.; Peiris, J.S.M.</td>
<td>2005</td>
<td>2005-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7108323" target="_blank">PMC7108323</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15797361.0" target="_blank">15797361.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2004.09.029" target="_blank">10.1016/j.jcv.2004.09.029</a></td>
<td>qxlac437</td>
<td>0.477191</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#86el3qwn">Poon_2003</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_09.html#hnb75vou">Keyaerts_2006</a></td>
</tr>
<tr>
<th id="cpwmnj3x";>153</th>
<td>Yu_X_2015</td>
<td>Development of a real-time reverse transcription loop-mediated isothermal amplification method for the rapid detection of porcine epidemic diarrhea virus</td>
<td>Yu, Xuewu; Shi, Lin; Lv, Xiaoping; Yao, Wei; Cao, Minghui; Yu, Hanxun; Wang, Xiurong; Zheng, Shimin</td>
<td>2015</td>
<td>2015-05-14</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4459462" target="_blank">PMC4459462</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25972083.0" target="_blank">25972083.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-015-0297-1" target="_blank">10.1186/s12985-015-0297-1</a></td>
<td>cpwmnj3x</td>
<td>0.474677</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a>, <a href="Topic_03.html#3cdfx2zj">Chen_2009</a></td>
</tr>
<tr>
<th id="iylw1bvw";>154</th>
<td>Yu_D_2012</td>
<td>Simultaneous Detection and Differentiation of Human Papillomavirus Genotypes 6, 11, 16 and 18 by AllGlo Quadruplex Quantitative PCR</td>
<td>Yu, Daojun; Chen, Yu; Wu, Shenghai; Wang, Baohong; Tang, Yi-Wei; Li, Lanjuan</td>
<td>2012</td>
<td>2012-11-09</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3494670" target="_blank">PMC3494670</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23152833.0" target="_blank">23152833.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0048972" target="_blank">10.1371/journal.pone.0048972</a></td>
<td>iylw1bvw</td>
<td>0.472698</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_14.html#zvrfqkol">Reddy_2011</a>, <a href="Topic_01.html#x0o0q5sz">Thuy_Tien_2018</a></td>
</tr>
<tr>
<th id="98sqovwb";>155</th>
<td>Li_H_2019</td>
<td>Development of a reverse transcription-loop-mediated isothermal amplification (RT-LAMP) assay for the detection of porcine pegivirus</td>
<td>Li, Hao; Li, Kai; Bi, Zhen; Gu, Jun; Song, Deping; Lei, Dan; Luo, Suoxian; Huang, Dongyan; Wu, Qiong; Ding, Zhen; Wang, Leyi; Ye, Yu; Tang, Yuxin</td>
<td>2019</td>
<td>2019-08-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113777" target="_blank">PMC7113777</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31022411.0" target="_blank">31022411.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.04.019" target="_blank">10.1016/j.jviromet.2019.04.019</a></td>
<td>98sqovwb</td>
<td>0.471921</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="tirod4t6";>156</th>
<td>Henriques_2018</td>
<td>Development and validation of a real-time PCR for the detection and quantification of porcine circovirus type 2</td>
<td>Henriques, Ana Margarida; Duarte, Margarida; Barros, Sílvia Carla; Fagulha, Teresa; Ramos, Fernanda; Luís, Tiago; Fevereiro, Miguel</td>
<td>2018</td>
<td>2018-07-17</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6111954" target="_blank">PMC6111954</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30159371.0" target="_blank">30159371.0</a></td>
<td><a href="https://doi.org/10.1007/s13337-018-0476-y" target="_blank">10.1007/s13337-018-0476-y</a></td>
<td>tirod4t6</td>
<td>0.469119</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_05.html#5qlrsitm">Zhao_2011</a></td>
</tr>
<tr>
<th id="xwqd50mu";>157</th>
<td>Hull_2008</td>
<td>A duplex real-time reverse transcriptase polymerase chain reaction assay for the detection of St. Louis encephalitis and eastern equine encephalitis viruses</td>
<td>Hull, Rene; Nattanmai, Seela; Kramer, Laura D.; Bernard, Kristen A.; Tavakoli, Norma P.</td>
<td>2008</td>
<td>2008-11-30</td>
<td>None</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2615585" target="_blank">PMC2615585</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18715737.0" target="_blank">18715737.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2008.07.004" target="_blank">10.1016/j.diagmicrobio.2008.07.004</a></td>
<td>xwqd50mu</td>
<td>0.467085</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#ut7dlyh8">Wang_2009</a></td>
</tr>
<tr>
<th id="vqu4qhu7";>158</th>
<td>Yang_2010</td>
<td>Dual detection of Legionella pneumophila and Legionella species by real-time PCR targeting the 23S-5S rRNA gene spacer region</td>
<td>Yang, G.; Benson, R.; Pelish, T.; Brown, E.; Winchell, J.M.; Fields, B.</td>
<td>2010</td>
<td>2010-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7129662" target="_blank">PMC7129662</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19438641.0" target="_blank">19438641.0</a></td>
<td><a href="https://doi.org/10.1111/j.1469-0691.2009.02766.x" target="_blank">10.1111/j.1469-0691.2009.02766.x</a></td>
<td>vqu4qhu7</td>
<td>0.462565</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="7k8j3y1s";>159</th>
<td>Malik_2013</td>
<td>Rapid detection of human rotavirus using NSP4 gene specific reverse transcription loop-mediated isothermal amplification assay</td>
<td>Malik, Yashpal Singh; Sharma, Kuldeep; Kumar, Naveen; Shivachandra, Sathish B.; Rawat, Vinita; Rakholia, Ritu; Ranjan, Rajeev; Ganesh, Balasubramanian; Parida, ManMohan</td>
<td>2013</td>
<td>2013-07-26</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3784908" target="_blank">PMC3784908</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24426285.0" target="_blank">24426285.0</a></td>
<td><a href="https://doi.org/10.1007/s13337-013-0147-y" target="_blank">10.1007/s13337-013-0147-y</a></td>
<td>7k8j3y1s</td>
<td>0.460265</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="5er9klxl";>160</th>
<td>Young_2006</td>
<td>Real-time RT-PCR detection of Bovine Viral Diarrhoea virus in whole blood using an external RNA reference</td>
<td>Young, N.J.; Thomas, C.J.; Collins, M.E.; Brownlie, J.</td>
<td>2006</td>
<td>2006-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112878" target="_blank">PMC7112878</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17030066.0" target="_blank">17030066.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2006.08.008" target="_blank">10.1016/j.jviromet.2006.08.008</a></td>
<td>5er9klxl</td>
<td>0.459940</td>
<td><a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_10.html#kgcy6zi6">Dye_C_2008</a></td>
</tr>
<tr>
<th id="0pkbbb99";>161</th>
<td>SUNAGA_2019</td>
<td>Development of a one-run real-time PCR detection system for pathogens associated with porcine respiratory diseases</td>
<td>SUNAGA, Fujiko; TSUCHIAKA, Shinobu; KISHIMOTO, Mai; AOKI, Hiroshi; KAKINOKI, Mari; KURE, Katsumasa; OKUMURA, Hanako; OKUMURA, Maho; OKUMURA, Atsushi; NAGAI, Makoto; OMATSU, Tsutomu; MIZUTANI, Tetsuya</td>
<td>2019</td>
<td>2019-12-23</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7041981" target="_blank">PMC7041981</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31866601.0" target="_blank">31866601.0</a></td>
<td><a href="https://doi.org/10.1292/jvms.19-0063" target="_blank">10.1292/jvms.19-0063</a></td>
<td>0pkbbb99</td>
<td>0.459663</td>
<td></td>
<td><a href="Topic_05.html#i09up80r">KISHIMOTO_2017</a>, <a href="Topic_01.html#irsb8vu0">Xiao_2008</a></td>
</tr>
<tr>
<th id="bgrgzfoo";>162</th>
<td>Hou_P_2017</td>
<td>Rapid detection of infectious bovine Rhinotracheitis virus using recombinase polymerase amplification assays</td>
<td>Hou, Peili; Wang, Hongmei; Zhao, Guimin; He, Chengqiang; He, Hongbin</td>
<td>2017</td>
<td>2017-12-13</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5729238" target="_blank">PMC5729238</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29237466.0" target="_blank">29237466.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-017-1284-0" target="_blank">10.1186/s12917-017-1284-0</a></td>
<td>bgrgzfoo</td>
<td>0.458855</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="al07fo6q";>163</th>
<td>Fukuda_2012</td>
<td>Development and application of one-step multiplex reverse transcription PCR for simultaneous detection of five diarrheal viruses in adult cattle</td>
<td>Fukuda, Masaharu; Kuga, Kazufumi; Miyazaki, Ayako; Suzuki, Tohru; Tasei, Keito; Aita, Tsunehiko; Mase, Masaji; Sugiyama, Makoto; Tsunemitsu, Hiroshi</td>
<td>2012</td>
<td>2012-03-11</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086690" target="_blank">PMC7086690</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22407445.0" target="_blank">22407445.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-012-1271-5" target="_blank">10.1007/s00705-012-1271-5</a></td>
<td>al07fo6q</td>
<td>0.457909</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#zw0my8cq">Asano_2010</a></td>
</tr>
<tr>
<th id="fkg8d6ym";>164</th>
<td>Wang_2019</td>
<td>Development of a triplex real-time RT-PCR assay for detection and differentiation of three US genotypes of porcine hemagglutinating encephalomyelitis virus</td>
<td>Wang, Leyi; Eggett, Therese E.; Lanka, Saraswathi; Fredrickson, Richard L.; Li, Ganwu; Zhang, Yan; Yoo, Dongwan; Bowman, Andrew S.</td>
<td>2019</td>
<td>2019-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113741" target="_blank">PMC7113741</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30959064.0" target="_blank">30959064.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.04.008" target="_blank">10.1016/j.jviromet.2019.04.008</a></td>
<td>fkg8d6ym</td>
<td>0.455913</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a></td>
<td></td>
</tr>
<tr>
<th id="4rc5qbcb";>165</th>
<td>Sun_Y_2019</td>
<td>Simultaneous detection and differentiation of canine parvovirus and feline parvovirus by high resolution melting analysis</td>
<td>Sun, Yaru; Cheng, Yuening; Lin, Peng; Zhang, Hewei; Yi, Li; Tong, Mingwei; Cao, Zhigang; Li, Shuang; Cheng, Shipeng; Wang, Jianke</td>
<td>2019</td>
<td>2019-05-10</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6511188" target="_blank">PMC6511188</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31077252.0" target="_blank">31077252.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-019-1898-5" target="_blank">10.1186/s12917-019-1898-5</a></td>
<td>4rc5qbcb</td>
<td>0.454850</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="nvilxnzl";>166</th>
<td>Adachi_2004</td>
<td>Comprehensive detection and identification of human coronaviruses, including the SARS-associated coronavirus, with a single RT-PCR assay</td>
<td>Adachi, D.; Johnson, G.; Draker, R.; Ayers, M.; Mazzulli, T.; Talbot, P.J.; Tellier, R.</td>
<td>2004</td>
<td>2004-12-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112817" target="_blank">PMC7112817</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15488617.0" target="_blank">15488617.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2004.07.008" target="_blank">10.1016/j.jviromet.2004.07.008</a></td>
<td>nvilxnzl</td>
<td>0.453708</td>
<td></td>
<td><a href="Topic_01.html#p4w2jh00">Pyrc_2011</a></td>
</tr>
<tr>
<th id="pu8gjv7q";>167</th>
<td>Lu_X_2016</td>
<td>Quantitative real-time PCR assays for detection and type-specific identification of the endemic species C human adenoviruses</td>
<td>Lu, Xiaoyan; Erdman, Dean D.</td>
<td>2016</td>
<td>2016-11-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27363737.0" target="_blank">27363737.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2016.05.020" target="_blank">10.1016/j.jviromet.2016.05.020</a></td>
<td>pu8gjv7q</td>
<td>0.450998</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td></td>
</tr>
<tr>
<th id="3yze821v";>168</th>
<td>Li_H_2015</td>
<td>Survey and Visual Detection of Zaire ebolavirus in Clinical Samples Targeting the Nucleoprotein Gene in Sierra Leone</td>
<td>Li, Huan; Wang, Xuesong; Liu, Wei; Wei, Xiao; Lin, Weishi; Li, Erna; Li, Puyuan; Dong, Derong; Cui, Lifei; Hu, Xuan; Li, Boxing; Ma, Yanyan; Zhao, Xiangna; Liu, Chao; Yuan, Jing</td>
<td>2015</td>
<td>2015-12-01</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4664619" target="_blank">PMC4664619</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26648918.0" target="_blank">26648918.0</a></td>
<td><a href="https://doi.org/10.3389/fmicb.2015.01332" target="_blank">10.3389/fmicb.2015.01332</a></td>
<td>3yze821v</td>
<td>0.450462</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_03.html#ru4ky6kz">Njiru_2008</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="5dub8nv7";>169</th>
<td>Le_T_2020</td>
<td>Development of a Multiplex RT-qPCR for the Detection of Different Clades of Avian Influenza in Poultry</td>
<td>Le, Tran Bac; Kim, Hye Kwon; Na, Woonsung; Le, Van Phan; Song, Min-Suk; Song, Daesub; Jeong, Dae Gwin; Yoon, Sun-Woo</td>
<td>2020</td>
<td>2020-01-15</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7019278" target="_blank">PMC7019278</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31952218.0" target="_blank">31952218.0</a></td>
<td><a href="https://doi.org/10.3390/v12010100" target="_blank">10.3390/v12010100</a></td>
<td>5dub8nv7</td>
<td>0.448693</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="rujylmib";>170</th>
<td>Chen_2010</td>
<td>Comparison of reverse transcription loop-mediated isothermal amplification, conventional PCR and real-time PCR assays for Japanese encephalitis virus</td>
<td>Chen, Zhiyong; Liao, Yuxue; Ke, Xuemei; Zhou, Jie; Chen, Yixiong; Gao, LuLu; Chen, Qing; Yu, Shouyi</td>
<td>2010</td>
<td>2010-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7089266" target="_blank">PMC7089266</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21116858.0" target="_blank">21116858.0</a></td>
<td><a href="https://doi.org/10.1007/s11033-010-0525-0" target="_blank">10.1007/s11033-010-0525-0</a></td>
<td>rujylmib</td>
<td>0.446808</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a>, <a href="Topic_01.html#kylki373">Chen_2008</a></td>
<td><a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#vqss7z7m">Zhang_2011</a></td>
</tr>
<tr>
<th id="6dvpqgf5";>171</th>
<td>Shirato_2014</td>
<td>Detection of Middle East respiratory syndrome coronavirus using reverse transcription loop-mediated isothermal amplification (RT-LAMP)</td>
<td>Shirato, Kazuya; Yano, Takuya; Senba, Syouhei; Akachi, Shigehiro; Kobayashi, Takashi; Nishinaka, Takamichi; Notomi, Tsugunori; Matsuyama, Shutoku</td>
<td>2014</td>
<td>2014-08-08</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4132226" target="_blank">PMC4132226</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25103205.0" target="_blank">25103205.0</a></td>
<td><a href="https://doi.org/10.1186/1743-422x-11-139" target="_blank">10.1186/1743-422x-11-139</a></td>
<td>6dvpqgf5</td>
<td>0.441999</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="rbp1u43t";>172</th>
<td>Zhang_2019</td>
<td>Development and application of a multiplex PCR method for the simultaneous detection and differentiation of feline panleukopenia virus, feline bocavirus, and feline astrovirus</td>
<td>Zhang, Qian; Niu, Jiangting; Yi, Shushuai; Dong, Guoying; Yu, Dejing; Guo, Yanbing; Huang, Hailong; Hu, Guixue</td>
<td>2019</td>
<td>2019-09-10</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086731" target="_blank">PMC7086731</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31506786.0" target="_blank">31506786.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-019-04394-8" target="_blank">10.1007/s00705-019-04394-8</a></td>
<td>rbp1u43t</td>
<td>0.441840</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_12.html#zarq507s">Pulford_2004</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="iq2bjn3n";>173</th>
<td>Cardoso_2008</td>
<td>Validation of an Immunohistochemistry Assay to Detect Turkey Coronavirus: A Rapid and Simple Screening Tool for Limited Resource Settings</td>
<td>Cardoso, T. C.; Castanheira, T. L. L.; Teixeira, M. C. B.; Rosa, A. C. G.; Hirata, K. Y.; Astolphi, R. D.; Luvizotto, M. C. R.</td>
<td>2008</td>
<td>2008-07-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7107114" target="_blank">PMC7107114</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18577614.0" target="_blank">18577614.0</a></td>
<td><a href="https://doi.org/10.3382/ps.2008-00042" target="_blank">10.3382/ps.2008-00042</a></td>
<td>iq2bjn3n</td>
<td>0.440484</td>
<td><a href="Topic_10.html#qgb66dot">Ha_S_2004</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="t847pji4";>174</th>
<td>Stefańska_2013</td>
<td>Application of three duplex real-time PCR assays for simultaneous detection of human seasonal and avian influenza viruses</td>
<td>Stefańska, Ilona; Dzieciatkowski, Tomasz; Brydak, Lidia B.; Romanowska, Magdalena</td>
<td>2013</td>
<td>2013-03-21</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086839" target="_blank">PMC7086839</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23515874.0" target="_blank">23515874.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-013-1648-0" target="_blank">10.1007/s00705-013-1648-0</a></td>
<td>t847pji4</td>
<td>0.440313</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#06c3ymc3">Huang_2009</a></td>
</tr>
<tr>
<th id="q9nkqg87";>175</th>
<td>Mo_J_2020</td>
<td>Validation of specific quantitative real-time RT-PCR assay panel for Infectious Bronchitis using synthetic DNA standards and clinical specimens</td>
<td>Mo, Jongseo; Angelichio, Michael; Gow, Lisa; Leathers, Valerie; Jackwood, Mark W.</td>
<td>2020</td>
<td>2020-02-29</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113781" target="_blank">PMC7113781</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31712094.0" target="_blank">31712094.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.113773" target="_blank">10.1016/j.jviromet.2019.113773</a></td>
<td>q9nkqg87</td>
<td>0.439076</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_08.html#ujabzic4">Yuk_S_2016</a></td>
</tr>
<tr>
<th id="3lujp0oy";>176</th>
<td>Neeraja_2015</td>
<td>Rapid detection and differentiation of dengue virus serotypes by NS1 specific reverse transcription loop-mediated isothermal amplification (RT-LAMP) assay in patients presenting to a tertiary care hospital in Hyderabad, India</td>
<td>Neeraja, M.; Lakshmi, V.; Lavanya, Vanjari; Priyanka, E.N.; Parida, M.M.; Dash, P.K.; Sharma, Shashi; Rao, P.V. Lakshmana; Reddy, Gopal</td>
<td>2015</td>
<td>2015-01-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119600" target="_blank">PMC7119600</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25455901.0" target="_blank">25455901.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2014.10.005" target="_blank">10.1016/j.jviromet.2014.10.005</a></td>
<td>3lujp0oy</td>
<td>0.437932</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="odhpuj3b";>177</th>
<td>Zhao_2018</td>
<td>A lateral flow dipstick combined with reverse transcription recombinase polymerase amplification for rapid and visual detection of the bovine respirovirus 3</td>
<td>Zhao, Guimin; Wang, Hongmei; Hou, Peili; Xia, Xianzhu; He, Hongbin</td>
<td>2018</td>
<td>2018-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7126874" target="_blank">PMC7126874</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30138696.0" target="_blank">30138696.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2018.08.004" target="_blank">10.1016/j.mcp.2018.08.004</a></td>
<td>odhpuj3b</td>
<td>0.437604</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="2gokv7id";>178</th>
<td>Hirotsu_2020</td>
<td>Double-Quencher Probes Improved the Detection Sensitivity of Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2) by One-Step RT-PCR</td>
<td>Yosuke Hirotsu; Hitoshi Mochizuki; Masao Omata</td>
<td>2020</td>
<td>2020-03-20</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.03.17.20037903" target="_blank">10.1101/2020.03.17.20037903</a></td>
<td>2gokv7id</td>
<td>0.436628</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_04.html#r2upa4o0">Chen_2016</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="7bjhobg7";>179</th>
<td>Coudray-Meunier_2016</td>
<td>A Novel High-Throughput Method for Molecular Detection of Human Pathogenic Viruses Using a Nanofluidic Real-Time PCR System</td>
<td>Coudray-Meunier, Coralie; Fraisse, Audrey; Martin-Latil, Sandra; Delannoy, Sabine; Fach, Patrick; Perelle, Sylvie</td>
<td>2016</td>
<td>2016-01-29</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4732599" target="_blank">PMC4732599</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26824897.0" target="_blank">26824897.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0147832" target="_blank">10.1371/journal.pone.0147832</a></td>
<td>7bjhobg7</td>
<td>0.435987</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_10.html#82iks0xf">Mikel_2015</a></td>
</tr>
<tr>
<th id="0hxan9rw";>180</th>
<td>Li_C_2020</td>
<td>High sensitivity detection of coronavirus SARS-CoV-2 using multiplex PCR and a multiplex-PCR-based metagenomic method</td>
<td>Chenyu Li; David N. Debruyne; Julia Spencer; Vidushi Kapoor; Lily Y. Liu; Bo Zhou; Lucie Lee; Rounak Feigelman; Grayson Burdon; Jeffrey Liu; Alejandra Oliva; Adam Borcherding; Hongdong Tan; Alexander E. Urban; Guoying Liu; Zhitong Liu</td>
<td>2020</td>
<td>2020-03-14</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.03.12.988246" target="_blank">10.1101/2020.03.12.988246</a></td>
<td>0hxan9rw</td>
<td>0.432247</td>
<td></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="c9e93h0u";>181</th>
<td>Hosmillo_2010</td>
<td>Development of universal SYBR Green real-time RT-PCR for the rapid detection and quantitation of bovine and porcine toroviruses</td>
<td>Hosmillo, Myra D.T.; Jeong, Young-Ju; Kim, Hyun-Jeong; Collantes, Therese Marie; Alfajaro, Mia Madel; Park, Jun-Gyu; Kim, Ha-Hyun; Kwon, Hyung-Jun; Park, Su-Jin; Kang, Mun-Il; Park, Sang-Ik; Cho, Kyoung-Oh</td>
<td>2010</td>
<td>2010-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112831" target="_blank">PMC7112831</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20558206.0" target="_blank">20558206.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.06.001" target="_blank">10.1016/j.jviromet.2010.06.001</a></td>
<td>c9e93h0u</td>
<td>0.430612</td>
<td><a href="Topic_01.html#tjy7f9rk">Park_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#1hh8lj8t">Hanaki_2014</a></td>
<td><a href="Topic_06.html#xb2f0wdy">Kumar_2010</a>, <a href="Topic_01.html#fvdq0yes">Wang_2018</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="kylki373";>182</th>
<td>Chen_2008</td>
<td>Reverse transcription loop-mediated isothermal amplification for the detection of highly pathogenic porcine reproductive and respiratory syndrome virus</td>
<td>Chen, Hao-tai; Zhang, Jie; Sun, De-hui; Ma, Li-na; Liu, Xiang-tao; Quan, Kai; Liu, Yong-sheng</td>
<td>2008</td>
<td>2008-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112790" target="_blank">PMC7112790</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18706931.0" target="_blank">18706931.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2008.07.006" target="_blank">10.1016/j.jviromet.2008.07.006</a></td>
<td>kylki373</td>
<td>0.429170</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#992l4een">Hanaki_2013</a></td>
</tr>
<tr>
<th id="ad5tnawc";>183</th>
<td>Cha_Y_2013</td>
<td>Performance evaluation of ExiStation HBV diagnostic system for hepatitis B virus DNA quantitation</td>
<td>Cha, Young Joo; Yoo, Soo Jin; Sohn, Yong-Hak; Kim, Hyun Soo</td>
<td>2013</td>
<td>2013-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119692" target="_blank">PMC7119692</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23892129.0" target="_blank">23892129.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2013.07.027" target="_blank">10.1016/j.jviromet.2013.07.027</a></td>
<td>ad5tnawc</td>
<td>0.428894</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td></td>
</tr>
<tr>
<th id="43xf39gw";>184</th>
<td>Elf_S_2018</td>
<td>Molecular Detection of Streptococcus pyogenes by Strand Invasion Based Amplification Assay</td>
<td>Elf, Sonja; Olli, Jenni; Hirvonen, Sanna; Auvinen, Pauliina; Eboigbodin, Kevin E.</td>
<td>2018</td>
<td>2018-07-03</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7099210" target="_blank">PMC7099210</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29967988.0" target="_blank">29967988.0</a></td>
<td><a href="https://doi.org/10.1007/s40291-018-0346-8" target="_blank">10.1007/s40291-018-0346-8</a></td>
<td>43xf39gw</td>
<td>0.428864</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_14.html#zvrfqkol">Reddy_2011</a></td>
</tr>
<tr>
<th id="101lnq4f";>185</th>
<td>Liu_Q_2007</td>
<td>Microarray-in-a-Tube for Detection of Multiple Viruses</td>
<td>Liu, Quanjun; Bai, Yunfei; Ge, Qinyu; Zhou, Shixin; Wen, Tian; Lu, Zuhong</td>
<td>2007</td>
<td>2007-02-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7108471" target="_blank">PMC7108471</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17158198.0" target="_blank">17158198.0</a></td>
<td><a href="https://doi.org/10.1373/clinchem.2006.071720" target="_blank">10.1373/clinchem.2006.071720</a></td>
<td>101lnq4f</td>
<td>0.428864</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a></td>
</tr>
<tr>
<th id="iy10z1kj";>186</th>
<td>Hasan_2019</td>
<td>A novel real-time PCR assay panel for detection of common respiratory pathogens in a convenient, strip-tube array format</td>
<td>Hasan, Mohammad Rubayet; Al Mana, Hassan; Young, Virginia; Tang, Patrick; Thomas, Eva; Tan, Rusung; Tilley, Peter</td>
<td>2019</td>
<td>2019-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113679" target="_blank">PMC7113679</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30578898.0" target="_blank">30578898.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.12.013" target="_blank">10.1016/j.jviromet.2018.12.013</a></td>
<td>iy10z1kj</td>
<td>0.427129</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a></td>
<td><a href="Topic_13.html#aluuvve7">Hasan_2018</a>, <a href="Topic_01.html#p119i282">Li_J_2013</a>, <a href="Topic_01.html#6jp9yx47">Zhao_2019</a></td>
</tr>
<tr>
<th id="6k73rf0g";>187</th>
<td>Elf_S_2018</td>
<td>Development and evaluation of a rapid nucleic acid amplification method to detect influenza A and B viruses in human respiratory specimens</td>
<td>Elf, Sonja; Auvinen, Pauliina; Jahn, Lisa; Liikonen, Karoliina; Sjöblom, Solveig; Saavalainen, Päivi; Mäki, Minna; Eboigbodin, Kevin E.</td>
<td>2018</td>
<td>2018-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127616" target="_blank">PMC7127616</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29778563.0" target="_blank">29778563.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2018.04.006" target="_blank">10.1016/j.diagmicrobio.2018.04.006</a></td>
<td>6k73rf0g</td>
<td>0.426095</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_01.html#aj9wppts">Eboigbodin_2017</a></td>
</tr>
<tr>
<th id="aluuvve7";>188</th>
<td>Hasan_2018</td>
<td>A novel real-time PCR assay panel for detection of common respiratory pathogens in a convenient, strip-tube array format</td>
<td>Mohammad Rubayet Hasan; Hassan Al Mana; Virginia Young; Patrick Tang; Eva Thomas; Rusung Tan; Peter Tilley</td>
<td>2018</td>
<td>2018-10-29</td>
<td>BioRxiv</td>
<td>N</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/455568" target="_blank">10.1101/455568</a></td>
<td>aluuvve7</td>
<td>0.425347</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_13.html#iy10z1kj">Hasan_2019</a>, <a href="Topic_01.html#6jp9yx47">Zhao_2019</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="6rrs2qsq";>189</th>
<td>Huang_2005</td>
<td>Rapid and sensitive detection of multiple genes from the SARS‐Coronavirus using quantitative RT‐PCR with dual systems</td>
<td>Huang, Jau‐Ling; Lin, Hui‐Tsu; Wang, Yu‐Ming; Yeh, Yi‐Chien; Peck, Konan; Lin, Bai‐Ling; Liu, Huan‐Wun; Chen, Ann; Lin, Chang‐Shen</td>
<td>2005</td>
<td>2005-08-24</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7166502" target="_blank">PMC7166502</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/16121372.0" target="_blank">16121372.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.20432" target="_blank">10.1002/jmv.20432</a></td>
<td>6rrs2qsq</td>
<td>0.424901</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a></td>
<td></td>
</tr>
<tr>
<th id="ajqkc91q";>190</th>
<td>Zhu_Z_2013</td>
<td>Development and Evaluation of a SYBR Green-Based Real Time RT-PCR Assay for Detection of the Emerging Avian Influenza A (H7N9) Virus</td>
<td>Zhu, Zheng; Fan, Huan; Qi, Xian; Qi, Yuhua; Shi, Zhiyang; Wang, Hua; Cui, Lunbiao; Zhou, Minghao</td>
<td>2013</td>
<td>2013-11-20</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3835827" target="_blank">PMC3835827</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24278234.0" target="_blank">24278234.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0080028" target="_blank">10.1371/journal.pone.0080028</a></td>
<td>ajqkc91q</td>
<td>0.423887</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_06.html#xb2f0wdy">Kumar_2010</a></td>
</tr>
<tr>
<th id="exge1suy";>191</th>
<td>Alfaro-Núñez_2014</td>
<td>Validation of a sensitive PCR assay for the detection of Chelonid fibropapilloma-associated herpesvirus in latent turtle infections</td>
<td>Alfaro-Núñez, Alonzo; Gilbert, M. Thomas P.</td>
<td>2014</td>
<td>2014-09-15</td>
<td>None</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119791" target="_blank">PMC7119791</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24882497.0" target="_blank">24882497.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2014.05.019" target="_blank">10.1016/j.jviromet.2014.05.019</a></td>
<td>exge1suy</td>
<td>0.420722</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#8xe7cg8q">Lee_W_2008</a></td>
<td></td>
</tr>
<tr>
<th id="o9glkhyv";>192</th>
<td>Houng_2004</td>
<td>Development and evaluation of an efficient 3′-noncoding region based SARS coronavirus (SARS-CoV) RT-PCR assay for detection of SARS-CoV infections</td>
<td>Houng, Huo-Shu H; Norwood, David; Ludwig, George V; Sun, Wellington; Lin, Minta; Vaughn, David W</td>
<td>2004</td>
<td>2004-09-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119649" target="_blank">PMC7119649</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15234807.0" target="_blank">15234807.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2004.04.008" target="_blank">10.1016/j.jviromet.2004.04.008</a></td>
<td>o9glkhyv</td>
<td>0.419841</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a></td>
</tr>
<tr>
<th id="px9h96wp";>193</th>
<td>Carr_2009</td>
<td>Development of a real-time RT-PCR for the detection of Swine-lineage Influenza A (H1N1) virus infections</td>
<td>Carr, Michael J.; Gunson, Rory; Maclean, Alasdair; Coughlan, Suzie; Fitzgerald, Margaret; Scully, Mary; O’Herlihy, Brian; Ryan, John; O’Flanagan, Darina; Connell, Jeff; Carman, William F.; Hall, William W.</td>
<td>2009</td>
<td>2009-07-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19540799.0" target="_blank">19540799.0</a></td>
<td><a href="https://doi.org/10.1016/j.jcv.2009.06.001" target="_blank">10.1016/j.jcv.2009.06.001</a></td>
<td>px9h96wp</td>
<td>0.419618</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="6lxc2rj2";>194</th>
<td>Soltan_2016</td>
<td>Comparison of electron microscopy, ELISA, real time RT-PCR and insulated isothermal RT-PCR for the detection of Rotavirus group A (RVA) in feces of different animal species</td>
<td>Soltan, Mohamed A.; Tsai, Yun-Long; Lee, Pei-Yu A.; Tsai, Chuan-Fu; Chang, Hsiao-Fen G.; Wang, Hwa-Tang T.; Wilkes, Rebecca P.</td>
<td>2016</td>
<td>2016-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113751" target="_blank">PMC7113751</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27180038.0" target="_blank">27180038.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2016.05.006" target="_blank">10.1016/j.jviromet.2016.05.006</a></td>
<td>6lxc2rj2</td>
<td>0.419234</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a>, <a href="Topic_06.html#t48y27wg">Decaro_2004</a></td>
</tr>
<tr>
<th id="0ik6ems8";>195</th>
<td>Wang_2014</td>
<td>Rapid and real-time detection of Porcine Sapelovirus by reverse transcription loop-mediated isothermal amplification assay</td>
<td>Wang, Chunyan; Yu, Dayi; Cui, Li; Hua, Xiuguo; Yuan, Congli; Sun, Huan; Liu, Yuxiao</td>
<td>2014</td>
<td>2014-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113659" target="_blank">PMC7113659</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24667302.0" target="_blank">24667302.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2014.03.011" target="_blank">10.1016/j.jviromet.2014.03.011</a></td>
<td>0ik6ems8</td>
<td>0.418464</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#vqss7z7m">Zhang_2011</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="sdlls3ry";>196</th>
<td>Dinh_2011</td>
<td>An Updated Loop-Mediated Isothermal Amplification Method for Rapid Diagnosis of H5N1 Avian Influenza Viruses</td>
<td>Dinh, Duc Tuan; Le, Mai Thi Quynh; Vuong, Cuong Duc; Hasebe, Futoshi; Morita, Kouichi</td>
<td>2011</td>
<td>2011-03-24</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3153145" target="_blank">PMC3153145</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22028606.0" target="_blank">22028606.0</a></td>
<td><a href="https://doi.org/10.2149/tmh.2010-21" target="_blank">10.2149/tmh.2010-21</a></td>
<td>sdlls3ry</td>
<td>0.418030</td>
<td><a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#p4w2jh00">Pyrc_2011</a></td>
</tr>
<tr>
<th id="2v6nxruk";>197</th>
<td>Broeders_2020</td>
<td>A new multiplex RT-qPCR method for the simultaneous detection and discrimination of Zika and chikungunya viruses</td>
<td>Broeders, Sylvia; Garlant, Linda; Fraiture, Marie-Alice; Vandermassen, Els; Suin, Vanessa; Vanhomwegen, Jessica; Dupont-Rouzeyrol, Myrielle; Rousset, Dominique; Van Gucht, Steven; Roosens, Nancy</td>
<td>2020</td>
<td>2020-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7129992" target="_blank">PMC7129992</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31884173.0" target="_blank">31884173.0</a></td>
<td><a href="https://doi.org/10.1016/j.ijid.2019.12.028" target="_blank">10.1016/j.ijid.2019.12.028</a></td>
<td>2v6nxruk</td>
<td>0.416693</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_13.html#lrkscs71">Kurosaki_2017</a>, <a href="Topic_02.html#yxuyhc7p">da_Silva_2019</a>, <a href="Topic_03.html#ru4ky6kz">Njiru_2008</a></td>
</tr>
<tr>
<th id="iqwojhq2";>198</th>
<td>Dedkov_2019</td>
<td>Development and Evaluation of a One-Step Quantitative RT-PCR Assay for Detection of Lassa Virus</td>
<td>Dedkov, Vladimir G.; Magassouba, N.’Faly; Safonova, Marina V.; Naydenova, Ekaterina V.; Ayginin, Andrey A.; Soropogui, Barre; Kourouma, Fode; Camara, Amara B.; Camara, Jacob; Kritzkiy, Andrey A.; Tuchkov, Igor V.; Shchelkanov, Mikhail Yu.; Maleev, Victor V.</td>
<td>2019</td>
<td>2019-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113850" target="_blank">PMC7113850</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31170468.0" target="_blank">31170468.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.113674" target="_blank">10.1016/j.jviromet.2019.113674</a></td>
<td>iqwojhq2</td>
<td>0.416691</td>
<td></td>
<td><a href="Topic_01.html#zz7mt6be">Hakhverdyan_2005</a></td>
</tr>
<tr>
<th id="68du67lw";>199</th>
<td>McClenahan_2009</td>
<td>A capsid gene-based real-time reverse transcription polymerase chain reaction assay for the detection of marine vesiviruses in the Caliciviridae</td>
<td>McClenahan, Shasta D.; Bok, Karin; Neill, John D.; Smith, Alvin W.; Rhodes, Crystal R.; Sosnovtsev, Stanislav V.; Green, Kim Y.; Romero, Carlos H.</td>
<td>2009</td>
<td>2009-10-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19410604.0" target="_blank">19410604.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.04.026" target="_blank">10.1016/j.jviromet.2009.04.026</a></td>
<td>68du67lw</td>
<td>0.414374</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_12.html#zarq507s">Pulford_2004</a></td>
<td></td>
</tr>
<tr>
<th id="l8s762ab";>200</th>
<td>Zhao_2019</td>
<td>A multiplex RT-PCR assay for rapid and simultaneous detection of four RNA viruses in swine</td>
<td>Zhao, Yan; Liu, Feifei; Li, Qingmei; Wu, Mengfan; Lei, Lei; Pan, Zishu</td>
<td>2019</td>
<td>2019-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113762" target="_blank">PMC7113762</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30951787.0" target="_blank">30951787.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.04.001" target="_blank">10.1016/j.jviromet.2019.04.001</a></td>
<td>l8s762ab</td>
<td>0.414018</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_01.html#06c3ymc3">Huang_2009</a></td>
</tr>
<tr>
<th id="o4hsr4pm";>201</th>
<td>An_D_2008</td>
<td>An immunochromatography assay for rapid antemortem diagnosis of dogs suspected to have canine distemper</td>
<td>An, Dong-Jun; Kim, Tae-Young; Song, Dae-Sub; Kang, Bo-Kyu; Park, Bong-Kyun</td>
<td>2008</td>
<td>2008-02-29</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119767" target="_blank">PMC7119767</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17950910.0" target="_blank">17950910.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2007.09.006" target="_blank">10.1016/j.jviromet.2007.09.006</a></td>
<td>o4hsr4pm</td>
<td>0.413748</td>
<td><a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_15.html#u28y1ttw">Chen_2012</a></td>
</tr>
<tr>
<th id="rya9w6sh";>202</th>
<td>Kang_2012</td>
<td>Development of an ELISA-array for simultaneous detection of five encephalitis viruses</td>
<td>Kang, Xiaoping; Li, Yuchang; Fan, Li; Lin, Fang; Wei, Jingjing; Zhu, Xiaolei; Hu, Yi; Li, Jing; Chang, Guohui; Zhu, Qingyu; Liu, Hong; Yang, Yinhui</td>
<td>2012</td>
<td>2012-02-27</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3305475" target="_blank">PMC3305475</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22369052.0" target="_blank">22369052.0</a></td>
<td><a href="https://doi.org/10.1186/1743-422x-9-56" target="_blank">10.1186/1743-422x-9-56</a></td>
<td>rya9w6sh</td>
<td>0.413736</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#eqqvwwh6">Wang_2018</a></td>
</tr>
<tr>
<th id="03a6hq3t";>203</th>
<td>Moore_2017</td>
<td>Development of a Recombinase Polymerase Amplification Assay for Detection of Epidemic Human Noroviruses</td>
<td>Moore, Matthew D.; Jaykus, Lee-Ann</td>
<td>2017</td>
<td>2017-01-09</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5220337" target="_blank">PMC5220337</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28067278.0" target="_blank">28067278.0</a></td>
<td><a href="https://doi.org/10.1038/srep40244" target="_blank">10.1038/srep40244</a></td>
<td>03a6hq3t</td>
<td>0.411664</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#y52o45zk">Ma_L_2018</a></td>
</tr>
<tr>
<th id="dash9udv";>204</th>
<td>Decaro_2010</td>
<td>Development and validation of a real-time PCR assay for specific and sensitive detection of canid herpesvirus 1</td>
<td>Decaro, Nicola; Amorisco, Francesca; Desario, Costantina; Lorusso, Eleonora; Camero, Michele; Bellacicco, Anna Lucia; Sciarretta, Rossana; Lucente, Maria Stella; Martella, Vito; Buonavoglia, Canio</td>
<td>2010</td>
<td>2010-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112867" target="_blank">PMC7112867</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20674611.0" target="_blank">20674611.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.07.021" target="_blank">10.1016/j.jviromet.2010.07.021</a></td>
<td>dash9udv</td>
<td>0.411240</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_14.html#zvrfqkol">Reddy_2011</a>, <a href="Topic_01.html#pm0fk1a0">Decaro_2008</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="6h094fqh";>205</th>
<td>Chui_2005</td>
<td>Comparison of 9 different PCR primers for the rapid detection of severe acute respiratory syndrome coronavirus using 2 RNA extraction methods</td>
<td>Chui, Linda; Drebot, Michael; Andonov, Anton; Petrich, Astrid; Glushek, Martin; Mahony, James</td>
<td>2005</td>
<td>2005-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7125917" target="_blank">PMC7125917</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15994050.0" target="_blank">15994050.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2005.03.007" target="_blank">10.1016/j.diagmicrobio.2005.03.007</a></td>
<td>6h094fqh</td>
<td>0.409462</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="97pvtq8e";>206</th>
<td>Zheng_2019</td>
<td>A multiplex real-time PCR assay for the detection and differentiation of five bovine pinkeye pathogens</td>
<td>Zheng, Wanglong; Porter, Elizabeth; Noll, Lance; Stoy, Colin; Lu, Nanyan; Wang, Yin; Liu, Xuming; Purvis, Tanya; Peddireddi, Lalitha; Lubbers, Brian; Hanzlicek, Gregg; Henningson, Jamie; Liu, Zongping; Bai, Jianfa</td>
<td>2019</td>
<td>2019-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7114150" target="_blank">PMC7114150</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30930057.0" target="_blank">30930057.0</a></td>
<td><a href="https://doi.org/10.1016/j.mimet.2019.03.024" target="_blank">10.1016/j.mimet.2019.03.024</a></td>
<td>97pvtq8e</td>
<td>0.408708</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="vqss7z7m";>207</th>
<td>Zhang_2011</td>
<td>Rapid and sensitive detection of PRRSV by a reverse transcription-loop-mediated isothermal amplification assay</td>
<td>Zhang, Lei; Liu, Ye-bing; Chen, Lei; Wang, Jian-huan; Ning, Yi-bao</td>
<td>2011</td>
<td>2011-08-17</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7091248" target="_blank">PMC7091248</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21847756.0" target="_blank">21847756.0</a></td>
<td><a href="https://doi.org/10.1007/s12250-011-3185-x" target="_blank">10.1007/s12250-011-3185-x</a></td>
<td>vqss7z7m</td>
<td>0.408582</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="btnwcf6q";>208</th>
<td>Hu_S_2015</td>
<td>Development of reverse-transcription loop-mediated isothermal amplification assay for rapid detection and differentiation of dengue virus serotypes 1–4</td>
<td>Hu, Sheng-feng; Li, Miao; Zhong, Lan-lan; Lu, Shi-miao; Liu, Ze-xia; Pu, Jie-ying; Wen, Jin-sheng; Huang, Xi</td>
<td>2015</td>
<td>2015-11-14</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4647581" target="_blank">PMC4647581</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26572227.0" target="_blank">26572227.0</a></td>
<td><a href="https://doi.org/10.1186/s12866-015-0595-1" target="_blank">10.1186/s12866-015-0595-1</a></td>
<td>btnwcf6q</td>
<td>0.407229</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#3lujp0oy">Neeraja_2015</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="f9zmztef";>209</th>
<td>Zhou_2020</td>
<td>Development and evaluation of a rapid detection assay for severe fever with thrombocytopenia syndrome virus based on reverse-transcription recombinase polymerase amplification</td>
<td>Zhou, Jingyu; Wang, Qiujing; Zhu, Lijun; Li, Shibo; Li, Wei; Fu, Yongfeng; Cheng, Xunjia</td>
<td>2020</td>
<td>2020-04-21</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1016/j.mcp.2020.101580" target="_blank">10.1016/j.mcp.2020.101580</a></td>
<td>f9zmztef</td>
<td>0.407137</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="fc338qdt";>210</th>
<td>Butt_2020</td>
<td>Development of a dual-gene loop-mediated isothermal amplification (LAMP) detection assay for SARS-CoV-2: A preliminary study</td>
<td>Azeem Mehmood Butt; Shafiqa Siddique; Xiaoping An; Yigang Tong</td>
<td>2020</td>
<td>2020-04-11</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.04.08.20056986" target="_blank">10.1101/2020.04.08.20056986</a></td>
<td>fc338qdt</td>
<td>0.406242</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#3doc40hx">Kim_J_2019</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_09.html#hnb75vou">Keyaerts_2006</a></td>
</tr>
<tr>
<th id="mkrpls2f";>211</th>
<td>Xing_2016</td>
<td>Ultrasensitive Detection of Porcine Epidemic Diarrhea Virus from Fecal Samples Using Functionalized Nanoparticles</td>
<td>Xing, Na; Guan, Xiaoxiao; An, Bin; Cui, Beibei; Wang, Zengguo; Wang, Xiaoya; Zhang, Xiujuan; Du, Qian; Zhao, Xiaomin; Huang, Yong; Tong, Dewen</td>
<td>2016</td>
<td>2016-12-09</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5147876" target="_blank">PMC5147876</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27936019.0" target="_blank">27936019.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0167325" target="_blank">10.1371/journal.pone.0167325</a></td>
<td>mkrpls2f</td>
<td>0.405360</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#pmwl5w9o">Yuan_2015</a>, <a href="Topic_05.html#rc67p55z">Xu_F_2020</a></td>
</tr>
<tr>
<th id="jk983q4p";>212</th>
<td>Briese_2005</td>
<td>Diagnostic System for Rapid and Sensitive Differential Detection of Pathogens</td>
<td>Briese, Thomas; Palacios, Gustavo; Kokoris, Mark; Jabado, Omar; Liu, Zhiqiang; Renwick, Neil; Kapoor, Vishal; Casas, Inmaculada; Pozo, Francisco; Limberger, Ron; Perez-Brena, Pilar; Ju, Jingyue; Lipkin, W. Ian</td>
<td>2005</td>
<td>2005-02-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3320438" target="_blank">PMC3320438</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15752453.0" target="_blank">15752453.0</a></td>
<td><a href="https://doi.org/10.3201/eid1102.040492" target="_blank">10.3201/eid1102.040492</a></td>
<td>jk983q4p</td>
<td>0.404360</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="4m9p717r";>213</th>
<td>Yan_C_2020</td>
<td>Rapid and visual detection of 2019 novel coronavirus (SARS-CoV-2) by a reverse transcription loop-mediated isothermal amplification assay</td>
<td>Yan, Chao; Cui, Jinghua; Huang, Lei; Du, Bing; Chen, Lu; Xue, Guanhua; Li, Shaoli; Zhang, Weiwei; Zhao, Linqing; Sun, Yu; Yao, Hailan; Li, Nannan; Zhao, Hanqing; Feng, Yanling; Liu, Shiyu; Zhang, Qun; Liu, Di; Yuan, Jing</td>
<td>2020</td>
<td>2020-04-08</td>
<td>PMC</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1016/j.cmi.2020.04.001" target="_blank">10.1016/j.cmi.2020.04.001</a></td>
<td>4m9p717r</td>
<td>0.404044</td>
<td><a href="Topic_03.html#828inb8d">Zhang_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_04.html#akr0shvb">Thiel_2002</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="t48y27wg";>214</th>
<td>Decaro_2004</td>
<td>Quantitation of canine coronavirus RNA in the faeces of dogs by TaqMan RT-PCR</td>
<td>Decaro, Nicola; Pratelli, Annamaria; Campolo, Marco; Elia, Gabriella; Martella, Vito; Tempesta, Maria; Buonavoglia, Canio</td>
<td>2004</td>
<td>2004-08-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119844" target="_blank">PMC7119844</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15158596.0" target="_blank">15158596.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2004.03.012" target="_blank">10.1016/j.jviromet.2004.03.012</a></td>
<td>t48y27wg</td>
<td>0.402653</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_10.html#kgcy6zi6">Dye_C_2008</a></td>
</tr>
<tr>
<th id="iq9xqe31";>215</th>
<td>Wang_2016</td>
<td>Reverse Transcription Cross-Priming Amplification–Nucleic Acid Test Strip for Rapid Detection of Porcine Epidemic Diarrhea Virus</td>
<td>Wang, Feng-Xue; Yuan, Dan-Yi; Jin, Ya-Nan; Hu, Lin; Sun, Zhi-Yong; He, Qian; Zhao, Shi-Hua; Zhan, Shu-Bai; Wen, Yong-Jun</td>
<td>2016</td>
<td>2016-04-19</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4835727" target="_blank">PMC4835727</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27090105.0" target="_blank">27090105.0</a></td>
<td><a href="https://doi.org/10.1038/srep24702" target="_blank">10.1038/srep24702</a></td>
<td>iq9xqe31</td>
<td>0.399541</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#fvdq0yes">Wang_2018</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="ut7dlyh8";>216</th>
<td>Wang_2009</td>
<td>A duplex real-time reverse transcriptase polymerase chain reaction assay for the detection of California serogroup and Cache Valley viruses</td>
<td>Wang, Heng; Nattanmai, Seela; Kramer, Laura D.; Bernard, Kristen A.; Tavakoli, Norma P.</td>
<td>2009</td>
<td>2009-10-31</td>
<td>None</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2774246" target="_blank">PMC2774246</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19748425.0" target="_blank">19748425.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2009.07.001" target="_blank">10.1016/j.diagmicrobio.2009.07.001</a></td>
<td>ut7dlyh8</td>
<td>0.399445</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_01.html#xwqd50mu">Hull_2008</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="fzz8g3rq";>217</th>
<td>Wang_2018</td>
<td>Establishment and optimization of a liquid bead array for the simultaneous detection of ten insect-borne pathogens</td>
<td>Wang, Hui-yu; Wu, Shao-qiang; Jiang, Li; Xiao, Rong-hai; Li, Ting; Mei, Lin; Lv, Ji-zhou; Liu, Jia-jia; Lin, Xiang-mei; Han, Xue-qing</td>
<td>2018</td>
<td>2018-07-31</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6069843" target="_blank">PMC6069843</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30064470.0" target="_blank">30064470.0</a></td>
<td><a href="https://doi.org/10.1186/s13071-018-2996-0" target="_blank">10.1186/s13071-018-2996-0</a></td>
<td>fzz8g3rq</td>
<td>0.399004</td>
<td></td>
<td><a href="Topic_01.html#ssmfhoew">Wu_M_2018</a>, <a href="Topic_02.html#p8pns7r9">Malik_2020</a>, <a href="Topic_03.html#ze5a2pte">Rivera_2013</a></td>
</tr>
<tr>
<th id="ytaro52p";>218</th>
<td>Chen_2010</td>
<td>Reverse transcription loop-mediated isothermal amplification for the rapid detection of infectious bronchitis virus in infected chicken tissues</td>
<td>Chen, Hao-tai; Zhang, Jie; Ma, Yan-ping; Ma, Li-na; Ding, Yao-zhong; Liu, Xiang-tao; Cai, Xue-peng; Ma, Li-qing; Zhang, Yong-guang; Liu, Yong-sheng</td>
<td>2010</td>
<td>2010-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7126806" target="_blank">PMC7126806</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19835950.0" target="_blank">19835950.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2009.10.001" target="_blank">10.1016/j.mcp.2009.10.001</a></td>
<td>ytaro52p</td>
<td>0.397576</td>
<td><a href="Topic_05.html#nnx46nwf">Ren_X_2011</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#oqm9pw6d">Chandrasekar_2015</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="in5n7sed";>219</th>
<td>Kim_Y_2015</td>
<td>A novel diagnostic approach to detecting porcine epidemic diarrhea virus: The lateral immunochromatography assay</td>
<td>Kim, Yong Kwan; Lim, Seong-In; Cho, In-Soo; Cheong, Kwang-Myun; Lee, Eun-Jeong; Lee, Sang-Oh; Kim, Joon-Bae; Kim, Jung-Hwa; Jeong, Dong-Soo; An, Byung-Hyun; An, Dong-Jun</td>
<td>2015</td>
<td>2015-12-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119843" target="_blank">PMC7119843</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26342906.0" target="_blank">26342906.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2015.08.024" target="_blank">10.1016/j.jviromet.2015.08.024</a></td>
<td>in5n7sed</td>
<td>0.393810</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a></td>
<td><a href="Topic_01.html#o4hsr4pm">An_D_2008</a>, <a href="Topic_05.html#rc67p55z">Xu_F_2020</a>, <a href="Topic_01.html#x0o0q5sz">Thuy_Tien_2018</a>, <a href="Topic_15.html#u28y1ttw">Chen_2012</a></td>
</tr>
<tr>
<th id="ceatyj3o";>220</th>
<td>Huang_2015</td>
<td>Ultrasensitive Detection of RNA and DNA Viruses Simultaneously Using Duplex UNDP-PCR Assay</td>
<td>Huang, Yong; Xing, Na; Wang, Zengguo; Zhang, Xiujuan; Zhao, Xiaomin; Du, Qian; Chang, Lingling; Tong, Dewen</td>
<td>2015</td>
<td>2015-11-06</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4636378" target="_blank">PMC4636378</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26544710.0" target="_blank">26544710.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0141545" target="_blank">10.1371/journal.pone.0141545</a></td>
<td>ceatyj3o</td>
<td>0.392825</td>
<td><a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_10.html#mtk3qxue">Zambenedetti_2017</a>, <a href="Topic_04.html#nycdhdsd">Schoenike_1999</a></td>
</tr>
<tr>
<th id="i9wsxth3";>221</th>
<td>Han_H_2019</td>
<td>Development of a SYBR green I-based duplex real-time fluorescence quantitative PCR assay for the simultaneous detection of porcine epidemic diarrhea virus and porcine circovirus 3</td>
<td>Han, Hao-Ying; Zheng, Hui-Hua; Zhao, Yu; Tian, Run-Bo; Xu, Peng-Li; Hou, Hua-Lin; Chen, Hong-Ying; Yang, Ming-Fan</td>
<td>2019</td>
<td>2019-04-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30735700.0" target="_blank">30735700.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2019.02.002" target="_blank">10.1016/j.mcp.2019.02.002</a></td>
<td>i9wsxth3</td>
<td>0.391335</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td></td>
</tr>
<tr>
<th id="6448pl9e";>222</th>
<td>Ma_L_2019</td>
<td>Point‐of‐care diagnostic assay for rapid detection of porcine deltacoronavirus using the recombinase polymerase amplification method</td>
<td>Ma, Lei; Zeng, Fanwen; Huang, Bihong; Zhu, Yujun; Wu, Miaoli; Xu, Fengjiao; Xiao, Li; Huang, Ren; Ma, Jingyun; Cong, Feng; Guo, Pengju</td>
<td>2019</td>
<td>2019-04-01</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7168525" target="_blank">PMC7168525</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30801935.0" target="_blank">30801935.0</a></td>
<td><a href="https://doi.org/10.1111/tbed.13155" target="_blank">10.1111/tbed.13155</a></td>
<td>6448pl9e</td>
<td>0.391335</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td></td>
</tr>
<tr>
<th id="acndx5f9";>223</th>
<td>Balka_2009</td>
<td>Development of a one-step real-time quantitative PCR assay based on primer-probe energy transfer for the detection of porcine reproductive and respiratory syndrome virus</td>
<td>Balka, Gyula; Hornyák, Ákos; Bálint, Ádám; Benyeda, Zsófia; Rusvai, Miklós</td>
<td>2009</td>
<td>2009-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112897" target="_blank">PMC7112897</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19200443.0" target="_blank">19200443.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.01.014" target="_blank">10.1016/j.jviromet.2009.01.014</a></td>
<td>acndx5f9</td>
<td>0.390686</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#gqmghn49">Cuevas-Romero_2013</a></td>
</tr>
<tr>
<th id="eo2pcgix";>224</th>
<td>Jiang_2020</td>
<td>Development and validation of a rapid single-step reverse transcriptase loop-mediated isothermal amplification (RT-LAMP) system potentially to be used for reliable and high-throughput screening of COVID-19</td>
<td>Minghua Jiang; Wenjie Fang; Amir Aratehfar; Xiaojing Li; Liyan ling; Hua Fang; Farnaz Farnaz Daneshnia; Jian Yu; Wanqing Liao; Hao Pei; Weihua Pan; Cornelia Lass-Florl</td>
<td>2020</td>
<td>2020-03-20</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.03.15.20036376" target="_blank">10.1101/2020.03.15.20036376</a></td>
<td>eo2pcgix</td>
<td>0.390115</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#ngn9x3lc">Erlandsson_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="3bs2y2oe";>225</th>
<td>Nagy_2010</td>
<td>Development and evaluation of a one-step real-time RT-PCR assay for universal detection of influenza A viruses from avian and mammal species</td>
<td>Nagy, Alexander; Vostinakova, Veronika; Pirchanova, Zuzana; Cernikova, Lenka; Dirbakova, Zuzana; Mojzis, Miroslav; Jirincova, Helena; Havlickova, Martina; Dan, Adam; Ursu, Krisztina; Vilcek, Stefan; Hornickova, Jitka</td>
<td>2010</td>
<td>2010-03-13</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7086820" target="_blank">PMC7086820</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20229116.0" target="_blank">20229116.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-010-0636-x" target="_blank">10.1007/s00705-010-0636-x</a></td>
<td>3bs2y2oe</td>
<td>0.389938</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#4rbrzv5o">Choudhary_2013</a>, <a href="Topic_01.html#03hvi4el">Rodrigues_2011</a>, <a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="lgeu4id0";>226</th>
<td>Dobhal_2019</td>
<td>Comparative genomics reveals signature regions used to develop a robust and sensitive multiplex TaqMan real-time qPCR assay to detect the genus Dickeya and Dickeya dianthicola</td>
<td>Shefali Dobhal; Gamze Boluk; Brooke Babler; Michael J. Stulberg; John Rascoe; Mark Nakhla; Toni A. Chapman; Alex B. Crockford; Michael Melzer; Anne M. Alvarez; Mohammad Arif</td>
<td>2019</td>
<td>2019-11-20</td>
<td>BioRxiv</td>
<td>N</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/847590" target="_blank">10.1101/847590</a></td>
<td>lgeu4id0</td>
<td>0.388642</td>
<td><a href="Topic_14.html#65qpcsiq">Enora_2019</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_03.html#ru4ky6kz">Njiru_2008</a>, <a href="Topic_14.html#9xelf8oh">Dale_2016</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="qyb8er14";>227</th>
<td>Yang_2016</td>
<td>Two Multiplex Real-Time PCR Assays to Detect and Differentiate Acinetobacter baumannii and Non- baumannii Acinetobacter spp. Carrying bla(NDM), bla(OXA-23-Like), bla(OXA-40-Like), bla(OXA-51-Like), and bla(OXA-58-Like) Genes</td>
<td>Yang, Qiu; Rui, Yongyu</td>
<td>2016</td>
<td>2016-07-08</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4938629" target="_blank">PMC4938629</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27391234.0" target="_blank">27391234.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0158958" target="_blank">10.1371/journal.pone.0158958</a></td>
<td>qyb8er14</td>
<td>0.386698</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_14.html#txezrbv5">Li_P_2015</a>, <a href="Topic_03.html#ru4ky6kz">Njiru_2008</a></td>
</tr>
<tr>
<th id="fzi1ilpj";>228</th>
<td>Wilkes_2014</td>
<td>Rapid and sensitive detection of canine distemper virus by one-tube reverse transcription-insulated isothermal polymerase chain reaction</td>
<td>Wilkes, Rebecca P; Tsai, Yun-Long; Lee, Pei-Yu; Lee, Fu-Chun; Chang, Hsiao-Fen Grace; Wang, Hwa-Tang Thomas</td>
<td>2014</td>
<td>2014-09-09</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4172905" target="_blank">PMC4172905</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25200113.0" target="_blank">25200113.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-014-0213-8" target="_blank">10.1186/s12917-014-0213-8</a></td>
<td>fzi1ilpj</td>
<td>0.386308</td>
<td></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_11.html#xz602zii">Liu_D_2015</a></td>
</tr>
<tr>
<th id="2rmtsyns";>229</th>
<td>Domanska‐Blicharz_2017</td>
<td>Specific detection of GII‐1 lineage of infectious bronchitis virus</td>
<td>Domanska‐Blicharz, K.; Lisowska, A.; Pikuła, A.; Sajewicz‐Krukowska, J.</td>
<td>2017</td>
<td>2017-07-03</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7165721" target="_blank">PMC7165721</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28493279.0" target="_blank">28493279.0</a></td>
<td><a href="https://doi.org/10.1111/lam.12753" target="_blank">10.1111/lam.12753</a></td>
<td>2rmtsyns</td>
<td>0.385702</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="vsjy9oaf";>230</th>
<td>MINAMI-FUKUDA_2013</td>
<td>Detection of Bovine Group A Rotavirus Using Rapid Antigen Detection Kits, RT-PCR and Next-Generation DNA Sequencing</td>
<td>MINAMI-FUKUDA, Fujiko; NAGAI, Makoto; TAKAI, Hikaru; MURAKAMI, Toshiaki; OZAWA, Tadashi; TSUCHIAKA, Shinobu; OKAZAKI, Sachiko; KATAYAMA, Yukie; OBA, Mami; NISHIURA, Naomi; SASSA, Yukiko; OMATSU, Tsutomu; FURUYA, Tetsuya; KOYAMA, Satoshi; SHIRAI, Junsuke; TSUNEMITSU, Hiroshi; FUJII, Yoshiki; KATAYAMA, Kazuhiko; MIZUTANI, Tetsuya</td>
<td>2013</td>
<td>2013-08-02</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3942952" target="_blank">PMC3942952</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/23912876.0" target="_blank">23912876.0</a></td>
<td><a href="https://doi.org/10.1292/jvms.13-0265" target="_blank">10.1292/jvms.13-0265</a></td>
<td>vsjy9oaf</td>
<td>0.384249</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_06.html#t48y27wg">Decaro_2004</a></td>
</tr>
<tr>
<th id="j8fqan9x";>231</th>
<td>Zhang_2010</td>
<td>Oligonucleotide microarray with a minimal number of probes for the detection and identification of thirteen genera of plant viruses</td>
<td>Zhang, Yongjiang; Yin, Jun; Li, Guifen; Li, Mingfu; Huang, Xin; Chen, Hongjun; Zhao, Wenjun; Zhu, Shuifang</td>
<td>2010</td>
<td>2010-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112823" target="_blank">PMC7112823</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20304013.0" target="_blank">20304013.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.03.010" target="_blank">10.1016/j.jviromet.2010.03.010</a></td>
<td>j8fqan9x</td>
<td>0.381746</td>
<td></td>
<td><a href="Topic_02.html#xo1cyzrg">Giles_2015</a>, <a href="Topic_01.html#nx60hae0">Engel_2010</a></td>
</tr>
<tr>
<th id="zs18ez5q";>232</th>
<td>Geng_2017</td>
<td>Development of real-time recombinase polymerase amplification assay for rapid and sensitive detection of canine parvovirus 2</td>
<td>Geng, Yunyun; Wang, Jianchang; Liu, Libing; Lu, Yan; Tan, Ke; Chang, Yan-Zhong</td>
<td>2017</td>
<td>2017-11-06</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5674863" target="_blank">PMC5674863</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29110666.0" target="_blank">29110666.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-017-1232-z" target="_blank">10.1186/s12917-017-1232-z</a></td>
<td>zs18ez5q</td>
<td>0.381670</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="itvhobbu";>233</th>
<td>Wang_2018</td>
<td>Evaluation of an incubation instrument-free reverse transcription recombinase polymerase amplification assay for rapid and point-of-need detection of canine distemper virus</td>
<td>Wang, Jianchang; Wang, Jinfeng; Li, Ruiwen; Shi, Ruihan; Liu, Libing; Yuan, Wanzhe</td>
<td>2018</td>
<td>2018-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113680" target="_blank">PMC7113680</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30009850.0" target="_blank">30009850.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.07.007" target="_blank">10.1016/j.jviromet.2018.07.007</a></td>
<td>itvhobbu</td>
<td>0.381102</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="ob9t82y5";>234</th>
<td>Wu_M_2019</td>
<td>High-throughput Luminex xMAP assay for simultaneous detection of antibodies against rabbit hemorrhagic disease virus, Sendai virus and rabbit rotavirus</td>
<td>Wu, Miaoli; Ma, Lei; Cong, Feng; Zhu, Yujun; Xu, Fengjiao; Lian, Yuexiao; Huang, Bihong; Xiao, Li; Chen, Meili; Zhang, Yu; Huang, Ren; Guo, Pengju</td>
<td>2019</td>
<td>2019-04-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087182" target="_blank">PMC7087182</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30982935.0" target="_blank">30982935.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-019-04226-9" target="_blank">10.1007/s00705-019-04226-9</a></td>
<td>ob9t82y5</td>
<td>0.380814</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#ssmfhoew">Wu_M_2018</a></td>
</tr>
<tr>
<th id="9pau8skk";>235</th>
<td>TSUCHIAKA_2015</td>
<td>Development of a novel detection system for microbes from bovine diarrhea by real-time PCR</td>
<td>TSUCHIAKA, Shinobu; MASUDA, Tsuneyuki; SUGIMURA, Satoshi; KOBAYASHI, Suguru; KOMATSU, Natsumi; NAGAI, Makoto; OMATSU, Tsutomu; FURUYA, Tetsuya; OBA, Mami; KATAYAMA, Yukie; KANDA, Shuhei; YOKOYAMA, Tadashi; MIZUTANI, Tetsuya</td>
<td>2015</td>
<td>2015-11-30</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4829504" target="_blank">PMC4829504</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26616156.0" target="_blank">26616156.0</a></td>
<td><a href="https://doi.org/10.1292/jvms.15-0552" target="_blank">10.1292/jvms.15-0552</a></td>
<td>9pau8skk</td>
<td>0.379392</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#ssmfhoew">Wu_M_2018</a>, <a href="Topic_01.html#zz7mt6be">Hakhverdyan_2005</a></td>
</tr>
<tr>
<th id="k23engcx";>236</th>
<td>Naguib_2017</td>
<td>New real time and conventional RT-PCRs for updated molecular diagnosis of infectious bronchitis virus infection (IBV) in chickens in Egypt associated with frequent co-infections with avian influenza and Newcastle Disease viruses</td>
<td>Naguib, Mahmoud M.; El-Kady, Magdy F.; Lüschow, Dörte; Hassan, Kareem E.; Arafa, Abdel-Satar; El-Zanaty, Ali; Hassan, Mohamed K.; Hafez, Hafez M.; Grund, Christian; Harder, Timm C.</td>
<td>2017</td>
<td>2017-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113857" target="_blank">PMC7113857</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28336367.0" target="_blank">28336367.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2017.02.018" target="_blank">10.1016/j.jviromet.2017.02.018</a></td>
<td>k23engcx</td>
<td>0.378962</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td></td>
</tr>
<tr>
<th id="q068aybo";>237</th>
<td>Wang_2018</td>
<td>A fast and simple one-step duplex PCR assay for canine distemper virus (CDV) and canine coronavirus (CCoV) detection</td>
<td>Wang, Jing; Luo, Yakun; Liang, Lin; Li, Jinxiang; Cui, Shangjin</td>
<td>2018</td>
<td>2018-08-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087121" target="_blank">PMC7087121</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30141131.0" target="_blank">30141131.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-018-3982-8" target="_blank">10.1007/s00705-018-3982-8</a></td>
<td>q068aybo</td>
<td>0.378962</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a>, <a href="Topic_03.html#828inb8d">Zhang_2011</a></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="iih233tm";>238</th>
<td>Haridas_2010</td>
<td>Optimisation of reverse transcriptase loop-mediated isothermal amplification assay for rapid detection of Macrobrachium rosenbergii noda virus and extra small virus in Macrobrachium rosenbergii</td>
<td>Haridas, Divya V.; Pillai, Devika; Manojkumar, B.; Nair, C. Mohanakumaran; Sherief, P.M.</td>
<td>2010</td>
<td>2010-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112818" target="_blank">PMC7112818</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20307575.0" target="_blank">20307575.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.03.011" target="_blank">10.1016/j.jviromet.2010.03.011</a></td>
<td>iih233tm</td>
<td>0.376283</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_04.html#akr0shvb">Thiel_2002</a></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="oqwevkrb";>239</th>
<td>Hourfar_2007</td>
<td>Blood Screening for Influenza</td>
<td>Hourfar, Michael Kai; Themann, Anna; Eickmann, Markus; Puthavathana, Pilaipan; Laue, Thomas; Seifried, Erhard; Schmidt, Michael</td>
<td>2007</td>
<td>2007-07-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2878216" target="_blank">PMC2878216</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18214186.0" target="_blank">18214186.0</a></td>
<td><a href="https://doi.org/10.3201/eid1307.060861" target="_blank">10.3201/eid1307.060861</a></td>
<td>oqwevkrb</td>
<td>0.374719</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="xb2f0wdy";>240</th>
<td>Kumar_2010</td>
<td>Development of a SYBR Green based real-time PCR assay for detection and quantitation of canine parvovirus in faecal samples</td>
<td>Kumar, Manoj; Nandi, Sukdeb</td>
<td>2010</td>
<td>2010-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119530" target="_blank">PMC7119530</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20599563.0" target="_blank">20599563.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.06.007" target="_blank">10.1016/j.jviromet.2010.06.007</a></td>
<td>xb2f0wdy</td>
<td>0.374113</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_01.html#gqmghn49">Cuevas-Romero_2013</a>, <a href="Topic_01.html#pm0fk1a0">Decaro_2008</a></td>
</tr>
<tr>
<th id="lar2m59n";>241</th>
<td>Wang_2017</td>
<td>Recombinase Polymerase Amplification Assay—A Simple, Fast and Cost-Effective Alternative to Real Time PCR for Specific Detection of Feline Herpesvirus-1</td>
<td>Wang, Jianchang; Liu, Libing; Wang, Jinfeng; Sun, Xiaoxia; Yuan, Wanzhe</td>
<td>2017</td>
<td>2017-01-03</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5207716" target="_blank">PMC5207716</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28045956.0" target="_blank">28045956.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0166903" target="_blank">10.1371/journal.pone.0166903</a></td>
<td>lar2m59n</td>
<td>0.373728</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_04.html#ymciferk">Hohdatsu_1992</a>, <a href="Topic_11.html#7cn23hcv">Liu_M_2018</a></td>
</tr>
<tr>
<th id="8ih7dqzq";>242</th>
<td>Liu_N_2019</td>
<td>Establishment of a simultaneous detection method for ten duck viruses using MALDI-TOF mass spectrometry</td>
<td>Liu, Ning; Wang, Lei; Cai, Gaozhe; Zhang, Dabing; Lin, Jianhan</td>
<td>2019</td>
<td>2019-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113782" target="_blank">PMC7113782</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31430495.0" target="_blank">31430495.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2019.113723" target="_blank">10.1016/j.jviromet.2019.113723</a></td>
<td>8ih7dqzq</td>
<td>0.372452</td>
<td></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#ssmfhoew">Wu_M_2018</a></td>
</tr>
<tr>
<th id="wlhmcdcn";>243</th>
<td>Rutschke_2015</td>
<td>Hot start reverse transcriptase: an approach for improved real-time RT-PCR performance</td>
<td>Rutschke, Nils; Zimmermann, Jan; Möller, Ronny; Klöck, Gerd; Winterhalter, Mathias; Leune, Annika</td>
<td>2015</td>
<td>2015-06-21</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7099353" target="_blank">PMC7099353</a></td>
<td></td>
<td><a href="https://doi.org/10.1186/s40543-015-0063-4" target="_blank">10.1186/s40543-015-0063-4</a></td>
<td>wlhmcdcn</td>
<td>0.370629</td>
<td><a href="Topic_04.html#akr0shvb">Thiel_2002</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#dtvzwin8">Jeong_2015</a>, <a href="Topic_03.html#828inb8d">Zhang_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_04.html#nycdhdsd">Schoenike_1999</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="q2ilk6gs";>244</th>
<td>Inui_2019</td>
<td>A field‐deployable insulated isothermal RT‐PCR assay for identification of influenza A (H7N9) shows good performance in the laboratory</td>
<td>Inui, Ken; Nguyen, Tung; Tseng, Hsin‐Jou; Tsai, ChuanFu Mark; Tsai, Yun‐Long; Chung, Simon; Padungtod, Pawin; Zhu, Huachen; Guan, Yi; Kalpravidh, Wantanee; Claes, Filip</td>
<td>2019</td>
<td>2019-09-05</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6800302" target="_blank">PMC6800302</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31487118.0" target="_blank">31487118.0</a></td>
<td><a href="https://doi.org/10.1111/irv.12646" target="_blank">10.1111/irv.12646</a></td>
<td>q2ilk6gs</td>
<td>0.369536</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="ujabzic4";>245</th>
<td>Yuk_S_2016</td>
<td>Comparison between dot-immunoblotting assay and clinical sign determination method for quantifying avian infectious bronchitis virus vaccine by titration in embryonated eggs</td>
<td>Yuk, Seong-su; Kwon, Jung-Hoon; Noh, Jin-Yong; Hong, Woo-tack; Gwon, Gyeong-Bin; Jeong, Jei-Hyun; Jeong, Sol; Youn, Ha-Na; Heo, Yong-Hwan; Lee, Joong-Bok; Park, Seung-Yong; Choi, In-Soo; Song, Chang-Seon</td>
<td>2016</td>
<td>2016-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119534" target="_blank">PMC7119534</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26802454.0" target="_blank">26802454.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2016.01.008" target="_blank">10.1016/j.jviromet.2016.01.008</a></td>
<td>ujabzic4</td>
<td>0.367977</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="u28y1ttw";>246</th>
<td>Chen_2012</td>
<td>Development and evaluation of an immunochromatographic strip for rapid detection of porcine hemagglutinating encephalomyelitis virus</td>
<td>Chen, Keyan; Zhao, Kui; Song, Deguang; He, Wenqi; Gao, Wei; Zhao, Chuanbo; Wang, Chengli; Gao, Feng</td>
<td>2012</td>
<td>2012-08-24</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3508965" target="_blank">PMC3508965</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22920192.0" target="_blank">22920192.0</a></td>
<td><a href="https://doi.org/10.1186/1743-422x-9-172" target="_blank">10.1186/1743-422x-9-172</a></td>
<td>u28y1ttw</td>
<td>0.366662</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#x0o0q5sz">Thuy_Tien_2018</a>, <a href="Topic_01.html#o4hsr4pm">An_D_2008</a>, <a href="Topic_15.html#yfmng12f">Wang_2019</a></td>
</tr>
<tr>
<th id="j5mo1hyk";>247</th>
<td>Jiang_2013</td>
<td>Quantification of Hantaan Virus with a SYBR Green Ⅰ-Based One-Step qRT-PCR Assay</td>
<td>Jiang, Wei; Yu, Hai-tao; Zhao, Ke; Zhang, Ye; Du, Hong; Wang, Ping-zhong; Bai, Xue-fan</td>
<td>2013</td>
<td>2013-11-21</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3836762" target="_blank">PMC3836762</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24278449.0" target="_blank">24278449.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0081525" target="_blank">10.1371/journal.pone.0081525</a></td>
<td>j5mo1hyk</td>
<td>0.364938</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#xwqd50mu">Hull_2008</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_09.html#hnb75vou">Keyaerts_2006</a></td>
</tr>
<tr>
<th id="hp1iw7np";>248</th>
<td>Ambagala_2016</td>
<td>Field‐Deployable Reverse Transcription‐Insulated Isothermal PCR (RT‐iiPCR) Assay for Rapid and Sensitive Detection of Foot‐and‐Mouth Disease Virus</td>
<td>Ambagala, A.; Fisher, M.; Goolia, M.; Nfon, C.; Furukawa‐Stoffer, T.; Ortega Polo, R.; Lung, O.</td>
<td>2016</td>
<td>2016-09-03</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7169878" target="_blank">PMC7169878</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27589902.0" target="_blank">27589902.0</a></td>
<td><a href="https://doi.org/10.1111/tbed.12554" target="_blank">10.1111/tbed.12554</a></td>
<td>hp1iw7np</td>
<td>0.364148</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="prsvv6l9";>249</th>
<td>Qin_J_2008</td>
<td>Studying copy number variations using a nanofluidic platform</td>
<td>Qin, Jian; Jones, Robert C.; Ramakrishnan, Ramesh</td>
<td>2008</td>
<td>2008-08-18</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2566873" target="_blank">PMC2566873</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18710881.0" target="_blank">18710881.0</a></td>
<td><a href="https://doi.org/10.1093/nar/gkn518" target="_blank">10.1093/nar/gkn518</a></td>
<td>prsvv6l9</td>
<td>0.363667</td>
<td></td>
<td><a href="Topic_02.html#xo1cyzrg">Giles_2015</a>, <a href="Topic_04.html#vtpwke7v">Berthet_2008</a></td>
</tr>
<tr>
<th id="eqqvwwh6";>250</th>
<td>Wang_2018</td>
<td>Development of a sensitive and specific xMAP assay for detection of antibodies against infectious laryngotracheitis and bronchitis viruses</td>
<td>Wang, Huanan; Cong, Feng; Guan, Jianchi; Xiao, Li; Zhu, Yujun; Lian, Yuexiao; Huang, Ren; Chen, Meili; Guo, Pengju</td>
<td>2018</td>
<td>2018-09-21</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6151043" target="_blank">PMC6151043</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30241540.0" target="_blank">30241540.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-018-1048-x" target="_blank">10.1186/s12985-018-1048-x</a></td>
<td>eqqvwwh6</td>
<td>0.363000</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="wf0vonkn";>251</th>
<td>Xiao_2014</td>
<td>Simultaneous Detection and Differentiation of Highly Virulent and Classical Chinese-Type Isolation of PRRSV by Real-Time RT-PCR</td>
<td>Xiao, Shuqi; Chen, Yaosheng; Wang, Liangliang; Gao, Jintao; Mo, Delin; He, Zuyong; Liu, Xiaohong</td>
<td>2014</td>
<td>2014-06-12</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4119655" target="_blank">PMC4119655</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25114934.0" target="_blank">25114934.0</a></td>
<td><a href="https://doi.org/10.1155/2014/809656" target="_blank">10.1155/2014/809656</a></td>
<td>wf0vonkn</td>
<td>0.362798</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_01.html#irsb8vu0">Xiao_2008</a>, <a href="Topic_01.html#wue6s07z">Zhou_2018</a></td>
</tr>
<tr>
<th id="9kb0b6rq";>252</th>
<td>Koo_B_2017</td>
<td>An isothermal, label-free, and rapid one-step RNA amplification/detection assay for diagnosis of respiratory viral infections</td>
<td>Koo, Bonhan; Jin, Choong Eun; Lee, Tae Yoon; Lee, Jeong Hoon; Park, Mi Kyoung; Sung, Heungsup; Park, Se Yoon; Lee, Hyun Jung; Kim, Sun Mi; Kim, Ji Yeun; Kim, Sung-Han; Shin, Yong</td>
<td>2017</td>
<td>2017-04-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127409" target="_blank">PMC7127409</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27894035.0" target="_blank">27894035.0</a></td>
<td><a href="https://doi.org/10.1016/j.bios.2016.11.051" target="_blank">10.1016/j.bios.2016.11.051</a></td>
<td>9kb0b6rq</td>
<td>0.361752</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="p2qhnt4f";>253</th>
<td>James_2018</td>
<td>Ebolavirus diagnosis made simple, comparable and faster than molecular detection methods: preparing for the future</td>
<td>James, Ameh S.; Todd, Shawn; Pollak, Nina M.; Marsh, Glenn A.; Macdonald, Joanne</td>
<td>2018</td>
<td>2018-04-23</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5914028" target="_blank">PMC5914028</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29685158.0" target="_blank">29685158.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-018-0985-8" target="_blank">10.1186/s12985-018-0985-8</a></td>
<td>p2qhnt4f</td>
<td>0.361567</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="gk29idya";>254</th>
<td>Zhai_2004</td>
<td>Real-Time Polymerase Chain Reaction for Detecting SARS Coronavirus, Beijing, 2003</td>
<td>Zhai, Junhui; Briese, Thomas; Dai, Erhei; Wang, Xiaoyi; Pang, Xin; Du, Zongmin; Liu, Haihong; Wang, Jin; Wang, Hongxia; Guo, Zhaobiao; Chen, Zeliang; Jiang, Lingxiao; Zhou, Dongsheng; Han, Yanping; Jabado, Omar; Palacios, Gustavo; Lipkin, W. Ian; Yang, Ruifu</td>
<td>2004</td>
<td>2004-02-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3322935" target="_blank">PMC3322935</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15030701.0" target="_blank">15030701.0</a></td>
<td><a href="https://doi.org/10.3201/eid1002.030799" target="_blank">10.3201/eid1002.030799</a></td>
<td>gk29idya</td>
<td>0.361325</td>
<td><a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a></td>
<td><a href="Topic_01.html#51byypaq">Emery_2004</a>, <a href="Topic_01.html#p4w2jh00">Pyrc_2011</a>, <a href="Topic_05.html#dmb42kna">Vemulapalli_2015</a></td>
</tr>
<tr>
<th id="b471h2u9";>255</th>
<td>Poon_2005</td>
<td>Detection of Human Influenza A Viruses by Loop-Mediated Isothermal Amplification</td>
<td>Poon, Leo L. M.; Leung, Cynthia S. W.; Chan, Kwok H.; Lee, Jack H. C.; Yuen, Kwok Y.; Guan, Yi; Peiris, Joseph S. M.</td>
<td>2005</td>
<td>2005-01-01</td>
<td>None</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC540134" target="_blank">PMC540134</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15635005.0" target="_blank">15635005.0</a></td>
<td><a href="https://doi.org/10.1128/jcm.43.1.427-430.2005" target="_blank">10.1128/jcm.43.1.427-430.2005</a></td>
<td>b471h2u9</td>
<td>0.361325</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a></td>
<td><a href="Topic_01.html#p4w2jh00">Pyrc_2011</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="xnp3ytp1";>256</th>
<td>Hu_H_2018</td>
<td>Development of a one-step RT-PCR assay for detection of pancoronaviruses (α-, β-, γ-, and δ-coronaviruses) using newly designed degenerate primers for porcine and avian `fecal samples</td>
<td>Hu, Hui; Jung, Kwonil; Wang, Qiuhong; Saif, Linda J.; Vlasova, Anastasia N.</td>
<td>2018</td>
<td>2018-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113874" target="_blank">PMC7113874</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29499225.0" target="_blank">29499225.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.02.021" target="_blank">10.1016/j.jviromet.2018.02.021</a></td>
<td>xnp3ytp1</td>
<td>0.359842</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_01.html#wue6s07z">Zhou_2018</a></td>
</tr>
<tr>
<th id="qa58kts6";>257</th>
<td>Nakauchi_2011</td>
<td>Rapid discrimination of oseltamivir‐resistant 275Y and ‐susceptible 275H substitutions in the neuraminidase gene of pandemic influenza A/H1N1 2009 virus by duplex one‐step RT‐PCR assay</td>
<td>Nakauchi, Mina; Ujike, Makoto; Obuchi, Masatsugu; Takashita, Emi; Takayama, Ikuyo; Ejima, Miho; Oba, Kunihiro; Konomi, Nami; Odagiri, Takato; Tashiro, Masato; Kageyama, Tsutomu</td>
<td>2011</td>
<td>2011-05-12</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7167129" target="_blank">PMC7167129</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21567417.0" target="_blank">21567417.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.22101" target="_blank">10.1002/jmv.22101</a></td>
<td>qa58kts6</td>
<td>0.359546</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="fvq8hezk";>258</th>
<td>Hornyák_2012</td>
<td>Detection of subgenomic mRNA of feline coronavirus by real-time polymerase chain reaction based on primer-probe energy transfer (P-sg-QPCR)</td>
<td>Hornyák, Ákos; Bálint, Ádám; Farsang, Attila; Balka, Gyula; Hakhverdyan, Mikhayil; Rasmussen, Thomas Bruun; Blomberg, Jonas; Belák, Sándor</td>
<td>2012</td>
<td>2012-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112857" target="_blank">PMC7112857</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22349594.0" target="_blank">22349594.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2012.01.022" target="_blank">10.1016/j.jviromet.2012.01.022</a></td>
<td>fvq8hezk</td>
<td>0.359276</td>
<td></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="zdwolwws";>259</th>
<td>Xia_J_2011</td>
<td>Simple and rapid detection of human enterovirus 71 by reverse-transcription and loop-mediated isothermal amplification: cryopreservation affected the detection ability</td>
<td>Xia, Ju-Feng; Yan, Xiu-Feng; Yu, Hui; Qu, Di; Long, Jian-Er</td>
<td>2011</td>
<td>2011-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127202" target="_blank">PMC7127202</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21899976.0" target="_blank">21899976.0</a></td>
<td><a href="https://doi.org/10.1016/j.diagmicrobio.2011.07.014" target="_blank">10.1016/j.diagmicrobio.2011.07.014</a></td>
<td>zdwolwws</td>
<td>0.359071</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="m02hhvy2";>260</th>
<td>Workenhe_2008</td>
<td>Absolute quantitation of infectious salmon anaemia virus using different real-time reverse transcription PCR chemistries</td>
<td>Workenhe, Samuel T.; Kibenge, Molly J.T.; Iwamoto, Tokinori; Kibenge, Frederick S.B.</td>
<td>2008</td>
<td>2008-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112891" target="_blank">PMC7112891</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18789975.0" target="_blank">18789975.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2008.08.007" target="_blank">10.1016/j.jviromet.2008.08.007</a></td>
<td>m02hhvy2</td>
<td>0.358194</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_04.html#nycdhdsd">Schoenike_1999</a></td>
</tr>
<tr>
<th id="1946zslt";>261</th>
<td>Lau_Y_2015</td>
<td>Colorimetric Detection of Dengue by Single Tube Reverse-Transcription-Loop-Mediated Isothermal Amplification</td>
<td>Lau, Yee-Ling; Lai, Meng-Yee; Teoh, Boon-Teong; Abd-Jamil, Juraina; Johari, Jefree; Sam, Sing-Sin; Tan, Kim-Kee; AbuBakar, Sazaly</td>
<td>2015</td>
<td>2015-09-18</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4575147" target="_blank">PMC4575147</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26384248.0" target="_blank">26384248.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0138694" target="_blank">10.1371/journal.pone.0138694</a></td>
<td>1946zslt</td>
<td>0.357918</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="glimvjhl";>262</th>
<td>Claas_1992</td>
<td>Type-specific identification of influenza viruses A, B and C by the polymerase chain reaction</td>
<td>Claas, E.C.J.; Sprenger, M.J.W.; Kletera, G.E.M.; Beek, R.Van; Quint, W.G.V.; Masurela, N.</td>
<td>1992</td>
<td>1992-09-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/1430057.0" target="_blank">1430057.0</a></td>
<td><a href="https://doi.org/10.1016/0166-0934(92)90120-3" target="_blank">10.1016/0166-0934(92)90120-3</a></td>
<td>glimvjhl</td>
<td>0.357255</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td></td>
</tr>
<tr>
<th id="fq11rhab";>263</th>
<td>Zhu_X_2020</td>
<td>Reverse transcription loop-mediated isothermal amplification combined with nanoparticles-based biosensor for diagnosis of COVID-19</td>
<td>Xiong Zhu; Xiaoxia Wang; Limei Han; Ting Chen; Licheng Wang; Huan Li; Sha Li; Lvfen He; Xiaoying Fu; Shaojin Chen; Xing Mei; Hai Chen; Yi Wang</td>
<td>2020</td>
<td>2020-03-20</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.03.17.20037796" target="_blank">10.1101/2020.03.17.20037796</a></td>
<td>fq11rhab</td>
<td>0.355928</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_03.html#828inb8d">Zhang_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="n5i3ecy2";>264</th>
<td>Saito_2019</td>
<td>Development and evaluation of a new real‐time RT‐PCR assay for detecting the latest H9N2 influenza viruses capable of causing human infection</td>
<td>Saito, Shinji; Takayama, Ikuyo; Nakauchi, Mina; Nagata, Shiho; Oba, Kunihiro; Odagiri, Takato; Kageyama, Tsutomu</td>
<td>2019</td>
<td>2019-01-30</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6590187" target="_blank">PMC6590187</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30599081.0" target="_blank">30599081.0</a></td>
<td><a href="https://doi.org/10.1111/1348-0421.12666" target="_blank">10.1111/1348-0421.12666</a></td>
<td>n5i3ecy2</td>
<td>0.355815</td>
<td></td>
<td><a href="Topic_01.html#4rbrzv5o">Choudhary_2013</a></td>
</tr>
<tr>
<th id="i31tvvub";>265</th>
<td>Muradrasoli_2010</td>
<td>Broadly targeted triplex real-time PCR detection of influenza A, B and C viruses based on the nucleoprotein gene and a novel “MegaBeacon” probe strategy</td>
<td>Muradrasoli, Shaman; Mohamed, Nahla; Belák, Sándor; Czifra, György; Herrmann, Björn; Berencsi, George; Blomberg, Jonas</td>
<td>2010</td>
<td>2010-02-28</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19879296.0" target="_blank">19879296.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.10.017" target="_blank">10.1016/j.jviromet.2009.10.017</a></td>
<td>i31tvvub</td>
<td>0.354954</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="2n23vee8";>266</th>
<td>Bhudevi_2001</td>
<td>Fluorogenic RT–PCR assay (TaqMan) for detection and classification of bovine viral diarrhea virus</td>
<td>Bhudevi, Bodreddigari; Weinstock, Daniel</td>
<td>2001</td>
<td>2001-10-22</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7117215" target="_blank">PMC7117215</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/11524161.0" target="_blank">11524161.0</a></td>
<td><a href="https://doi.org/10.1016/s0378-1135(01)00390-x" target="_blank">10.1016/s0378-1135(01)00390-x</a></td>
<td>2n23vee8</td>
<td>0.354739</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#pm0fk1a0">Decaro_2008</a></td>
</tr>
<tr>
<th id="8bssrn9o";>267</th>
<td>OKINO_2018</td>
<td>Rapid detection and differentiation of avian infectious bronchitis virus: an application of Mass genotype by melting temperature analysis in RT-qPCR using SYBR Green I</td>
<td>OKINO, Cintia Hiromi; MONTASSIER, Maria de Fátima Silva; de OLIVEIRA, Andressa Peres; MONTASSIER, Helio José</td>
<td>2018</td>
<td>2018-02-27</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5938207" target="_blank">PMC5938207</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29491226.0" target="_blank">29491226.0</a></td>
<td><a href="https://doi.org/10.1292/jvms.17-0566" target="_blank">10.1292/jvms.17-0566</a></td>
<td>8bssrn9o</td>
<td>0.354662</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="zminzrov";>268</th>
<td>Wang_2019</td>
<td>Visual detection of porcine epidemic diarrhea virus using a novel reverse transcription polymerase spiral reaction method</td>
<td>Wang, Xueyu; Xu, Xin; Hu, Wen; Zuo, Kejing; Li, Zhili; Kan, Yunchao; Yao, Lunguang; Ji, Jun; Bi, Yingzuo</td>
<td>2019</td>
<td>2019-04-15</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6466714" target="_blank">PMC6466714</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30987635.0" target="_blank">30987635.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-019-1851-7" target="_blank">10.1186/s12917-019-1851-7</a></td>
<td>zminzrov</td>
<td>0.351880</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#kylki373">Chen_2008</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#992l4een">Hanaki_2013</a></td>
</tr>
<tr>
<th id="ozv0zp7r";>269</th>
<td>Komissarov_2017</td>
<td>Development of a realtime RT-PCR assay for the rapid detection of influenza A(H2) viruses</td>
<td>Komissarov, Andrey; Fadeev, Artem; Kosheleva, Anna; Sintsova, Kseniya; Grudinin, Mikhail</td>
<td>2017</td>
<td>2017-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7126497" target="_blank">PMC7126497</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28652020.0" target="_blank">28652020.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2017.06.005" target="_blank">10.1016/j.mcp.2017.06.005</a></td>
<td>ozv0zp7r</td>
<td>0.351703</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="xz602zii";>270</th>
<td>Liu_D_2015</td>
<td>Establishment of reverse transcription loop-mediated isothermal amplification for rapid detection and differentiation of canine distemper virus infected and vaccinated animals</td>
<td>Liu, Da-Fei; Liu, Chun-Guo; Tian, Jin; Jiang, Yi-Tong; Zhang, Xiao-Zhan; Chai, Hong-Liang; Yang, Tian-Kuo; Yin, Xiu-Chen; Zhang, Hong-Ying; Liu, Ming; Hua, Yu-Ping; Qu, Lian-Dong</td>
<td>2015</td>
<td>2015-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7106007" target="_blank">PMC7106007</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25769803.0" target="_blank">25769803.0</a></td>
<td><a href="https://doi.org/10.1016/j.meegid.2015.03.002" target="_blank">10.1016/j.meegid.2015.03.002</a></td>
<td>xz602zii</td>
<td>0.350927</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="s7uqawbd";>271</th>
<td>Yu_L_2020</td>
<td>Rapid colorimetric detection of COVID-19 coronavirus using a reverse tran-scriptional loop-mediated isothermal amplification (RT-LAMP) diagnostic plat-form: iLACO</td>
<td>Lin Yu; Shanshan Wu; Xiaowen Hao; Xuelong Li; Xiyang Liu; Shenglong Ye; Heng Han; Xue Dong; Xin Li; Jiyao Li; Jianmin Liu; Na Liu; Wanzhong Zhang; Vicent Pelechano; Wei-Hua Chen; Xiushan Yin</td>
<td>2020</td>
<td>2020-02-24</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.02.20.20025874" target="_blank">10.1101/2020.02.20.20025874</a></td>
<td>s7uqawbd</td>
<td>0.350808</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a></td>
</tr>
<tr>
<th id="3doc40hx";>272</th>
<td>Kim_J_2019</td>
<td>A Simple and Multiplex Loop-Mediated Isothermal Amplification (LAMP) Assay for Rapid Detection of SARS-CoV</td>
<td>Kim, Jin Hwa; Kang, Minhee; Park, Eunkyoung; Chung, Doo Ryeon; Kim, Jiyeon; Hwang, Eung Soo</td>
<td>2019</td>
<td>2019-11-11</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7097549" target="_blank">PMC7097549</a></td>
<td></td>
<td><a href="https://doi.org/10.1007/s13206-019-3404-3" target="_blank">10.1007/s13206-019-3404-3</a></td>
<td>3doc40hx</td>
<td>0.350424</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#51byypaq">Emery_2004</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a></td>
</tr>
<tr>
<th id="ox1a5lhm";>273</th>
<td>Wilkes_2017</td>
<td>Rapid and sensitive insulated isothermal PCR for point-of-need feline leukaemia virus detection</td>
<td>Wilkes, Rebecca P; Anis, Eman; Dunbar, Dawn; Lee, Pei-Yu A; Tsai, Yun-Long; Lee, Fu-Chun; Chang, Hsiao-Fen G; Wang, Hwa-Tang T; Graham, Elizabeth M</td>
<td>2017</td>
<td>2017-06-07</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5871024" target="_blank">PMC5871024</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28589743.0" target="_blank">28589743.0</a></td>
<td><a href="https://doi.org/10.1177/1098612x17712847" target="_blank">10.1177/1098612x17712847</a></td>
<td>ox1a5lhm</td>
<td>0.349892</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="nx60hae0";>274</th>
<td>Engel_2010</td>
<td>A diagnostic oligonucleotide microarray for simultaneous detection of grapevine viruses</td>
<td>Engel, Esteban A.; Escobar, Paula F.; Rojas, Luis A.; Rivera, Paulina A.; Fiore, Nicola; Valenzuela, Pablo D.T.</td>
<td>2010</td>
<td>2010-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112925" target="_blank">PMC7112925</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19914293.0" target="_blank">19914293.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.11.009" target="_blank">10.1016/j.jviromet.2009.11.009</a></td>
<td>nx60hae0</td>
<td>0.348729</td>
<td></td>
<td><a href="Topic_11.html#8k3e2j98">Londoño_2016</a></td>
</tr>
<tr>
<th id="lrkscs71";>275</th>
<td>Kurosaki_2017</td>
<td>Development and evaluation of a rapid molecular diagnostic test for Zika virus infection by reverse transcription loop-mediated isothermal amplification</td>
<td>Kurosaki, Yohei; Martins, Danyelly Bruneska Gondim; Kimura, Mayuko; Catena, Andriu dos Santos; Borba, Maria Amélia Carlos Souto Maior; Mattos, Sandra da Silva; Abe, Haruka; Yoshikawa, Rokusuke; de Lima Filho, José Luiz; Yasuda, Jiro</td>
<td>2017</td>
<td>2017-10-18</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5647432" target="_blank">PMC5647432</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29044149.0" target="_blank">29044149.0</a></td>
<td><a href="https://doi.org/10.1038/s41598-017-13836-9" target="_blank">10.1038/s41598-017-13836-9</a></td>
<td>lrkscs71</td>
<td>0.348357</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="wryr7qhc";>276</th>
<td>Xiao_2019</td>
<td>Development of oligonucleotide microarray for accurate and simultaneous detection of avian respiratory viral diseases</td>
<td>Xiao, Qian; Yan, Liping; Yao, Lu; Lei, Jing; Bi, Zhenwei; Hu, Jianhua; Chen, Yuqing; Fang, An; Li, Hui; Li, Yuan; Yan, Yan; Zhou, Jiyong</td>
<td>2019</td>
<td>2019-07-19</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6642548" target="_blank">PMC6642548</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31324180.0" target="_blank">31324180.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-019-1985-7" target="_blank">10.1186/s12917-019-1985-7</a></td>
<td>wryr7qhc</td>
<td>0.345124</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="3yfcwwye";>277</th>
<td>WEI_Y_2016</td>
<td>A duplex RT-PCR assay for detection of H9 subtype avian influenza viruses and infectious bronchitis viruses</td>
<td>WEI, Yan-di; GAO, Wei-hua; SUN, Hong-lei; YU, Chen-fang; PEI, Xing-yao; SUN, Yi-peng; LIU, Jin-hua; PU, Juan</td>
<td>2016</td>
<td>2016-09-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7128909" target="_blank">PMC7128909</a></td>
<td></td>
<td><a href="https://doi.org/10.1016/s2095-3119(15)61316-8" target="_blank">10.1016/s2095-3119(15)61316-8</a></td>
<td>3yfcwwye</td>
<td>0.343589</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="aotrkajb";>278</th>
<td>van_Boheemen_2012</td>
<td>A Family-Wide RT-PCR Assay for Detection of Paramyxoviruses and Application to a Large-Scale Surveillance Study</td>
<td>van Boheemen, Sander; Bestebroer, Theo M.; Verhagen, Josanne H.; Osterhaus, Albert D. M. E.; Pas, Suzan D.; Herfst, Sander; Fouchier, Ron A. M.</td>
<td>2012</td>
<td>2012-04-04</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3319594" target="_blank">PMC3319594</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22496880.0" target="_blank">22496880.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0034961" target="_blank">10.1371/journal.pone.0034961</a></td>
<td>aotrkajb</td>
<td>0.342720</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_12.html#zarq507s">Pulford_2004</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="kzljmzzw";>279</th>
<td>Chen_2010</td>
<td>Specific real-time reverse transcription-polymerase chain reaction for detection and quantitation of turkey coronavirus RNA in tissues and feces from turkeys infected with turkey coronavirus</td>
<td>Chen, Yi-Ning; Wu, Ching Ching; Bryan, Thomas; Hooper, Tom; Schrader, Donna; Lin, Tsang Long</td>
<td>2010</td>
<td>2010-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112835" target="_blank">PMC7112835</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19917315.0" target="_blank">19917315.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2009.11.012" target="_blank">10.1016/j.jviromet.2009.11.012</a></td>
<td>kzljmzzw</td>
<td>0.342558</td>
<td><a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a></td>
<td><a href="Topic_01.html#4i1n9j4x">Chen_2015</a>, <a href="Topic_01.html#fvdq0yes">Wang_2018</a></td>
</tr>
<tr>
<th id="zqhpkhfz";>280</th>
<td>Hatano_2011</td>
<td>Mobile and accurate detection system for infection by the 2009 pandemic influenza A (H1N1) virus with a pocket‐warmer reverse‐transcriptase loop‐mediated isothermal amplification</td>
<td>Hatano, Ben; Goto, Megumi; Fukumoto, Hitomi; Obara, Takeyuki; Maki, Takayuki; Suzuki, Go; Yamamoto, Tetsuo; Hagisawa, Kohsuke; Matsushita, Yoshitaro; Fujii, Tatsuya; Imakiire, Toshihiko; Kikuchi, Yuichi; Takahashi, Ryota; Kanai, Mie; Tamura, Kaku; Izumi, Tomoko; Takahashi, Yukihiro; Iwamoto, Yujiro; Mimura, Satoshi; Mukai, Yasuo; Takita, Kazue; Takeo, Hiroki; Kitamura, Ryuichi; Shimizu, Eiichi; Fukushima, Koji; Hakozaki, Yukiya; Uehata, Akimi; Sakai, Masao; Ohshima, Satoshi; Shirotani, Toshiki; Oba, Kunihiro; Hasegawa, Hideki; Sata, Tetsutaro; Katano, Harutaka</td>
<td>2011</td>
<td>2011-02-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7166801" target="_blank">PMC7166801</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21328369.0" target="_blank">21328369.0</a></td>
<td><a href="https://doi.org/10.1002/jmv.22031" target="_blank">10.1002/jmv.22031</a></td>
<td>zqhpkhfz</td>
<td>0.342533</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="yfmng12f";>281</th>
<td>Wang_2019</td>
<td>Development of an Immunochromatographic Strip for Rapid Detection of Canine Adenovirus</td>
<td>Wang, Shujie; Wen, Yongjun; An, Tongqing; Duan, Guixin; Sun, MingXia; Ge, Jinying; Li, Xi; Yang, Kongbin; Cai, Xuehui</td>
<td>2019</td>
<td>2019-12-11</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6917642" target="_blank">PMC6917642</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31921060.0" target="_blank">31921060.0</a></td>
<td><a href="https://doi.org/10.3389/fmicb.2019.02882" target="_blank">10.3389/fmicb.2019.02882</a></td>
<td>yfmng12f</td>
<td>0.341036</td>
<td></td>
<td><a href="Topic_15.html#u28y1ttw">Chen_2012</a>, <a href="Topic_01.html#x0o0q5sz">Thuy_Tien_2018</a>, <a href="Topic_01.html#o4hsr4pm">An_D_2008</a></td>
</tr>
<tr>
<th id="3yn80r9h";>282</th>
<td>Yang_2009</td>
<td>Development of a fluorescent quantitative real-time polymerase chain reaction assay for the detection of Goose parvovirus in vivo</td>
<td>Yang, Jin-Long; Cheng, An-Chun; Wang, Ming-Shu; Pan, Kang-Cheng; Li, Min; Guo, Yu-Fei; Li, Chuan-Feng; Zhu, De-Kang; Chen, Xiao-Yue</td>
<td>2009</td>
<td>2009-09-15</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2751755" target="_blank">PMC2751755</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19754946.0" target="_blank">19754946.0</a></td>
<td><a href="https://doi.org/10.1186/1743-422x-6-142" target="_blank">10.1186/1743-422x-6-142</a></td>
<td>3yn80r9h</td>
<td>0.340408</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#1c5ug64m">Zhuang_2019</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="kqexnda2";>283</th>
<td>Hadjinicolaou_2011</td>
<td>Development of a molecular-beacon-based multi-allelic real-time RT-PCR assay for the detection of human coronavirus causing severe acute respiratory syndrome (SARS-CoV): a general methodology for detecting rapidly mutating viruses</td>
<td>Hadjinicolaou, Andreas V.; Farcas, Gabriella A.; Demetriou, Victoria L.; Mazzulli, Tony; Poutanen, Susan M.; Willey, Barbara M.; Low, Donald E.; Butany, Jagdish; Asa, Sylvia L.; Kain, Kevin C.; Kostrikis, Leondios G.</td>
<td>2011</td>
<td>2011-01-11</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087183" target="_blank">PMC7087183</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21221674.0" target="_blank">21221674.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-010-0906-7" target="_blank">10.1007/s00705-010-0906-7</a></td>
<td>kqexnda2</td>
<td>0.340205</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#3doc40hx">Kim_J_2019</a></td>
</tr>
<tr>
<th id="gmjnbnx5";>284</th>
<td>Yang_2012</td>
<td>Development and application of a reverse transcription loop-mediated isothermal amplification method for rapid detection of Duck hepatitis A virus type 1</td>
<td>Yang, Limin; Li, Jing; Bi, Yuhai; Xu, Lei; Liu, Wenjun</td>
<td>2012</td>
<td>2012-08-07</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7088793" target="_blank">PMC7088793</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22869367.0" target="_blank">22869367.0</a></td>
<td><a href="https://doi.org/10.1007/s11262-012-0798-6" target="_blank">10.1007/s11262-012-0798-6</a></td>
<td>gmjnbnx5</td>
<td>0.337203</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#kylki373">Chen_2008</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="0hbijukt";>285</th>
<td>Hou_P_2018</td>
<td>Development of a recombinase polymerase amplification combined with lateral-flow dipstick assay for detection of bovine ephemeral fever virus</td>
<td>Hou, Peili; Zhao, Guimin; Wang, Hongmei; He, Chengqiang; Huan, Yanjun; He, Hongbin</td>
<td>2018</td>
<td>2018-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7126596" target="_blank">PMC7126596</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29288049.0" target="_blank">29288049.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2017.12.003" target="_blank">10.1016/j.mcp.2017.12.003</a></td>
<td>0hbijukt</td>
<td>0.335795</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a></td>
<td><a href="Topic_01.html#bgrgzfoo">Hou_P_2017</a>, <a href="Topic_01.html#zz7mt6be">Hakhverdyan_2005</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="swpaial1";>286</th>
<td>Salem_2010</td>
<td>Multiplex nested RT-PCR for the detection of porcine enteric viruses</td>
<td>Salem, Abid Nabil Ben; Chupin Sergei, A.; Bjadovskaya Olga, P.; Andreeva Olga, G.; Mahjoub, Aouni; Prokhvatilova Larissa, B.</td>
<td>2010</td>
<td>2010-05-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112813" target="_blank">PMC7112813</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20170679.0" target="_blank">20170679.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2010.02.010" target="_blank">10.1016/j.jviromet.2010.02.010</a></td>
<td>swpaial1</td>
<td>0.335704</td>
<td><a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_06.html#t48y27wg">Decaro_2004</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="3c1vue0y";>287</th>
<td>Greene_2003</td>
<td>Evaluation of the NucliSens® Basic Kit assay for detection of Norwalk virus RNA in stool specimens</td>
<td>Greene, Shermalyn R; Moe, Christine L; Jaykus, Lee-Ann; Cronin, Mike; Grosso, Lynell; Aarle, Pierre van</td>
<td>2003</td>
<td>2003-03-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119547" target="_blank">PMC7119547</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/12565163.0" target="_blank">12565163.0</a></td>
<td><a href="https://doi.org/10.1016/s0166-0934(02)00286-0" target="_blank">10.1016/s0166-0934(02)00286-0</a></td>
<td>3c1vue0y</td>
<td>0.335619</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a></td>
<td><a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_06.html#t48y27wg">Decaro_2004</a></td>
</tr>
<tr>
<th id="78du7c1s";>288</th>
<td>Lee_G_2013</td>
<td>A comparison of oligonucleotide-based microarray and real-time PCR for the detection of sexually transmitted infections</td>
<td>Lee, Gyeong-In; Yoen, Jong Pil; Kang, Jin Seok; Hwang, Seung Yong; Hong, Yu-Min; Yang, Jeong-Ha; Yoon, Hyun Kyu</td>
<td>2013</td>
<td>2013-03-20</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7096812" target="_blank">PMC7096812</a></td>
<td></td>
<td><a href="https://doi.org/10.1007/s13206-013-7111-1" target="_blank">10.1007/s13206-013-7111-1</a></td>
<td>78du7c1s</td>
<td>0.333964</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#9apyiy7n">Li_J_2012</a>, <a href="Topic_02.html#xo1cyzrg">Giles_2015</a>, <a href="Topic_03.html#b8jxz225">Fallahi_2015</a></td>
</tr>
<tr>
<th id="1uwwyqsg";>289</th>
<td>Lemaitre_2018</td>
<td>Single reaction, real time RT-PCR detection of all known avian and human metapneumoviruses</td>
<td>Lemaitre, E.; Allée, C.; Vabret, A.; Eterradossi, N.; Brown, PA.</td>
<td>2018</td>
<td>2018-01-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119483" target="_blank">PMC7119483</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29030071.0" target="_blank">29030071.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2017.10.010" target="_blank">10.1016/j.jviromet.2017.10.010</a></td>
<td>1uwwyqsg</td>
<td>0.333808</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="rd1bxkbu";>290</th>
<td>Goodman_2016</td>
<td>High-throughput Detection of Respiratory Pathogens in Animal Specimens by Nanoscale PCR</td>
<td>Goodman, Laura B.; Anderson, Renee R.; Slater, Marcia; Ortenberg, Elen; Renshaw, Randall W.; Chilson, Brittany D.; Laverack, Melissa A.; Beeby, John S.; Dubovi, Edward J.; Glaser, Amy L.</td>
<td>2016</td>
<td>2016-11-28</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5226323" target="_blank">PMC5226323</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/27929456.0" target="_blank">27929456.0</a></td>
<td><a href="https://doi.org/10.3791/54781" target="_blank">10.3791/54781</a></td>
<td>rd1bxkbu</td>
<td>0.333784</td>
<td><a href="Topic_10.html#utvf8yh6">Chen_2018</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_04.html#nfxcqsc2">Kim_K_2007</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#zz7mt6be">Hakhverdyan_2005</a></td>
</tr>
<tr>
<th id="k0162dg6";>291</th>
<td>Liu_I_2019</td>
<td>A Novel Immunochromatographic Strip for Antigen Detection of Avian Infectious Bronchitis Virus</td>
<td>Liu, I-Li; Lin, Yi-Chun; Lin, Yong-Chong; Jian, Cai-Zhen; Cheng, Ivan-Chen; Chen, Hui-Wen</td>
<td>2019</td>
<td>2019-05-06</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6540333" target="_blank">PMC6540333</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31064083.0" target="_blank">31064083.0</a></td>
<td><a href="https://doi.org/10.3390/ijms20092216" target="_blank">10.3390/ijms20092216</a></td>
<td>k0162dg6</td>
<td>0.333751</td>
<td></td>
<td><a href="Topic_15.html#u28y1ttw">Chen_2012</a>, <a href="Topic_01.html#x0o0q5sz">Thuy_Tien_2018</a></td>
</tr>
<tr>
<th id="6yrpi1ot";>292</th>
<td>Zhang_2014</td>
<td>Development and evaluation of reverse transcription loop-mediated isothermal amplification assay for the detection of the fathead minnow nidovirus</td>
<td>Zhang, Qingli; Standish, Isaac; Winters, Andrew D.; Puzach, Corey; Ulferts, Rachel; Ziebuhr, John; Faisal, Mohamed</td>
<td>2014</td>
<td>2014-06-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113640" target="_blank">PMC7113640</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/24594288.0" target="_blank">24594288.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2014.02.018" target="_blank">10.1016/j.jviromet.2014.02.018</a></td>
<td>6yrpi1ot</td>
<td>0.333706</td>
<td><a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="adul9nzf";>293</th>
<td>Wu_Q_2004</td>
<td>Development of Taqman RT-nested PCR system for clinical SARS-CoV detection</td>
<td>Wu, Qingfa; Xu, Zuyuan; Wei, Tian; Zeng, Haipang; Li, Jingxiang; Gang, Haixue; Sun, Min; Jiang, Fangbo; Wang, Xiang; Dong, Wei; Yang, Ling; Wang, Jian</td>
<td>2004</td>
<td>2004-07-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119531" target="_blank">PMC7119531</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15109816.0" target="_blank">15109816.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2004.02.011" target="_blank">10.1016/j.jviromet.2004.02.011</a></td>
<td>adul9nzf</td>
<td>0.331333</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_01.html#cxq9v218">Nitsche_2004</a>, <a href="Topic_04.html#r2upa4o0">Chen_2016</a></td>
<td><a href="Topic_01.html#86el3qwn">Poon_2003</a>, <a href="Topic_09.html#hnb75vou">Keyaerts_2006</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="8wlpt4fa";>294</th>
<td>Luo_L_2020</td>
<td>Establishment of method for dual simultaneous detection of PEDV and TGEV by combination of magnetic micro-particles and nanoparticles</td>
<td>Luo, Le; Chen, Jing; Li, Xiaomin; Qiao, Dan; Wang, Zhenyu; Wu, Xingchen; Du, Qian; Tong, Dewen; Huang, Yong</td>
<td>2020</td>
<td>2020-05-31</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1016/j.jiac.2020.01.008" target="_blank">10.1016/j.jiac.2020.01.008</a></td>
<td>8wlpt4fa</td>
<td>0.331196</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_05.html#rc67p55z">Xu_F_2020</a></td>
</tr>
<tr>
<th id="8jnrc01n";>295</th>
<td>Jiang_2018</td>
<td>A simple and safe antibody neutralization assay based on polio pseudoviruses</td>
<td>Jiang, Zheng; Liu, Guixiu; Guo-yang, Liao; Sun, Mingbo; Xu, Kangwei; Ying, Zhifang; Wang, Jianfeng; Li, Xuguang; Li, Changgui</td>
<td>2018</td>
<td>2018-10-16</td>
<td>NONCOMM</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6422504" target="_blank">PMC6422504</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30273512.0" target="_blank">30273512.0</a></td>
<td><a href="https://doi.org/10.1080/21645515.2018.1526553" target="_blank">10.1080/21645515.2018.1526553</a></td>
<td>8jnrc01n</td>
<td>0.331039</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="nr00npl2";>296</th>
<td>Zhou_2004</td>
<td>Determination of SARS‐coronavirus by a microfluidic chip system</td>
<td>Zhou, Xiaomian; Liu, Dayu; Zhong, Runtao; Dai, Zhongpeng; Wu, Dapeng; Wang, Hui; Du, Yuguang; Xia, Zhinan; Zhang, Liping; Mei, Xiaodai; Lin, Bingcheng</td>
<td>2004</td>
<td>2004-08-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7163670" target="_blank">PMC7163670</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15349945.0" target="_blank">15349945.0</a></td>
<td><a href="https://doi.org/10.1002/elps.200305966" target="_blank">10.1002/elps.200305966</a></td>
<td>nr00npl2</td>
<td>0.326237</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_07.html#27859c2f">Liu_H_2006</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td></td>
</tr>
<tr>
<th id="z6ndprmm";>297</th>
<td>Tsai_2019</td>
<td>An RT-PCR panel for rapid serotyping of dengue virus serotypes 1 to 4 in human serum and mosquito on a field-deployable PCR system</td>
<td>Tsai, Jih-Jin; Liu, Wei-Liang; Lin, Ping-Chang; Huang, Bo-Yi; Tsai, Ching-Yi; Chou, Pin-Hsing; Lee, Fu-Chun; Ping, Chia-Fong; Lee, Pei-Yu Alison; Liu, Li-Teh; Chen, Chun-Hong</td>
<td>2019</td>
<td>2019-03-25</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6433249" target="_blank">PMC6433249</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30908535.0" target="_blank">30908535.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0214328" target="_blank">10.1371/journal.pone.0214328</a></td>
<td>z6ndprmm</td>
<td>0.325688</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a></td>
<td><a href="Topic_01.html#3lujp0oy">Neeraja_2015</a></td>
</tr>
<tr>
<th id="i3zyqu54";>298</th>
<td>Liu_L_2018</td>
<td>Equipment-free recombinase polymerase amplification assay using body heat for visual and rapid point-of-need detection of canine parvovirus 2</td>
<td>Liu, Libing; Wang, Jianchang; Geng, Yunyun; Wang, Jinfeng; Li, Ruiwen; Shi, Ruihan; Yuan, Wanzhe</td>
<td>2018</td>
<td>2018-06-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127419" target="_blank">PMC7127419</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29705183.0" target="_blank">29705183.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2018.04.004" target="_blank">10.1016/j.mcp.2018.04.004</a></td>
<td>i3zyqu54</td>
<td>0.325537</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td><a href="Topic_01.html#1c5ug64m">Zhuang_2019</a>, <a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="pjmd8mpv";>299</th>
<td>Wang_1999</td>
<td>A multiplex PCR for Massachusetts and Arkansas serotypes of infectious bronchitis virus</td>
<td>Wang, X.; Khan, M.I.</td>
<td>1999</td>
<td>1999-02-28</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7135714" target="_blank">PMC7135714</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/10024427.0" target="_blank">10024427.0</a></td>
<td><a href="https://doi.org/10.1006/mcpr.1998.0204" target="_blank">10.1006/mcpr.1998.0204</a></td>
<td>pjmd8mpv</td>
<td>0.323402</td>
<td><a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td></td>
</tr>
<tr>
<th id="hhi8nf1r";>300</th>
<td>Arita_2009</td>
<td>Development of a reverse transcription-loop-mediated isothermal amplification (RT-LAMP) system for a highly sensitive detection of enterovirus in the stool samples of acute flaccid paralysis cases</td>
<td>Arita, Minetaro; Ling, Hua; Yan, Dongmei; Nishimura, Yorihiro; Yoshida, Hiromu; Wakita, Takaji; Shimizu, Hiroyuki</td>
<td>2009</td>
<td>2009-12-16</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2803793" target="_blank">PMC2803793</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/20015403.0" target="_blank">20015403.0</a></td>
<td><a href="https://doi.org/10.1186/1471-2334-9-208" target="_blank">10.1186/1471-2334-9-208</a></td>
<td>hhi8nf1r</td>
<td>0.321743</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#zstr65vk">Fan_Q_2012</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_01.html#992l4een">Hanaki_2013</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="2hwpa9nm";>301</th>
<td>Bonot_2014</td>
<td>Detection of small amounts of human adenoviruses in stools: comparison of a new immuno real-time PCR assay with classical tools</td>
<td>Bonot, S.; Ogorzaly, L.; El Moualij, B.; Zorzi, W.; Cauchie, H.-M.</td>
<td>2014</td>
<td>2014-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7162227" target="_blank">PMC7162227</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/25041100.0" target="_blank">25041100.0</a></td>
<td><a href="https://doi.org/10.1111/1469-0691.12768" target="_blank">10.1111/1469-0691.12768</a></td>
<td>2hwpa9nm</td>
<td>0.321425</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td></td>
</tr>
<tr>
<th id="0xc02kkb";>302</th>
<td>Dupas_2019</td>
<td>Comparison of real-time PCR and droplet digital PCR for the detection of Xylella fastidiosa in plants</td>
<td>Enora Dupas; Bruno Legendre; Valérie Olivier; Françoise Poliakoff; Charles Manceau; Amandine Cunty</td>
<td>2019</td>
<td>2019-03-20</td>
<td>BioRxiv</td>
<td>N</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/582288" target="_blank">10.1101/582288</a></td>
<td>0xc02kkb</td>
<td>0.320223</td>
<td><a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_04.html#akr0shvb">Thiel_2002</a>, <a href="Topic_04.html#l6t49b7d">Borja_1992</a></td>
<td><a href="Topic_01.html#03hvi4el">Rodrigues_2011</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="e0w069vt";>303</th>
<td>Wang_2018</td>
<td>Development of a real time reverse transcription loop-mediated isothermal amplification method (RT-LAMP) for detection of a novel swine acute diarrhea syndrome coronavirus (SADS-CoV)</td>
<td>Wang, Huanan; Cong, Feng; Zeng, Fanwen; Lian, Yuexiao; Liu, Xiangnan; Luo, Manlin; Guo, Pengju; Ma, Jingyun</td>
<td>2018</td>
<td>2018-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7113678" target="_blank">PMC7113678</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/29936095.0" target="_blank">29936095.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2018.06.010" target="_blank">10.1016/j.jviromet.2018.06.010</a></td>
<td>e0w069vt</td>
<td>0.319602</td>
<td></td>
<td><a href="Topic_03.html#3cdfx2zj">Chen_2009</a>, <a href="Topic_01.html#wue6s07z">Zhou_2018</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a></td>
</tr>
<tr>
<th id="yiqmjn2z";>304</th>
<td>Peng_2015</td>
<td>Rapid detection of the common avian leukosis virus subgroups by real-time loop-mediated isothermal amplification</td>
<td>Peng, Hao; Qin, Lili; Bi, Yuyu; Wang, Peikun; Zou, Guangzhen; Li, Jun; Yang, Yongli; Zhong, Xingfu; Wei, Ping</td>
<td>2015</td>
<td>2015-11-24</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4657318" target="_blank">PMC4657318</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26596553.0" target="_blank">26596553.0</a></td>
<td><a href="https://doi.org/10.1186/s12985-015-0430-1" target="_blank">10.1186/s12985-015-0430-1</a></td>
<td>yiqmjn2z</td>
<td>0.318948</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#rujylmib">Chen_2010</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_01.html#kylki373">Chen_2008</a></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="dmb42kna";>305</th>
<td>Vemulapalli_2015</td>
<td>Real-Time Reverse Transcription Polymerase Chain Reaction for Rapid Detection of Transmissible Gastroenteritis Virus</td>
<td>Vemulapalli, Ramesh</td>
<td>2015</td>
<td>2015-09-10</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7121909" target="_blank">PMC7121909</a></td>
<td></td>
<td><a href="https://doi.org/10.1007/978-1-4939-3414-0_10" target="_blank">10.1007/978-1-4939-3414-0_10</a></td>
<td>dmb42kna</td>
<td>0.318900</td>
<td></td>
<td><a href="Topic_01.html#fvdq0yes">Wang_2018</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="pof78bwb";>306</th>
<td>Abd_El_Wahed_2015</td>
<td>Recombinase Polymerase Amplification Assay for Rapid Diagnostics of Dengue Infection</td>
<td>Abd El Wahed, Ahmed; Patel, Pranav; Faye, Oumar; Thaloengsok, Sasikanya; Heidenreich, Doris; Matangkasombut, Ponpan; Manopwisedjaroen, Khajohnpong; Sakuntabhai, Anavaj; Sall, Amadou A.; Hufert, Frank T.; Weidmann, Manfred</td>
<td>2015</td>
<td>2015-06-15</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4468249" target="_blank">PMC4468249</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26075598.0" target="_blank">26075598.0</a></td>
<td><a href="https://doi.org/10.1371/journal.pone.0129682" target="_blank">10.1371/journal.pone.0129682</a></td>
<td>pof78bwb</td>
<td>0.318610</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="7tkvl894";>307</th>
<td>Metsky_2020</td>
<td>CRISPR-based surveillance for COVID-19 using genomically-comprehensive machine learning design</td>
<td>Hayden C. Metsky; Catherine A. Freije; Tinna-Solveig F. Kosoko-Thoroddsen; Pardis C. Sabeti; Cameron Myhrvold</td>
<td>2020</td>
<td>2020-03-02</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.02.26.967026" target="_blank">10.1101/2020.02.26.967026</a></td>
<td>7tkvl894</td>
<td>0.317594</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="exf1mh36";>308</th>
<td>Ahn_S_2019</td>
<td>Rapid and simple colorimetric detection of multiple influenza viruses infecting humans using a reverse transcriptional loop-mediated isothermal amplification (RT-LAMP) diagnostic platform</td>
<td>Ahn, Su Jeong; Baek, Yun Hee; Lloren, Khristine Kaith S.; Choi, Won-Suk; Jeong, Ju Hwan; Antigua, Khristine Joy C.; Kwon, Hyeok-il; Park, Su-Jin; Kim, Eun-Ha; Kim, Young-il; Si, Young-Jae; Hong, Seung Bok; Shin, Kyeong Seob; Chun, Sungkun; Choi, Young Ki; Song, Min-Suk</td>
<td>2019</td>
<td>2019-08-01</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6669974" target="_blank">PMC6669974</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31370782.0" target="_blank">31370782.0</a></td>
<td><a href="https://doi.org/10.1186/s12879-019-4277-8" target="_blank">10.1186/s12879-019-4277-8</a></td>
<td>exf1mh36</td>
<td>0.317578</td>
<td></td>
<td><a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a>, <a href="Topic_01.html#9k2oox64">Sharma_2018</a></td>
</tr>
<tr>
<th id="4i1n9j4x";>309</th>
<td>Chen_2015</td>
<td>Real-Time Reverse Transcription-Polymerase Chain Reaction for Detection and Quantitation of Turkey Coronavirus RNA in Feces and Intestine Tissues</td>
<td>Chen, Yi-Ning; Wu, Ching Ching; Lin, Tsang Long</td>
<td>2015</td>
<td>2015-09-10</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7120390" target="_blank">PMC7120390</a></td>
<td></td>
<td><a href="https://doi.org/10.1007/978-1-4939-3414-0_13" target="_blank">10.1007/978-1-4939-3414-0_13</a></td>
<td>4i1n9j4x</td>
<td>0.316616</td>
<td><a href="Topic_04.html#l6t49b7d">Borja_1992</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td><a href="Topic_10.html#kzljmzzw">Chen_2010</a>, <a href="Topic_01.html#fvdq0yes">Wang_2018</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a></td>
</tr>
<tr>
<th id="wuvry51z";>310</th>
<td>Broughton_2020</td>
<td>Rapid Detection of 2019 Novel Coronavirus SARS-CoV-2 Using a CRISPR-based DETECTR Lateral Flow Assay</td>
<td>James P Broughton; Xianding Deng; Guixia Yu; Clare L Fasching; Jasmeet Singh; Jessica Streithorst; Andrea Granados; Alicia Sotomayor-Gonzalez; Kelsey Zorn; Allan Gopez; Elaine Hsu; Wei Gu; Steven Miller; Chao-Yang Pan; Hugo Guevara; Debra Wadford; Janice Chen; Charles Y Chiu</td>
<td>2020</td>
<td>2020-03-10</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.03.06.20032334" target="_blank">10.1101/2020.03.06.20032334</a></td>
<td>wuvry51z</td>
<td>0.316279</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#cuhx1dfq">Kumar_2010</a></td>
<td></td>
</tr>
<tr>
<th id="18azv910";>311</th>
<td>McAvin_2007</td>
<td>Deployable, Field-Sustainable, Reverse Transcription-Polymerase Chain Reaction Assays for Rapid Screening and Serotype Identification of Dengue Virus in Mosquitoes</td>
<td>McAvin, James C.; Powers, Michael D.; Blow, Jamie A.; Putnam, John L.; Huff, William B.; Swaby, James A.</td>
<td>2007</td>
<td>2007-03-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7110365" target="_blank">PMC7110365</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17436782.0" target="_blank">17436782.0</a></td>
<td><a href="https://doi.org/10.7205/milmed.172.3.329" target="_blank">10.7205/milmed.172.3.329</a></td>
<td>18azv910</td>
<td>0.315617</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_13.html#lrkscs71">Kurosaki_2017</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_01.html#7k8j3y1s">Malik_2013</a></td>
</tr>
<tr>
<th id="nn7qvf8i";>312</th>
<td>Wang_2016</td>
<td>Rapid and sensitive detection of canine parvovirus type 2 by recombinase polymerase amplification</td>
<td>Wang, Jianchang; Liu, Libing; Li, Ruiwen; Wang, Jinfeng; Fu, Qi; Yuan, Wanzhe</td>
<td>2016</td>
<td>2016-01-05</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7087227" target="_blank">PMC7087227</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/26729477.0" target="_blank">26729477.0</a></td>
<td><a href="https://doi.org/10.1007/s00705-015-2738-y" target="_blank">10.1007/s00705-015-2738-y</a></td>
<td>nn7qvf8i</td>
<td>0.315434</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#hj0bt9bd">Wang_2017</a>, <a href="Topic_11.html#zs18ez5q">Geng_2017</a>, <a href="Topic_02.html#bkq598ur">Wang_2019</a></td>
</tr>
<tr>
<th id="1ur4tbwj";>313</th>
<td>El-Tholoth_2019</td>
<td>Recombinase polymerase amplification–nucleic acid lateral flow immunoassays for Newcastle disease virus and infectious bronchitis virus detection</td>
<td>El-Tholoth, Mohamed; Branavan, Manoharanehru; Naveenathayalan, Angel; Balachandran, Wamadeva</td>
<td>2019</td>
<td>2019-09-23</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7089497" target="_blank">PMC7089497</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31549369.0" target="_blank">31549369.0</a></td>
<td><a href="https://doi.org/10.1007/s11033-019-05085-y" target="_blank">10.1007/s11033-019-05085-y</a></td>
<td>1ur4tbwj</td>
<td>0.314626</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a></td>
<td><a href="Topic_01.html#dfcqhvn9">Mu_Y_2014</a>, <a href="Topic_01.html#bgrgzfoo">Hou_P_2017</a></td>
</tr>
<tr>
<th id="qfb7074e";>314</th>
<td>Guo_Y_2009</td>
<td>Development of TaqMan(® )MGB fluorescent real-time PCR assay for the detection of anatid herpesvirus 1</td>
<td>Guo, Yufei; Cheng, Anchun; Wang, Mingshu; Shen, Chanjuan; Jia, Renyong; Chen, Shun; Zhang, Na</td>
<td>2009</td>
<td>2009-06-04</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2696427" target="_blank">PMC2696427</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/19497115.0" target="_blank">19497115.0</a></td>
<td><a href="https://doi.org/10.1186/1743-422x-6-71" target="_blank">10.1186/1743-422x-6-71</a></td>
<td>qfb7074e</td>
<td>0.312738</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
<td><a href="Topic_06.html#3yn80r9h">Yang_2009</a>, <a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a></td>
</tr>
<tr>
<th id="2z2ktxmr";>315</th>
<td>Panning_2007</td>
<td>Diagnostic Reverse-Transcription Polymerase Chain Reaction Kit for Filoviruses Based on the Strain Collections of all European Biosafety Level 4 Laboratories</td>
<td>Panning, Marcus; Laue, Thomas; Ölschlager, Stephan; Eickmann, Markus; Becker, Stephan; Raith, Sabine; Courbot, Marie-Claude Georges; Nilsson, Mikael; Gopal, Robin; Lundkvist, Ake; di Caro, Antonino; Brown, David; Meyer, Hermann; Lloyd, Graham; Kümmerer, Beate M.; Günther, Stephan; Drosten, Christian</td>
<td>2007</td>
<td>2007-11-15</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7109892" target="_blank">PMC7109892</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17940950.0" target="_blank">17940950.0</a></td>
<td><a href="https://doi.org/10.1086/520600" target="_blank">10.1086/520600</a></td>
<td>2z2ktxmr</td>
<td>0.310573</td>
<td></td>
<td><a href="Topic_04.html#ymciferk">Hohdatsu_1992</a>, <a href="Topic_03.html#ru4ky6kz">Njiru_2008</a></td>
</tr>
<tr>
<th id="eiicdxre";>316</th>
<td>Li_Z_2018</td>
<td>Detection of Novel duck reovirus (NDRV) using visual reverse transcription loop-mediated isothermal amplification (RT-LAMP)</td>
<td>Li, Zhili; Cai, Yuejia; Liang, Guozhi; El-Ashram, Saeed; Mei, Minmin; Huang, Wenjing; Li, Xiaowen; Li, Wenfeng; He, Cheng; Huang, Shujian</td>
<td>2018</td>
<td>2018-09-19</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6145877" target="_blank">PMC6145877</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/30232402.0" target="_blank">30232402.0</a></td>
<td><a href="https://doi.org/10.1038/s41598-018-32473-4" target="_blank">10.1038/s41598-018-32473-4</a></td>
<td>eiicdxre</td>
<td>0.309902</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a>, <a href="Topic_03.html#828inb8d">Zhang_2011</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a></td>
<td><a href="Topic_01.html#fa0mnbzg">Nemoto_2015</a>, <a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_03.html#98sqovwb">Li_H_2019</a></td>
</tr>
<tr>
<th id="c1xx1uvd";>317</th>
<td>Marulappa_2008</td>
<td>Simple Tests for Rapid Detection of Canine Parvovirus Antigen and Canine Parvovirus-Specific Antibodies</td>
<td>Marulappa, Shashidhara Y.; Kapil, Sanjay</td>
<td>2008</td>
<td>2008-11-05</td>
<td>None</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2620666" target="_blank">PMC2620666</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/18987166.0" target="_blank">18987166.0</a></td>
<td><a href="https://doi.org/10.1128/cvi.00304-08" target="_blank">10.1128/cvi.00304-08</a></td>
<td>c1xx1uvd</td>
<td>0.309746</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="a0r4xh1c";>318</th>
<td>Cornelissen_2017</td>
<td>Mycoplasma detection by triplex real-time PCR in bronchoalveolar lavage fluid from bovine respiratory disease complex cases</td>
<td>Cornelissen, Jan B. W. J.; de Bree, Freddy M.; van der Wal, Fimme J.; Kooi, Engbert A.; Koene, Miriam G. J.; Bossers, Alex; Smid, Bregtje; Antonis, Adriaan F.; Wisselink, Henk J.</td>
<td>2017</td>
<td>2017-04-08</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5385097" target="_blank">PMC5385097</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28390431.0" target="_blank">28390431.0</a></td>
<td><a href="https://doi.org/10.1186/s12917-017-1023-6" target="_blank">10.1186/s12917-017-1023-6</a></td>
<td>a0r4xh1c</td>
<td>0.309493</td>
<td></td>
<td><a href="Topic_01.html#3p6q92x4">Gueudin_2003</a></td>
</tr>
<tr>
<th id="hm4b069d";>319</th>
<td>Go_Y_2017</td>
<td>Evaluation and Clinical Validation of Two Field–Deployable Reverse Transcription-Insulated Isothermal PCR Assays for the Detection of the Middle East Respiratory Syndrome–Coronavirus</td>
<td>Go, Yun Young; Kim, Yeon-Sook; Cheon, Shinhye; Nam, Sangwoo; Ku, Keun Bon; Kim, Meehyein; Cho, Nam Hyuk; Park, Hyun; Alison Lee, Pei-Yu; Lin, Yu-Chun; Tsai, Yun-Long; Thomas Wang, Hwa-Tang; Balasuriya, Udeni B.R.</td>
<td>2017</td>
<td>2017-11-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7106309" target="_blank">PMC7106309</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/28807812.0" target="_blank">28807812.0</a></td>
<td><a href="https://doi.org/10.1016/j.jmoldx.2017.06.007" target="_blank">10.1016/j.jmoldx.2017.06.007</a></td>
<td>hm4b069d</td>
<td>0.307786</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#6dvpqgf5">Shirato_2014</a></td>
</tr>
<tr>
<th id="u2mfjhtj";>320</th>
<td>Singh_2012</td>
<td>Multipurpose Instantaneous Microarray Detection of Acute Encephalitis Causing Viruses and Their Expression Profiles</td>
<td>Singh, Desh Deepak; Jain, Amita</td>
<td>2012</td>
<td>2012-06-07</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7080014" target="_blank">PMC7080014</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22674173.0" target="_blank">22674173.0</a></td>
<td><a href="https://doi.org/10.1007/s00284-012-0154-z" target="_blank">10.1007/s00284-012-0154-z</a></td>
<td>u2mfjhtj</td>
<td>0.305275</td>
<td></td>
<td></td>
</tr>
<tr>
<th id="pcs4jtmc";>321</th>
<td>Munir_2004</td>
<td>Detection of infectious salmon anaemia virus by real-time RT–PCR</td>
<td>Munir, Khalid; Kibenge, Frederick S.B</td>
<td>2004</td>
<td>2004-04-30</td>
<td>PMC</td>
<td>N</td>
<td></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/15019258.0" target="_blank">15019258.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2003.11.020" target="_blank">10.1016/j.jviromet.2003.11.020</a></td>
<td>pcs4jtmc</td>
<td>0.304818</td>
<td><a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_04.html#a7w3kgo0">Falcone_1997</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_01.html#q068aybo">Wang_2018</a></td>
<td></td>
</tr>
<tr>
<th id="5n1847is";>322</th>
<td>ANNAMALAI_2020</td>
<td>A SIMPLE COLORIMETRIC MOLECULAR DETECTION OF NOVEL CORONAVIRUS (COVID-19), AN ESSENTIAL DIAGNOSTIC TOOL FOR PANDEMIC SCREENING</td>
<td>PAZHANIMUTHU ANNAMALAI; MADHU KANTA; PAZHANIVEL RAMU; BASKAR RAVI; KOKILAVANI VEERAPANDIAN; RENGARAJAN SRINIVASAN</td>
<td>2020</td>
<td>2020-04-14</td>
<td>BioRxiv</td>
<td>Y</td>
<td></td>
<td></td>
<td><a href="https://doi.org/10.1101/2020.04.10.20060293" target="_blank">10.1101/2020.04.10.20060293</a></td>
<td>5n1847is</td>
<td>0.304778</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_01.html#3doc40hx">Kim_J_2019</a>, <a href="Topic_02.html#cv3qgno3">Zhang_2020</a></td>
</tr>
<tr>
<th id="ru4ky6kz";>323</th>
<td>Njiru_2008</td>
<td>African trypanosomiasis: Sensitive and rapid detection of the sub-genus Trypanozoon by loop-mediated isothermal amplification (LAMP) of parasite DNA</td>
<td>Njiru, Z.K.; Mikosza, A.S.J.; Matovu, E.; Enyaru, J.C.K.; Ouma, J.O.; Kibona, S.N.; Thompson, R.C.A.; Ndung’u, J.M.</td>
<td>2008</td>
<td>2008-04-30</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7094514" target="_blank">PMC7094514</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17991469.0" target="_blank">17991469.0</a></td>
<td><a href="https://doi.org/10.1016/j.ijpara.2007.09.006" target="_blank">10.1016/j.ijpara.2007.09.006</a></td>
<td>ru4ky6kz</td>
<td>0.303786</td>
<td><a href="Topic_01.html#q068aybo">Wang_2018</a>, <a href="Topic_01.html#z73pxely">Benson_2008</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a>, <a href="Topic_03.html#b8jxz225">Fallahi_2015</a></td>
<td><a href="Topic_03.html#5pjam7em">Stranieri_2017</a></td>
</tr>
<tr>
<th id="rjp2d1u9";>324</th>
<td>Chutinimitkul_2007</td>
<td>H5N1 Oseltamivir-resistance detection by real-time PCR using two high sensitivity labeled TaqMan probes</td>
<td>Chutinimitkul, Salin; Suwannakarn, Kamol; Chieochansin, Thaweesak; Mai, Le Quynh; Damrongwatanapokin, Sudarat; Chaisingh, Arunee; Amonsin, Alongkorn; Landt, Olfert; Songserm, Thaweesak; Theamboonlers, Apiradee; Poovorawan, Yong</td>
<td>2007</td>
<td>2007-01-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7112789" target="_blank">PMC7112789</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17055070.0" target="_blank">17055070.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2006.09.007" target="_blank">10.1016/j.jviromet.2006.09.007</a></td>
<td>rjp2d1u9</td>
<td>0.303100</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a></td>
<td><a href="Topic_08.html#yvmdh7xh">Carr_2008</a></td>
</tr>
<tr>
<th id="6urwzxwu";>325</th>
<td>Parida_2011</td>
<td>Development and Evaluation of Reverse Transcription Loop-Mediated Isothermal Amplification Assay for Rapid and Real-Time Detection of the Swine-Origin Influenza A H1N1 Virus</td>
<td>Parida, Manmohan; Shukla, Jyoti; Sharma, Shashi; Ranghia Santhosh, Sanna; Ravi, Vasanthapuram; Mani, Reeta; Thomas, Maria; Khare, Shashi; Rai, Arvind; Kant Ratho, Radha; Pujari, Sujit; Mishra, Bijayanti; Lakshmana Rao, Putcha Venkata; Vijayaraghavan, Rajagopalan</td>
<td>2011</td>
<td>2011-01-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3069812" target="_blank">PMC3069812</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/21227400.0" target="_blank">21227400.0</a></td>
<td><a href="https://doi.org/10.1016/j.jmoldx.2010.11.003" target="_blank">10.1016/j.jmoldx.2010.11.003</a></td>
<td>6urwzxwu</td>
<td>0.303086</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#lakdi3x8">Kang_2010</a>, <a href="Topic_01.html#v2o25ey9">Lau_L_2003</a>, <a href="Topic_01.html#bqv03u2e">Jiang_2004</a></td>
<td><a href="Topic_03.html#6yrpi1ot">Zhang_2014</a>, <a href="Topic_01.html#54e285re">Shirato_2007</a>, <a href="Topic_01.html#vqss7z7m">Zhang_2011</a></td>
</tr>
<tr>
<th id="j6ao5d6x";>326</th>
<td>Kim_S_2007</td>
<td>Multiplex real-time RT-PCR for the simultaneous detection and quantification of transmissible gastroenteritis virus and porcine epidemic diarrhea virus</td>
<td>Kim, Seong-Hee; Kim, In-Joong; Pyo, Hyun-Mi; Tark, Dong-Seob; Song, Jae-Young; Hyun, Bang-Hun</td>
<td>2007</td>
<td>2007-12-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7119650" target="_blank">PMC7119650</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/17697717.0" target="_blank">17697717.0</a></td>
<td><a href="https://doi.org/10.1016/j.jviromet.2007.06.021" target="_blank">10.1016/j.jviromet.2007.06.021</a></td>
<td>j6ao5d6x</td>
<td>0.301644</td>
<td></td>
<td><a href="Topic_01.html#fvdq0yes">Wang_2018</a>, <a href="Topic_05.html#swpaial1">Salem_2010</a></td>
</tr>
<tr>
<th id="2586thss";>327</th>
<td>XIANG_2012</td>
<td>A novel double antibody sandwich-lateral flow immunoassay for the rapid and simple detection of hepatitis C virus</td>
<td>XIANG, TINGXIU; JIANG, ZHENG; ZHENG, JIAN; LO, CHAOYU; TSOU, HARRY; REN, GUOSHENG; ZHANG, JUN; HUANG, AILONG; LAI, GUOQI</td>
<td>2012</td>
<td>2012-09-06</td>
<td>COMM-USE</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3573733" target="_blank">PMC3573733</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/22960954.0" target="_blank">22960954.0</a></td>
<td><a href="https://doi.org/10.3892/ijmm.2012.1121" target="_blank">10.3892/ijmm.2012.1121</a></td>
<td>2586thss</td>
<td>0.300862</td>
<td><a href="Topic_01.html#azqbbsfr">Vemulapalli_2009</a></td>
<td></td>
</tr>
<tr>
<th id="iradz5mb";>328</th>
<td>Jia_S_2019</td>
<td>Dual priming oligonucleotide (DPO)-based real-time RT-PCR assay for accurate differentiation of four major viruses causing porcine viral diarrhea</td>
<td>Jia, Shuo; Feng, Baohua; Wang, Zhuo; Ma, Yingying; Gao, Xuwen; Jiang, Yanping; Cui, Wen; Qiao, Xinyuan; Tang, Lijie; Li, Yijing; Wang, Li; Xu, Yigang</td>
<td>2019</td>
<td>2019-10-31</td>
<td>PMC</td>
<td>N</td>
<td><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7127266" target="_blank">PMC7127266</a></td>
<td><a href="https://www.ncbi.nlm.nih.gov/pubmed/31415867.0" target="_blank">31415867.0</a></td>
<td><a href="https://doi.org/10.1016/j.mcp.2019.101435" target="_blank">10.1016/j.mcp.2019.101435</a></td>
<td>iradz5mb</td>
<td>0.300547</td>
<td><a href="Topic_01.html#sdlls3ry">Dinh_2011</a>, <a href="Topic_01.html#ubg3mj4u">Escutenaire_2006</a>, <a href="Topic_05.html#nnx46nwf">Ren_X_2011</a></td>
<td><a href="Topic_01.html#fvdq0yes">Wang_2018</a></td>
</tr>
</tbody>
</table>
</body>
</html>
|
roaminsight/roamresearch
|
docs/CORD19_topics/cord19-2020-04-24-v9/text-ents-en-75-t21-15/Topic_01.html
|
HTML
|
apache-2.0
| 350,852
|
package jp.azuki.business.paging;
/**
* このクラスは、ページ機能を実装するクラスです。
*
* @since 1.0.0
* @version 1.0.0 2013/02/03
* @author Kawakicchi
*/
public class PagePaging implements Paging {
private long size;
private long page;
/**
* コンストラクタ
*
* @param aSize ページサイズ
*/
public PagePaging(final long aSize) {
size = aSize;
page = 0;
}
/**
* コンストラクタ
*
* @param aPage ページ数(0始まり)
* @param aSize ページサイズ
*/
public PagePaging(final long aPage, final long aSize) {
size = aSize;
page = aPage;
}
@Override
public long getSize() {
return size;
}
@Override
public long getPage() {
return page;
}
@Override
public String getSinceId() {
return null;
}
@Override
public String getMaxId() {
return null;
}
@Override
public String getKey() {
return null;
}
}
|
kawakicchi/azuki-framework
|
azuki-base/main/src/jp/azuki/business/paging/PagePaging.java
|
Java
|
apache-2.0
| 920
|
package socketsLogic;
import java.util.Observable;
public class TrafficLogic extends Observable{
private String data;
public TrafficLogic(){
}
public String getData(){
return data;
}
public void setData(String pData){
this.data = pData;
this.setChanged();
this.notifyObservers(this.getData());
}
}
|
luartmg/WMA
|
WMA/src/socketsLogic/TrafficLogic.java
|
Java
|
apache-2.0
| 393
|
// Copyright 2021 The Ebiten 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 agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// gamecontrollerdb.txt is downloaded at https://github.com/gabomdq/SDL_GameControllerDB.
// To update the database file, run:
//
// curl --location --remote-name https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
//go:generate file2byteslice -package gamepaddb -input=./gamecontrollerdb.txt -output=./gamecontrollerdb.txt.go -var=gamecontrollerdbTxt
package gamepaddb
import (
"bufio"
"bytes"
"fmt"
"io"
"runtime"
"strconv"
"strings"
"sync"
)
type platform int
const (
platformUnknown platform = iota
platformWindows
platformMacOS
platformUnix
platformAndroid
platformIOS
)
var currentPlatform platform
func init() {
if runtime.GOOS == "windows" {
currentPlatform = platformWindows
return
}
if runtime.GOOS == "aix" ||
runtime.GOOS == "dragonfly" ||
runtime.GOOS == "freebsd" ||
runtime.GOOS == "hurd" ||
runtime.GOOS == "illumos" ||
runtime.GOOS == "linux" ||
runtime.GOOS == "netbsd" ||
runtime.GOOS == "openbsd" ||
runtime.GOOS == "solaris" {
currentPlatform = platformUnix
return
}
if runtime.GOOS == "android" {
currentPlatform = platformAndroid
return
}
if isIOS {
currentPlatform = platformIOS
return
}
if runtime.GOOS == "darwin" {
currentPlatform = platformMacOS
return
}
}
var additionalGLFWGamepads = []byte(`
78696e70757401000000000000000000,XInput Gamepad (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
78696e70757402000000000000000000,XInput Wheel (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
78696e70757403000000000000000000,XInput Arcade Stick (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
78696e70757404000000000000000000,XInput Flight Stick (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
78696e70757405000000000000000000,XInput Dance Pad (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
78696e70757406000000000000000000,XInput Guitar (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
78696e70757408000000000000000000,XInput Drum Kit (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
`)
func init() {
if _, err := Update(gamecontrollerdbTxt); err != nil {
panic(err)
}
if _, err := Update(additionalGLFWGamepads); err != nil {
panic(err)
}
}
type mappingType int
const (
mappingTypeButton mappingType = iota
mappingTypeAxis
mappingTypeHat
)
const (
HatUp = 1
HatRight = 2
HatDown = 4
HatLeft = 8
)
type mapping struct {
Type mappingType
Index int
AxisScale int
AxisOffset int
HatState int
}
var (
gamepadNames = map[string]string{}
gamepadButtonMappings = map[string]map[StandardButton]*mapping{}
gamepadAxisMappings = map[string]map[StandardAxis]*mapping{}
mappingsM sync.RWMutex
)
func processLine(line string, platform platform) error {
line = strings.TrimSpace(line)
if len(line) == 0 {
return nil
}
if line[0] == '#' {
return nil
}
tokens := strings.Split(line, ",")
id := tokens[0]
for _, token := range tokens[2:] {
if len(token) == 0 {
continue
}
tks := strings.Split(token, ":")
// Note that the platform part is listed in the definition of SDL_GetPlatform.
if tks[0] == "platform" {
switch tks[1] {
case "Windows":
if platform != platformWindows {
return nil
}
case "Mac OS X":
if platform != platformMacOS {
return nil
}
case "Linux":
if platform != platformUnix {
return nil
}
case "Android":
if platform != platformAndroid {
return nil
}
case "iOS":
if platform != platformIOS {
return nil
}
case "":
// Allow any platforms
default:
return fmt.Errorf("gamepaddb: unexpected platform: %s", tks[1])
}
continue
}
gb, err := parseMappingElement(tks[1])
if err != nil {
return err
}
if b, ok := toStandardGamepadButton(tks[0]); ok {
m, ok := gamepadButtonMappings[id]
if !ok {
m = map[StandardButton]*mapping{}
gamepadButtonMappings[id] = m
}
m[b] = gb
continue
}
if a, ok := toStandardGamepadAxis(tks[0]); ok {
m, ok := gamepadAxisMappings[id]
if !ok {
m = map[StandardAxis]*mapping{}
gamepadAxisMappings[id] = m
}
m[a] = gb
continue
}
// The buttons like "misc1" are ignored so far.
// There is no corresponding button in the Web standard gamepad layout.
}
gamepadNames[id] = tokens[1]
return nil
}
func parseMappingElement(str string) (*mapping, error) {
switch {
case str[0] == 'a' || strings.HasPrefix(str, "+a") || strings.HasPrefix(str, "-a"):
var tilda bool
if str[len(str)-1] == '~' {
str = str[:len(str)-1]
tilda = true
}
min := -1
max := 1
numstr := str[1:]
if str[0] == '+' {
numstr = str[2:]
min = 0
} else if str[0] == '-' {
numstr = str[2:]
max = 0
}
scale := 2 / (max - min)
offset := -(max + min)
if tilda {
scale = -scale
offset = -offset
}
index, err := strconv.Atoi(numstr)
if err != nil {
return nil, err
}
return &mapping{
Type: mappingTypeAxis,
Index: index,
AxisScale: scale,
AxisOffset: offset,
}, nil
case str[0] == 'b':
index, err := strconv.Atoi(str[1:])
if err != nil {
return nil, err
}
return &mapping{
Type: mappingTypeButton,
Index: index,
}, nil
case str[0] == 'h':
tokens := strings.Split(str[1:], ".")
if len(tokens) < 2 {
return nil, fmt.Errorf("gamepaddb: unexpected hat: %s", str)
}
index, err := strconv.Atoi(tokens[0])
if err != nil {
return nil, err
}
hat, err := strconv.Atoi(tokens[1])
if err != nil {
return nil, err
}
return &mapping{
Type: mappingTypeHat,
Index: index,
HatState: hat,
}, nil
}
return nil, fmt.Errorf("gamepaddb: unepxected mapping: %s", str)
}
func toStandardGamepadButton(str string) (StandardButton, bool) {
switch str {
case "a":
return StandardButtonRightBottom, true
case "b":
return StandardButtonRightRight, true
case "x":
return StandardButtonRightLeft, true
case "y":
return StandardButtonRightTop, true
case "back":
return StandardButtonCenterLeft, true
case "start":
return StandardButtonCenterRight, true
case "guide":
return StandardButtonCenterCenter, true
case "leftshoulder":
return StandardButtonFrontTopLeft, true
case "rightshoulder":
return StandardButtonFrontTopRight, true
case "leftstick":
return StandardButtonLeftStick, true
case "rightstick":
return StandardButtonRightStick, true
case "dpup":
return StandardButtonLeftTop, true
case "dpright":
return StandardButtonLeftRight, true
case "dpdown":
return StandardButtonLeftBottom, true
case "dpleft":
return StandardButtonLeftLeft, true
case "lefttrigger":
return StandardButtonFrontBottomLeft, true
case "righttrigger":
return StandardButtonFrontBottomRight, true
default:
return 0, false
}
}
func toStandardGamepadAxis(str string) (StandardAxis, bool) {
switch str {
case "leftx":
return StandardAxisLeftStickHorizontal, true
case "lefty":
return StandardAxisLeftStickVertical, true
case "rightx":
return StandardAxisRightStickHorizontal, true
case "righty":
return StandardAxisRightStickVertical, true
default:
return 0, false
}
}
func buttonMappings(id string) map[StandardButton]*mapping {
if m, ok := gamepadButtonMappings[id]; ok {
return m
}
if currentPlatform == platformAndroid {
// If the gamepad is not an HID API, use the default mapping on Android.
if id[14] != 'h' {
if addAndroidDefaultMappings(id) {
return gamepadButtonMappings[id]
}
}
}
return nil
}
func axisMappings(id string) map[StandardAxis]*mapping {
if m, ok := gamepadAxisMappings[id]; ok {
return m
}
if currentPlatform == platformAndroid {
// If the gamepad is not an HID API, use the default mapping on Android.
if id[14] != 'h' {
if addAndroidDefaultMappings(id) {
return gamepadAxisMappings[id]
}
}
}
return nil
}
func HasStandardLayoutMapping(id string) bool {
mappingsM.RLock()
defer mappingsM.RUnlock()
return buttonMappings(id) != nil || axisMappings(id) != nil
}
type GamepadState interface {
Axis(index int) float64
Button(index int) bool
Hat(index int) int
}
func Name(id string) string {
mappingsM.RLock()
defer mappingsM.RUnlock()
return gamepadNames[id]
}
func AxisValue(id string, axis StandardAxis, state GamepadState) float64 {
mappingsM.RLock()
defer mappingsM.RUnlock()
mappings := axisMappings(id)
if mappings == nil {
return 0
}
mapping := mappings[axis]
if mapping == nil {
return 0
}
switch mapping.Type {
case mappingTypeAxis:
v := state.Axis(mapping.Index)*float64(mapping.AxisScale) + float64(mapping.AxisOffset)
if v > 1 {
return 1
} else if v < -1 {
return -1
}
return v
case mappingTypeButton:
if state.Button(mapping.Index) {
return 1
} else {
return -1
}
case mappingTypeHat:
if state.Hat(mapping.Index)&mapping.HatState != 0 {
return 1
} else {
return -1
}
}
return 0
}
func ButtonValue(id string, button StandardButton, state GamepadState) float64 {
mappingsM.RLock()
defer mappingsM.RUnlock()
return buttonValue(id, button, state)
}
func buttonValue(id string, button StandardButton, state GamepadState) float64 {
mappings := buttonMappings(id)
if mappings == nil {
return 0
}
mapping := mappings[button]
if mapping == nil {
return 0
}
switch mapping.Type {
case mappingTypeAxis:
v := state.Axis(mapping.Index)*float64(mapping.AxisScale) + float64(mapping.AxisOffset)
if v > 1 {
v = 1
} else if v < -1 {
v = -1
}
// Adjust [-1, 1] to [0, 1]
return (v + 1) / 2
case mappingTypeButton:
if state.Button(mapping.Index) {
return 1
}
return 0
case mappingTypeHat:
if state.Hat(mapping.Index)&mapping.HatState != 0 {
return 1
}
return 0
}
return 0
}
func IsButtonPressed(id string, button StandardButton, state GamepadState) bool {
// Use XInput's trigger dead zone.
// See https://source.chromium.org/chromium/chromium/src/+/main:device/gamepad/public/cpp/gamepad.h;l=22-23;drc=6997f8a177359bb99598988ed5e900841984d242
const threshold = 30.0 / 255.0
mappingsM.RLock()
defer mappingsM.RUnlock()
mappings, ok := gamepadButtonMappings[id]
if !ok {
return false
}
mapping := mappings[button]
if mapping == nil {
return false
}
switch mapping.Type {
case mappingTypeAxis:
v := buttonValue(id, button, state)
return v > threshold
case mappingTypeButton:
return state.Button(mapping.Index)
case mappingTypeHat:
return state.Hat(mapping.Index)&mapping.HatState != 0
}
return false
}
// Update adds new gamepad mappings.
// The string must be in the format of SDL_GameControllerDB.
func Update(mapping []byte) (bool, error) {
mappingsM.Lock()
defer mappingsM.Unlock()
buf := bytes.NewBuffer(mapping)
r := bufio.NewReader(buf)
for {
line, err := r.ReadString('\n')
if err != nil && err != io.EOF {
return false, err
}
if err := processLine(line, currentPlatform); err != nil {
return false, err
}
if err == io.EOF {
break
}
}
return true, nil
}
func addAndroidDefaultMappings(id string) bool {
// See https://github.com/libsdl-org/SDL/blob/120c76c84bbce4c1bfed4e9eb74e10678bd83120/include/SDL_gamecontroller.h#L655-L680
const (
SDLControllerButtonA = 0
SDLControllerButtonB = 1
SDLControllerButtonX = 2
SDLControllerButtonY = 3
SDLControllerButtonBack = 4
SDLControllerButtonGuide = 5
SDLControllerButtonStart = 6
SDLControllerButtonLeftStick = 7
SDLControllerButtonRightStick = 8
SDLControllerButtonLeftShoulder = 9
SDLControllerButtonRightShoulder = 10
SDLControllerButtonDpadUp = 11
SDLControllerButtonDpadDown = 12
SDLControllerButtonDpadLeft = 13
SDLControllerButtonDpadRight = 14
)
// See https://github.com/libsdl-org/SDL/blob/120c76c84bbce4c1bfed4e9eb74e10678bd83120/include/SDL_gamecontroller.h#L550-L560
const (
SDLControllerAxisLeftX = 0
SDLControllerAxisLeftY = 1
SDLControllerAxisRightX = 2
SDLControllerAxisRightY = 3
SDLControllerAxisTriggerLeft = 4
SDLControllerAxisTriggerRight = 5
)
// See https://github.com/libsdl-org/SDL/blob/120c76c84bbce4c1bfed4e9eb74e10678bd83120/src/joystick/SDL_gamecontroller.c#L468-L568
const faceButtonMask = ((1 << SDLControllerButtonA) |
(1 << SDLControllerButtonB) |
(1 << SDLControllerButtonX) |
(1 << SDLControllerButtonY))
buttonMask := uint16(id[12]) | (uint16(id[13]) << 8)
axisMask := uint16(id[14]) | (uint16(id[15]) << 8)
if buttonMask == 0 && axisMask == 0 {
return false
}
if buttonMask&faceButtonMask == 0 {
return false
}
gamepadButtonMappings[id] = map[StandardButton]*mapping{}
if buttonMask&(1<<SDLControllerButtonA) != 0 {
gamepadButtonMappings[id][StandardButtonRightBottom] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonA,
}
}
if buttonMask&(1<<SDLControllerButtonB) != 0 {
gamepadButtonMappings[id][StandardButtonRightRight] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonB,
}
} else {
// Use the back button as "B" for easy UI navigation with TV remotes.
gamepadButtonMappings[id][StandardButtonRightRight] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonBack,
}
buttonMask &^= uint16(1) << SDLControllerButtonBack
}
if buttonMask&(1<<SDLControllerButtonX) != 0 {
gamepadButtonMappings[id][StandardButtonRightLeft] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonX,
}
}
if buttonMask&(1<<SDLControllerButtonY) != 0 {
gamepadButtonMappings[id][StandardButtonRightTop] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonY,
}
}
if buttonMask&(1<<SDLControllerButtonBack) != 0 {
gamepadButtonMappings[id][StandardButtonCenterLeft] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonBack,
}
}
if buttonMask&(1<<SDLControllerButtonGuide) != 0 {
// TODO: If SDKVersion >= 30, add this code:
//
// gamepadButtonMappings[id][StandardButtonCenterCenter] = &mapping{
// Type: mappingTypeButton,
// Index: SDLControllerButtonGuide,
// }
}
if buttonMask&(1<<SDLControllerButtonStart) != 0 {
gamepadButtonMappings[id][StandardButtonCenterRight] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonStart,
}
}
if buttonMask&(1<<SDLControllerButtonLeftStick) != 0 {
gamepadButtonMappings[id][StandardButtonLeftStick] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonLeftStick,
}
}
if buttonMask&(1<<SDLControllerButtonRightStick) != 0 {
gamepadButtonMappings[id][StandardButtonRightStick] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonRightStick,
}
}
if buttonMask&(1<<SDLControllerButtonLeftShoulder) != 0 {
gamepadButtonMappings[id][StandardButtonFrontTopLeft] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonLeftShoulder,
}
}
if buttonMask&(1<<SDLControllerButtonRightShoulder) != 0 {
gamepadButtonMappings[id][StandardButtonFrontTopRight] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonRightShoulder,
}
}
if buttonMask&(1<<SDLControllerButtonDpadUp) != 0 {
gamepadButtonMappings[id][StandardButtonLeftTop] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonDpadUp,
}
}
if buttonMask&(1<<SDLControllerButtonDpadDown) != 0 {
gamepadButtonMappings[id][StandardButtonLeftBottom] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonDpadDown,
}
}
if buttonMask&(1<<SDLControllerButtonDpadLeft) != 0 {
gamepadButtonMappings[id][StandardButtonLeftLeft] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonDpadLeft,
}
}
if buttonMask&(1<<SDLControllerButtonDpadRight) != 0 {
gamepadButtonMappings[id][StandardButtonLeftRight] = &mapping{
Type: mappingTypeButton,
Index: SDLControllerButtonDpadRight,
}
}
if axisMask&(1<<SDLControllerAxisLeftX) != 0 {
gamepadAxisMappings[id][StandardAxisLeftStickHorizontal] = &mapping{
Type: mappingTypeAxis,
Index: SDLControllerAxisLeftX,
AxisScale: 1,
AxisOffset: 0,
}
}
if axisMask&(1<<SDLControllerAxisLeftY) != 0 {
gamepadAxisMappings[id][StandardAxisLeftStickVertical] = &mapping{
Type: mappingTypeAxis,
Index: SDLControllerAxisLeftY,
AxisScale: 1,
AxisOffset: 0,
}
}
if axisMask&(1<<SDLControllerAxisRightX) != 0 {
gamepadAxisMappings[id][StandardAxisRightStickHorizontal] = &mapping{
Type: mappingTypeAxis,
Index: SDLControllerAxisRightX,
AxisScale: 1,
AxisOffset: 0,
}
}
if axisMask&(1<<SDLControllerAxisRightY) != 0 {
gamepadAxisMappings[id][StandardAxisRightStickVertical] = &mapping{
Type: mappingTypeAxis,
Index: SDLControllerAxisRightY,
AxisScale: 1,
AxisOffset: 0,
}
}
if axisMask&(1<<SDLControllerAxisTriggerLeft) != 0 {
gamepadButtonMappings[id][StandardButtonFrontBottomLeft] = &mapping{
Type: mappingTypeAxis,
Index: SDLControllerAxisTriggerLeft,
AxisScale: 1,
AxisOffset: 0,
}
}
if axisMask&(1<<SDLControllerAxisTriggerRight) != 0 {
gamepadButtonMappings[id][StandardButtonFrontBottomRight] = &mapping{
Type: mappingTypeAxis,
Index: SDLControllerAxisTriggerRight,
AxisScale: 1,
AxisOffset: 0,
}
}
return true
}
|
hajimehoshi/ebiten
|
internal/gamepaddb/gamepaddb.go
|
GO
|
apache-2.0
| 19,312
|
# -*- test-case-name: txdav.who.test.test_augment -*-
##
# Copyright (c) 2013-2017 Apple Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##
"""
Augmenting Directory Service
"""
__all__ = [
"AugmentedDirectoryService",
]
import time
from zope.interface import implementer
from twisted.internet.defer import inlineCallbacks, returnValue, succeed
from twistedcaldav.directory.augment import AugmentRecord
from twext.python.log import Logger
from twext.who.directory import DirectoryRecord
from twext.who.directory import DirectoryService as BaseDirectoryService
from twext.who.idirectory import (
IDirectoryService, RecordType, FieldName as BaseFieldName, NotAllowedError
)
from twext.who.util import ConstantsContainer
from txdav.common.idirectoryservice import IStoreDirectoryService
from txdav.who.directory import (
CalendarDirectoryRecordMixin, CalendarDirectoryServiceMixin,
)
from txdav.who.idirectory import (
AutoScheduleMode, FieldName, RecordType as CalRecordType
)
log = Logger()
def timed(f):
"""
A decorator which keeps track of the wrapped function's call count and
total duration
"""
def recordTiming(result, key, startTime):
"""
Figures out how much time to add to the total time spent within the
method identified by key and stores that in the timings dict.
@param result: the result of the wrapped method
@param timings: the dictionary to store timings in
@type timings: C{dict}
@param key: the method name
@type key: C{str}
@param startTime: the start time of the call in seconds
@type startTime: C{float}
"""
AugmentedDirectoryService._addTiming(key, time.time() - startTime)
return result
def timingWrapper(self, *args, **kwds):
"""
Records the start time of the call and the method's name
"""
startTime = time.time()
d = f(self, *args, **kwds)
d.addBoth(recordTiming, f.func_name, startTime)
return d
return timingWrapper
@implementer(IDirectoryService, IStoreDirectoryService)
class AugmentedDirectoryService(
BaseDirectoryService, CalendarDirectoryServiceMixin
):
"""
Augmented directory service.
This is a directory service that wraps an L{IDirectoryService} and augments
directory records with additional or modified fields.
"""
fieldName = ConstantsContainer((
BaseFieldName,
FieldName,
))
_timings = {}
def __init__(self, directory, store, augmentDB):
BaseDirectoryService.__init__(self, directory.realmName)
self._directory = directory
self._store = store
self._augmentDB = augmentDB
# An LDAP DS has extra info to expose via the dashboard
# This is assigned in buildDirectory()
self._ldapDS = None
@classmethod
def _addTiming(cls, key, duration):
if key not in cls._timings:
cls._timings[key] = (0, 0.0)
count, timeSpent = cls._timings[key]
count += 1
timeSpent += duration
cls._timings[key] = (count, timeSpent)
def flush(self):
return self._directory.flush()
def stats(self):
results = {}
results.update(self._timings)
# An LDAP DS has extra info to expose via the dashboard
if self._ldapDS is not None:
results.update(self._ldapDS.poolStats)
return succeed(results)
@property
def recordType(self):
# Defer to the directory service we're augmenting
return self._directory.recordType
def recordTypes(self):
# Defer to the directory service we're augmenting
return self._directory.recordTypes()
@inlineCallbacks
def recordsFromExpression(
self, expression, recordTypes=None,
limitResults=None, timeoutSeconds=None
):
records = yield self._directory.recordsFromExpression(
expression, recordTypes=recordTypes,
limitResults=limitResults, timeoutSeconds=timeoutSeconds
)
augmented = []
for record in records:
record = yield self._augment(record)
augmented.append(record)
returnValue(augmented)
@inlineCallbacks
def recordsWithFieldValue(
self, fieldName, value, limitResults=None, timeoutSeconds=None
):
records = yield self._directory.recordsWithFieldValue(
fieldName, value,
limitResults=limitResults, timeoutSeconds=timeoutSeconds
)
augmented = []
for record in records:
record = yield self._augment(record)
augmented.append(record)
returnValue(augmented)
@timed
@inlineCallbacks
def recordWithUID(self, uid, timeoutSeconds=None):
# MOVE2WHO, REMOVE THIS:
if not isinstance(uid, unicode):
# log.warn("Need to change uid to unicode")
uid = uid.decode("utf-8")
record = yield self._directory.recordWithUID(
uid, timeoutSeconds=timeoutSeconds
)
record = yield self._augment(record)
returnValue(record)
@timed
@inlineCallbacks
def recordWithGUID(self, guid, timeoutSeconds=None):
record = yield self._directory.recordWithGUID(
guid, timeoutSeconds=timeoutSeconds
)
record = yield self._augment(record)
returnValue(record)
@timed
@inlineCallbacks
def recordsWithRecordType(
self, recordType, limitResults=None, timeoutSeconds=None
):
records = yield self._directory.recordsWithRecordType(
recordType, limitResults=limitResults, timeoutSeconds=timeoutSeconds
)
augmented = []
for record in records:
record = yield self._augment(record)
augmented.append(record)
returnValue(augmented)
@timed
@inlineCallbacks
def recordWithShortName(self, recordType, shortName, timeoutSeconds=None):
# MOVE2WHO, REMOVE THIS:
if not isinstance(shortName, unicode):
# log.warn("Need to change shortName to unicode")
shortName = shortName.decode("utf-8")
record = yield self._directory.recordWithShortName(
recordType, shortName, timeoutSeconds=timeoutSeconds
)
record = yield self._augment(record)
returnValue(record)
@timed
@inlineCallbacks
def recordsWithEmailAddress(
self, emailAddress, limitResults=None, timeoutSeconds=None
):
# MOVE2WHO, REMOVE THIS:
if not isinstance(emailAddress, unicode):
# log.warn("Need to change emailAddress to unicode")
emailAddress = emailAddress.decode("utf-8")
records = yield self._directory.recordsWithEmailAddress(
emailAddress,
limitResults=limitResults, timeoutSeconds=timeoutSeconds
)
augmented = []
for record in records:
record = yield self._augment(record)
augmented.append(record)
returnValue(augmented)
@timed
def recordWithCalendarUserAddress(self, *args, **kwds):
return CalendarDirectoryServiceMixin.recordWithCalendarUserAddress(
self, *args, **kwds
)
@timed
def recordsMatchingTokens(self, *args, **kwds):
return CalendarDirectoryServiceMixin.recordsMatchingTokens(
self, *args, **kwds
)
@timed
def recordsMatchingFields(self, *args, **kwds):
return CalendarDirectoryServiceMixin.recordsMatchingFields(
self, *args, **kwds
)
@timed
@inlineCallbacks
def updateRecords(self, records, create=False):
"""
Pull out the augmented fields from each record, apply those to the
augments database, then update the base records.
"""
baseRecords = []
augmentRecords = []
for record in records:
# Split out the base fields from the augment fields
baseFields, augmentFields = self._splitFields(record)
# Ignore groups for now
if augmentFields and record.recordType != RecordType.group:
# Create an AugmentRecord
autoScheduleMode = {
AutoScheduleMode.none: "none",
AutoScheduleMode.accept: "accept-always",
AutoScheduleMode.decline: "decline-always",
AutoScheduleMode.acceptIfFree: "accept-if-free",
AutoScheduleMode.declineIfBusy: "decline-if-busy",
AutoScheduleMode.acceptIfFreeDeclineIfBusy: "automatic",
}.get(augmentFields.get(FieldName.autoScheduleMode, None), None)
kwargs = {
"uid": record.uid,
"autoScheduleMode": autoScheduleMode,
}
if FieldName.hasCalendars in augmentFields:
kwargs["enabledForCalendaring"] = augmentFields[FieldName.hasCalendars]
if FieldName.hasContacts in augmentFields:
kwargs["enabledForAddressBooks"] = augmentFields[FieldName.hasContacts]
if FieldName.loginAllowed in augmentFields:
kwargs["enabledForLogin"] = augmentFields[FieldName.loginAllowed]
if FieldName.autoAcceptGroup in augmentFields:
kwargs["autoAcceptGroup"] = augmentFields[FieldName.autoAcceptGroup]
if FieldName.serviceNodeUID in augmentFields:
kwargs["serverID"] = augmentFields[FieldName.serviceNodeUID]
augmentRecord = AugmentRecord(**kwargs)
augmentRecords.append(augmentRecord)
# Create new base records:
baseRecords.append(DirectoryRecord(self._directory, record._baseRecord.fields if hasattr(record, "_baseRecord") else baseFields))
# Apply the augment records
if augmentRecords:
yield self._augmentDB.addAugmentRecords(augmentRecords)
# Apply the base records
if baseRecords:
try:
yield self._directory.updateRecords(baseRecords, create=create)
except NotAllowedError:
pass
def _splitFields(self, record):
"""
Returns a tuple of two dictionaries; the first contains all the non
augment fields, and the second contains all the augment fields.
"""
if record is None:
return None
augmentFields = {}
baseFields = record.fields.copy()
for field in (
FieldName.loginAllowed,
FieldName.hasCalendars, FieldName.hasContacts,
FieldName.autoScheduleMode, FieldName.autoAcceptGroup,
FieldName.serviceNodeUID
):
if field in baseFields:
augmentFields[field] = baseFields[field]
del baseFields[field]
return (baseFields, augmentFields)
@inlineCallbacks
def removeRecords(self, uids):
yield self._augmentDB.removeAugmentRecords(uids)
yield self._directory.removeRecords(uids)
def _assignToField(self, fields, name, value):
"""
Assign a value to a field only if not already present in fields.
"""
field = self.fieldName.lookupByName(name)
if field not in fields:
fields[field] = value
@inlineCallbacks
def _augment(self, record):
if record is None:
returnValue(None)
augmentRecord = yield self._augmentDB.getAugmentRecord(
record.uid,
self.recordTypeToOldName(record.recordType)
)
if augmentRecord is None:
# Augments does not know about this record type, so return
# the original record
returnValue(record)
fields = record.fields.copy()
if augmentRecord:
if record.recordType == RecordType.group:
self._assignToField(fields, "hasCalendars", False)
self._assignToField(fields, "hasContacts", False)
else:
self._assignToField(
fields, "hasCalendars",
augmentRecord.enabledForCalendaring
)
self._assignToField(
fields, "hasContacts",
augmentRecord.enabledForAddressBooks
)
# In the case of XML augments, a missing auto-schedule-mode
# element has the same meaning an element with a value of "default"
# in which case augmentRecord.autoScheduleMode = "default". On
# the record we're augmenting, "default" mode means autoScheduleMode
# gets set to None (distinct from AutoScheduleMode.none!),
# which gets swapped for config.Scheduling.Options.AutoSchedule.DefaultMode
# in checkAttendeeAutoReply().
# ...Except for locations/resources which will default to automatic
autoScheduleMode = {
"none": AutoScheduleMode.none,
"accept-always": AutoScheduleMode.accept,
"decline-always": AutoScheduleMode.decline,
"accept-if-free": AutoScheduleMode.acceptIfFree,
"decline-if-busy": AutoScheduleMode.declineIfBusy,
"automatic": AutoScheduleMode.acceptIfFreeDeclineIfBusy,
}.get(augmentRecord.autoScheduleMode, None)
# Resources/Locations default to automatic
if record.recordType in (
CalRecordType.location,
CalRecordType.resource
):
if autoScheduleMode is None:
autoScheduleMode = AutoScheduleMode.acceptIfFreeDeclineIfBusy
self._assignToField(
fields, "autoScheduleMode",
autoScheduleMode
)
if augmentRecord.autoAcceptGroup is not None:
self._assignToField(
fields, "autoAcceptGroup",
augmentRecord.autoAcceptGroup.decode("utf-8")
)
self._assignToField(
fields, "loginAllowed",
augmentRecord.enabledForLogin
)
self._assignToField(
fields, "serviceNodeUID",
augmentRecord.serverID.decode("utf-8")
)
else:
self._assignToField(fields, "hasCalendars", False)
self._assignToField(fields, "hasContacts", False)
self._assignToField(fields, "loginAllowed", False)
# print("Augmented fields", fields)
# Clone to a new record with the augmented fields
augmentedRecord = AugmentedDirectoryRecord(self, record, fields)
returnValue(augmentedRecord)
@inlineCallbacks
def setAutoScheduleMode(self, record, autoScheduleMode):
augmentRecord = yield self._augmentDB.getAugmentRecord(
record.uid,
self.recordTypeToOldName(record.recordType)
)
if augmentRecord is not None:
autoScheduleMode = {
AutoScheduleMode.none: "none",
AutoScheduleMode.accept: "accept-always",
AutoScheduleMode.decline: "decline-always",
AutoScheduleMode.acceptIfFree: "accept-if-free",
AutoScheduleMode.declineIfBusy: "decline-if-busy",
AutoScheduleMode.acceptIfFreeDeclineIfBusy: "automatic",
}.get(autoScheduleMode)
augmentRecord.autoScheduleMode = autoScheduleMode
yield self._augmentDB.addAugmentRecords([augmentRecord])
class AugmentedDirectoryRecord(DirectoryRecord, CalendarDirectoryRecordMixin):
"""
Augmented directory record.
"""
def __init__(self, service, baseRecord, augmentedFields):
DirectoryRecord.__init__(self, service, augmentedFields)
CalendarDirectoryRecordMixin.__init__(self)
self._baseRecord = baseRecord
@timed
@inlineCallbacks
def members(self):
augmented = []
records = yield self._baseRecord.members()
for record in records:
augmented.append((yield self.service._augment(record)))
returnValue(augmented)
def addMembers(self, memberRecords):
return self._baseRecord.addMembers(memberRecords)
def removeMembers(self, memberRecords):
return self._baseRecord.removeMembers(memberRecords)
def setMembers(self, memberRecords):
return self._baseRecord.setMembers(memberRecords)
@timed
@inlineCallbacks
def groups(self):
augmented = []
def _groupUIDsFor(txn):
return txn.groupUIDsFor(self.uid)
groupUIDs = yield self.service._store.inTransaction(
"AugmentedDirectoryRecord.groups",
_groupUIDsFor
)
for groupUID in groupUIDs:
groupRecord = yield self.service.recordWithUID(
groupUID
)
if groupRecord:
augmented.append((yield self.service._augment(groupRecord)))
returnValue(augmented)
@timed
def verifyPlaintextPassword(self, password):
return self._baseRecord.verifyPlaintextPassword(password)
@timed
def verifyHTTPDigest(self, *args):
return self._baseRecord.verifyHTTPDigest(*args)
@timed
def accessForRecord(self, record):
return self._baseRecord.accessForRecord(record)
|
macosforge/ccs-calendarserver
|
txdav/who/augment.py
|
Python
|
apache-2.0
| 18,083
|
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.fsx.model.transform;
import java.util.List;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.fsx.model.*;
import com.amazonaws.util.IdempotentUtils;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* AssociateFileSystemAliasesRequestMarshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
@SdkInternalApi
public class AssociateFileSystemAliasesRequestMarshaller {
private static final MarshallingInfo<String> CLIENTREQUESTTOKEN_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("ClientRequestToken")
.defaultValueSupplier(com.amazonaws.util.IdempotentUtils.getGenerator()).build();
private static final MarshallingInfo<String> FILESYSTEMID_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("FileSystemId").build();
private static final MarshallingInfo<List> ALIASES_BINDING = MarshallingInfo.builder(MarshallingType.LIST).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Aliases").build();
private static final AssociateFileSystemAliasesRequestMarshaller instance = new AssociateFileSystemAliasesRequestMarshaller();
public static AssociateFileSystemAliasesRequestMarshaller getInstance() {
return instance;
}
/**
* Marshall the given parameter object.
*/
public void marshall(AssociateFileSystemAliasesRequest associateFileSystemAliasesRequest, ProtocolMarshaller protocolMarshaller) {
if (associateFileSystemAliasesRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(associateFileSystemAliasesRequest.getClientRequestToken(), CLIENTREQUESTTOKEN_BINDING);
protocolMarshaller.marshall(associateFileSystemAliasesRequest.getFileSystemId(), FILESYSTEMID_BINDING);
protocolMarshaller.marshall(associateFileSystemAliasesRequest.getAliases(), ALIASES_BINDING);
} catch (Exception e) {
throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
}
}
}
|
aws/aws-sdk-java
|
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/transform/AssociateFileSystemAliasesRequestMarshaller.java
|
Java
|
apache-2.0
| 2,950
|
<?php
// 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 writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
error_reporting(E_ALL | E_STRICT);
?>
<?php
require_once('config.php');
require_once('db.php');
if (!defined('MAIN')) die;
function login($user, $password) {
$u = get_user($user);
if (!$u or sha1($password) !== $u['password']) {
error('Wrong login.');
}
$_SESSION['user'] = $u;
return true;
}
if (isset($_SESSION['u'])) {
header('Location: /bbs');
exit;
}
if (isset($_POST['submit'])) {
if (login((string)$_POST['username'], (string)$_POST['password'])) {
header('Location: /');
exit;
}
}
?>
<form class="form-signin" method="POST">
<h2 class="form-signin-heading">Please sign in</h2>
<input type="text" name="username" class="input-block-level" placeholder="Username">
<input type="password" name="password" class="input-block-level" placeholder="Password">
<button class="btn btn-large btn-primary" name="submit" type="submit">Sign in</button>
</form>
|
google/google-ctf
|
2018/quals/web-bbs/app/login.php
|
PHP
|
apache-2.0
| 1,646
|
//
// WebApiClient-Core.h
// WebApiClient
//
// Created by Matt on 21/07/15.
// Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.
//
#import <WebApiClient/DataWebApiResource.h>
#import <WebApiClient/FileWebApiResource.h>
#import <WebApiClient/NSDictionary+WebApiClient.h>
#import <WebApiClient/RoutingWebApiClient.h>
#import <WebApiClient/WebApiAuthorizationProvider.h>
#import <WebApiClient/WebApiClient.h>
#import <WebApiClient/WebApiClientDigestUtils.h>
#import <WebApiClient/WebApiClientEnvironment.h>
#import <WebApiClient/WebApiClientSupport.h>
#import <WebApiClient/WebApiDataMapper.h>
#import <WebApiClient/WebApiResource.h>
#import <WebApiClient/WebApiResponse.h>
#import <WebApiClient/WebApiRoute.h>
|
Blue-Rocket/WebApiClient
|
WebApiClient/Code/WebApiClient-Core.h
|
C
|
apache-2.0
| 763
|
# mecab-ko-lucene-analyzer
## 소개
[mecab-ko-lucene-analyzer](https://bitbucket.org/eunjeon/mecab-ko-lucene-analyzer)는 [mecab-ko](https://bitbucket.org/eunjeon/mecab-ko), [mecab-ko-dic](https://bitbucket.org/eunjeon/mecab-ko-dic)을 사용한 lucene/solr용 한국어 형태소 분석기입니다.
다음과 같은 기능들을 제공합니다.
- 명사추출
- 복합명사 분해
- 원어절 추출
[ElasticSearch](http://www.elasticsearch.org/)용 형태소 분석기의 사용 설명서는 [mecab-ko analysis for ElasticSearch](https://bitbucket.org/eunjeon/mecab-ko-lucene-analyzer/raw/master/elasticsearch-analysis-mecab-ko/)에서 보실 수 있습니다.
## 특징
- '무궁화꽃이피었습니다.'와 같이 띄어 쓰기가 잘못된 오류를 교정하여 형태소 분석이 가능합니다.
- StandardTokenizer의 경우, 명사뿐 아니라 품사가 결합된 어절도 Token으로 뽑아냅니다.
철수가 학교에 간다. -> 철수가, 철수, 학교에, 학교, 간다
- 문장의 끝에 문장의 끝을 알리는 기호 "`.!?`"가 있으면 더 자연스럽게 형태소 분석이 됩니다.
- 분석된 token의 형태소를 구체적으로 볼 수 있습니다.
박보영이(NNP+JKS), 박보영(NNP), 서울에(NNP+JKB), 서울(NNP), 갔다(VV+EP+EF), 가/VV(VV)
- Apache Lucene/Solr 6.3.0 버전 기준으로 작성되었습니다. (Apache Lucene/Solr 6.3.0에서 사용 가능)
## 설치
### mecab-ko(형태소 분석기 엔진)과 mecab-ko-dic(사전 파일) 설치
mecab-ko와 mecab-ko-dic의 설치는 [mecab-ko-dic 설명](https://bitbucket.org/eunjeon/mecab-ko-dic)을 참조하시기 바랍니다.
### MeCab.jar와 libMeCab.so 설치
설치 문서는 [Solr Quick Start](http://lucene.apache.org/solr/quickstart.html) 문서 기준으로 작성되었습니다.
[mecab-java-0.996.tar.gz](https://bitbucket.org/eunjeon/mecab-java/downloads/mecab-java-0.996.tar.gz) 를 다운받아 설치합니다.
$ tar zxvf mecab-java-0.996.tar.gz
$ cd mecab-java-0.996
$ vi Makefile
# java path 설정. ; INCLUDE=/usr/lib/jvm/java-7-oracle/include
# OpenJDK 사용시 "-O1" 로 변경. ; $(CXX) -O1 -c -fpic $(TARGET)_wrap.cxx $(INC)
# "-cp ." 추가. ; $(JAVAC) -cp . test.java
$ make
$ cp MeCab.jar [solr 디렉터리]/server/lib/ext # JNI 클래스는 System classpath에 위치해야 합니다. Jetty는 기본값으로 $jetty.home/lib/ext에 추가적인 jar를 넣을 수 있습니다.
$ sudo cp libMeCab.so /usr/local/lib
__주의 사항__
- mecab-ko의 버전에 맞는 mecab-java-0.996.tar.gz를 선택해야 합니다. mecab-0.996-ko.0.9.0 버전에서는 mecab-java-0.996을 사용해야 합니다.
- Makefile에서 INCLUDE 값을 자신의 환경에 맞게 변경해야 합니다.
- OpenJDK를 사용하시는 경우, 최적화 옵션을 -O나 -O1로 고쳐야 합니다. [mecab-ko-lucene-analyzer OpenJDK에서 사용하기](http://eunjeon.blogspot.kr/2013/04/mecab-ko-lucene-analyzer-openjdk.html) 참조
### mecab-ko-lucene-analyzer 다운로드 및 설치
[mecab-ko-lucene-analyzer 다운로드 페이지](https://bitbucket.org/eunjeon/mecab-ko-lucene-analyzer/downloads)에서 `mecab-ko-lucene-analyzer-XX.tar.gz`의 최신 버전을 다운 받아 압축을 풀면 두개의 jar파일이 있습니다.
- mecab-ko-mecab-loader-XX.jar: System classpath에 복사합니다. (ex: `[solr 디렉터리]/server/lib/ext`)
- mecab-ko-lucene-analyzer-XX.jar: Solr contrib 디렉터리에 디렉터리를 생성후 복사합니다. (ex: `[solr 디렉터리]/contrib/eunjeon/lib`)
#### mecab-ko-lucene-analyzer 버전별 mecab-ko-dic, Lucene/Solr, elasticsearch 지원 버전
| mecab-ko-lucene-analyzer | mecab-ko-dic | Lucene/Solr | elasticsearch |
| ------------------------ | ---------------------------- | --------------------------- | --------------------------- |
| **0.21.0 or higher** | mecab-ko-dic-2.0.0 or higher | Lucene/Solr 6.3.0 or higher | [mecab-ko analysis for ElasticSearch](https://bitbucket.org/eunjeon/mecab-ko-lucene-analyzer/raw/master/elasticsearch-analysis-mecab-ko/) 참조 |
| **0.18.x - 0.20.x** | mecab-ko-dic-2.0.0 or higher | Lucene/Solr 5.3.x | [mecab-ko analysis for ElasticSearch](https://bitbucket.org/eunjeon/mecab-ko-lucene-analyzer/raw/master/elasticsearch-analysis-mecab-ko/) 참조 |
| **0.17.x** | mecab-ko-dic-2.0.0 or higher | Lucene/Solr 4.9.x - 4.10.x | 1.3.x or higher |
| **0.16.x** | mecab-ko-dic-1.6.0 - 1.6.1 | Lucene/Solr 4.9.x - 4.10.x | 1.3.x or higher |
| **0.15.x** | mecab-ko-dic-1.6.0 - 1.6.1 | Lucene/Solr 4.3.x - 4.8.x | 0.90.x - 1.2.x |
| **0.14.x** | mecab-ko-dic-1.5.0 - 1.6.1 | Lucene/Solr 4.3.x - 4.8.x | 0.90.x - 1.2.x |
| **0.13.x** | mecab-ko-dic-1.4.0 | Lucene/Solr 4.3.x - 4.8.x | 0.90.x - 1.2.x |
| **0.12.x** | mecab-ko-dic-1.4.0 | Lucene/Solr 4.3.x | |
| **0.11.x** | mecab-ko-dic-1.3.0 - 1.4.0 | Lucene/Solr 4.3.x | |
| **0.10.x** | mecab-ko-dic-1.3.0 - 1.4.0 | Lucene/Solr 4.1.x - 4.2.x | |
| **0.9.x** | mecab-ko-dic-1.1.0 - 1.4.0 | Lucene/Solr 4.1.x - 4.2.x | |
## 사용법
### solr 설정
#### solrconfig.xml 설정
`server/solr/configsets/data_driven_schema_configs/conf/solrconfig.xml`에 `mecab-ko-lucene-analyzer-XX.jar`가 있는 경로를 설정합니다.
<lib dir="${solr.install.dir:../../../..}/contrib/eunjeon/lib" regex=".*\.jar" />
#### managed-schema 설정
`server/solr/configsets/data_driven_schema_configs/conf/managed-schema` 에 `fieldType` 을 설정합니다.
##### Tokenizer 옵션 속성
| 세팅 | 설명 |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| **mecabArgs** | mecab 실행옵션. 디폴트 값은 '-d /usr/local/lib/mecab/dic/mecab-ko-dic'<br />다른 옵션은 http://taku910.github.io/mecab/mecab.html 참조 |
| **compoundNounMinLength** | 분해를 해야하는 복합명사의 최소 길이. 기본 값은 3 |
| **useAdjectiveAndVerbOriginForm** | 동사와 형용사 원형을 사용하여 검색할지 여부. 디폴트 값은 true |
##### managed-schema 설정 예
###### query에서는 복합명사 분해를 하지 않는 경우
<!-- Korean -->
<dynamicField name="*_txt_ko" type="text_ko" indexed="true" stored="true"/>
<fieldType name="text_ko" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="org.bitbucket.eunjeon.mecab_ko_lucene_analyzer.StandardTokenizerFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="org.bitbucket.eunjeon.mecab_ko_lucene_analyzer.StandardTokenizerFactory" compoundNounMinLength="100"/>
</analyzer>
</fieldType>
###### index, query 모두 복합명사 분해를 하는 경우
<!-- StandardTokenizerFactory는 compoundNounMinLength를 속성으로 받을 수 있습니다.
분해를 하는 복합명사의 최소 길이를 뜻하며 기본 값은 3입니다. 이 경우, 길이가 3미만인 복합명사는 분해하지 않습니다.
-->
<!-- Korean -->
<dynamicField name="*_txt_ko" type="text_ko" indexed="true" stored="true"/>
<fieldType name="text_ko" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="org.bitbucket.eunjeon.mecab_ko_lucene_analyzer.StandardTokenizerFactory" compoundNounMinLength="3"/>
</analyzer>
</fieldType>
mecab-ko-dic을 디폴트 경로\(`/usr/local/lib/mecab/dic/mecab-ko-dic`\)에 설치하지 않은 경우에는 `mecabArgs` 속성을 사용하여 사전 경로를 지정해야 합니다.
mecab 다른 옵션은 다음의 URL을 참조하십시오. http://taku910.github.io/mecab/mecab.html
<!-- Korean -->
<dynamicField name="*_txt_ko" type="text_ko" indexed="true" stored="true"/>
<fieldType name="text_ko" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="org.bitbucket.eunjeon.mecab_ko_lucene_analyzer.StandardTokenizerFactory" compoundNounMinLength="3" mecabArgs="-d /my/mecab-ko-dic/directory"/>
</analyzer>
</fieldType>
### solr 실행
`libMeCab.so` 파일이 있는 라이브러리 경로를 지정해 주면서 solr를 실행합니다.
$ ./bin/solr start -e cloud -noprompt -Djava.library.path=/usr/local/lib
### 분석 결과

## 라이센스
Copyright 2013 Yongwoon Lee, Yungho Yu.
`mecab-ko-lucene-analyzer`는 아파치 라이센스 2.0에 따라 소프트웨어를 사용, 재배포 할 수 있습니다. 더 자세한 사항은 [Apache License Version 2.0](https://bitbucket.org/eunjeon/mecab-ko-lucene-analyzer/raw/master/LICENSE)을 참조하시기 바랍니다.
|
jaepil/mecab-ko-lucene-analyzer
|
README.md
|
Markdown
|
apache-2.0
| 9,556
|
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CodeRefactorings.IntroduceVariable;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Editor.UnitTests;
using Microsoft.CodeAnalysis.Options;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.CodeRefactorings.IntroduceVariable
{
public class IntroduceVariableTests : AbstractCSharpCodeActionTest
{
protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)
=> new IntroduceVariableCodeRefactoringProvider();
private readonly CodeStyleOption<bool> onWithInfo = new CodeStyleOption<bool>(true, NotificationOption.Suggestion);
// specify all options explicitly to override defaults.
private IDictionary<OptionKey, object> ImplicitTypingEverywhere() =>
OptionsSet(
SingleOption(CSharpCodeStyleOptions.UseImplicitTypeWherePossible, onWithInfo),
SingleOption(CSharpCodeStyleOptions.UseImplicitTypeWhereApparent, onWithInfo),
SingleOption(CSharpCodeStyleOptions.UseImplicitTypeForIntrinsicTypes, onWithInfo));
internal IDictionary<OptionKey, object> OptionSet(OptionKey option, object value)
{
var options = new Dictionary<OptionKey, object>();
options.Add(option, value);
return options;
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMethodFix1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void Foo()
{
Bar([|1 + 1|]);
Bar(1 + 1);
}
}",
@"class C
{
void Foo()
{
const int {|Rename:V|} = 1 + 1;
Bar(V);
Bar(1 + 1);
}
}",
index: 2);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMethodFix2()
{
await TestInRegularAndScriptAsync(
@"class C
{
void Foo()
{
Bar([|1 + 1|]);
Bar(1 + 1);
}
}",
@"class C
{
void Foo()
{
const int {|Rename:V|} = 1 + 1;
Bar(V);
Bar(V);
}
}",
index: 3);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMethodFix3()
{
var code =
@"class C
{
void Foo()
{
Bar(([|1 + 1|]));
Bar((1 + 1));
}
}";
var expected =
@"class C
{
void Foo()
{
const int {|Rename:V|} = 1 + 1;
Bar(V);
Bar((1 + 1));
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMethodFix4()
{
var code =
@"class C
{
void Foo()
{
Bar(([|1 + 1|]));
Bar((1 + 1));
}
}";
var expected =
@"class C
{
void Foo()
{
const int {|Rename:V|} = 1 + 1;
Bar(V);
Bar(V);
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 3, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestFieldFix1()
{
var code =
@"class C
{
int i = ([|1 + 1|]) + (1 + 1);
}";
var expected =
@"class C
{
private const int {|Rename:V|} = 1 + 1;
int i = V + (1 + 1);
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestFieldFix2()
{
var code =
@"class C
{
int i = ([|1 + 1|]) + (1 + 1);
}";
var expected =
@"class C
{
private const int {|Rename:V|} = 1 + 1;
int i = V + V;
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestConstFieldFix1()
{
var code =
@"class C
{
const int i = ([|1 + 1|]) + (1 + 1);
}";
var expected =
@"class C
{
private const int {|Rename:V|} = 1 + 1;
const int i = V + (1 + 1);
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestConstFieldFix2()
{
var code =
@"class C
{
const int i = ([|1 + 1|]) + (1 + 1);
}";
var expected =
@"class C
{
private const int {|Rename:V|} = 1 + 1;
const int i = V + V;
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestConstructorFix1()
{
await TestInRegularAndScriptAsync(
@"class C
{
public C() : this([|1 + 1|], 1 + 1)
{
}
}",
@"class C
{
private const int {|Rename:V|} = 1 + 1;
public C() : this(V, 1 + 1)
{
}
}",
index: 0);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestConstructorFix2()
{
await TestInRegularAndScriptAsync(
@"class C
{
public C() : this([|1 + 1|], 1 + 1)
{
}
}",
@"class C
{
private const int {|Rename:V|} = 1 + 1;
public C() : this(V, V)
{
}
}",
index: 1);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestParameterFix1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void Bar(int i = [|1 + 1|], int j = 1 + 1)
{
}
}",
@"class C
{
private const int {|Rename:V|} = 1 + 1;
void Bar(int i = V, int j = 1 + 1)
{
}
}",
index: 0);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestParameterFix2()
{
await TestInRegularAndScriptAsync(
@"class C
{
void Bar(int i = [|1 + 1|], int j = 1 + 1)
{
}
}",
@"class C
{
private const int {|Rename:V|} = 1 + 1;
void Bar(int i = V, int j = V)
{
}
}",
index: 1);
}
[Fact]
public async Task TestAttributeFix1()
{
await TestInRegularAndScriptAsync(
@"class C
{
[Foo([|1 + 1|], 1 + 1)]
void Bar()
{
}
}",
@"class C
{
private const int {|Rename:V|} = 1 + 1;
[Foo(V, 1 + 1)]
void Bar()
{
}
}",
index: 0);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestAttributeFix2()
{
await TestInRegularAndScriptAsync(
@"class C
{
[Foo([|1 + 1|], 1 + 1)]
void Bar()
{
}
}",
@"class C
{
private const int {|Rename:V|} = 1 + 1;
[Foo(V, V)]
void Bar()
{
}
}",
index: 1);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMethodFixExistingName1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void Foo()
{
int V = 0;
Bar([|1 + 1|]);
Bar(1 + 1);
}
}",
@"class C
{
void Foo()
{
int V = 0;
const int {|Rename:V1|} = 1 + 1;
Bar(V1);
Bar(1 + 1);
}
}",
index: 2);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestFieldExistingName1()
{
var code =
@"class C
{
int V;
int V1;
int i = ([|1 + 1|]) + (1 + 1);
}";
var expected =
@"class C
{
private const int {|Rename:V2|} = 1 + 1;
int V;
int V1;
int i = V2 + (1 + 1);
}";
await TestInRegularAndScriptAsync(
code,
expected,
index: 0,
ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMethodFixComplexName1()
{
await TestInRegularAndScriptAsync(
@"class C
{
static int Baz;
void Foo()
{
Bar([|C.Baz|]);
Bar(1 + 1);
}
}",
@"class C
{
static int Baz;
void Foo()
{
var {|Rename:baz|} = C.Baz;
Bar(baz);
Bar(1 + 1);
}
}",
index: 0,
options: ImplicitTypingEverywhere());
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMethodFixComplexName1NotVar()
{
await TestInRegularAndScriptAsync(
@"class C
{
static int Baz;
void Foo()
{
Bar([|C.Baz|]);
Bar(1 + 1);
}
}",
@"class C
{
static int Baz;
void Foo()
{
int {|Rename:baz|} = C.Baz;
Bar(baz);
Bar(1 + 1);
}
}",
index: 0);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNameConflict1()
{
await TestInRegularAndScriptAsync(
@"class C
{
public C(int V) : this([|1 + 1|])
{
}
}",
@"class C
{
private const int {|Rename:V|} = 1 + 1;
public C(int V) : this(C.V)
{
}
}",
index: 0);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNameConflict2()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
private static int v = 5;
static void Main(string[] args)
{
Func<int, int> d = (x) => {
return [|x * v|];
};
d.Invoke(v);
}
}",
@"using System;
class Program
{
private static int v = 5;
static void Main(string[] args)
{
Func<int, int> d = (x) => {
var {|Rename:v1|} = x * v;
return v1;
};
d.Invoke(v);
}
}",
options: ImplicitTypingEverywhere());
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNameConflict2NotVar()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
private static int v = 5;
static void Main(string[] args)
{
Func<int, int> d = (x) => {
return [|x * v|];
};
d.Invoke(v);
}
}",
@"using System;
class Program
{
private static int v = 5;
static void Main(string[] args)
{
Func<int, int> d = (x) => {
int {|Rename:v1|} = x * v;
return v1;
};
d.Invoke(v);
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNameVerbatimIdentifier1()
{
await TestInRegularAndScriptAsync(
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
}
class Program
{
static void Main()
{
G<int>.Add([|new G<int>.@class()|]);
}
}",
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
}
class Program
{
static void Main()
{
var {|Rename:@class|} = new G<int>.@class();
G<int>.Add(@class);
}
}",
options: ImplicitTypingEverywhere());
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNameVerbatimIdentifier1NoVar()
{
await TestInRegularAndScriptAsync(
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
}
class Program
{
static void Main()
{
G<int>.Add([|new G<int>.@class()|]);
}
}",
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
}
class Program
{
static void Main()
{
G<int>.@class {|Rename:@class|} = new G<int>.@class();
G<int>.Add(@class);
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNameVerbatimIdentifier2()
{
await TestInRegularAndScriptAsync(
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
static void Main()
{
G<int>.Add([|new G<int>.@class()|]);
}
}",
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
static void Main()
{
var {|Rename:class1|} = new G<int>.@class();
G<int>.Add(class1);
}
}",
options: ImplicitTypingEverywhere());
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNameVerbatimIdentifier2NoVar()
{
await TestInRegularAndScriptAsync(
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
static void Main()
{
G<int>.Add([|new G<int>.@class()|]);
}
}",
@"static class G<T>
{
public class @class
{
}
public static void Add(object t)
{
}
static void Main()
{
G<int>.@class {|Rename:class1|} = new G<int>.@class();
G<int>.Add(class1);
}
}");
}
[WorkItem(540078, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540078")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestConstantField1()
{
await TestInRegularAndScriptAsync(
@"class C
{
int[] array = new int[[|10|]];
}",
@"class C
{
private const int {|Rename:V|} = 10;
int[] array = new int[V];
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
[WorkItem(540079, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540079")]
public async Task TestFormattingOfReplacedExpression1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M()
{
int i = [|1 + 2|] + 3;
}
}",
@"class C
{
void M()
{
const int {|Rename:V|} = 1 + 2;
int i = V + 3;
}
}",
index: 2,
ignoreTrivia: false);
}
[WorkItem(540468, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540468")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestCantExtractMethodTypeParameterToField()
{
await TestInRegularAndScriptAsync(
@"using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main<T>(string[] args)
{
Foo([|(T)2.ToString()|]);
}
}",
@"using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main<T>(string[] args)
{
var {|Rename:t|} = (T)2.ToString();
Foo(t);
}
}",
options: ImplicitTypingEverywhere());
}
[WorkItem(540468, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540468")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestCantExtractMethodTypeParameterToFieldCount()
{
await TestActionCountAsync(
@"using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main<T>(string[] args)
{
Foo([|(T)2.ToString()|]);
}
}",
count: 2);
}
[WorkItem(552389, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/552389")]
[WorkItem(540482, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540482")]
[WpfFact(Skip = "552389"), Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestConstantForFixedBufferInitializer()
{
await TestInRegularAndScriptAsync(
@"unsafe struct S
{
fixed int buffer[[|10|]];
}",
@"unsafe struct S
{
private const int p = 10;
fixed int buffer[p];
}");
}
[WorkItem(540486, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540486")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestFormattingOfIntroduceLocal()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M()
{
int i = [|1 + 2|] + 3;
}
}",
@"class C
{
void M()
{
const int {|Rename:V|} = 1 + 2;
int i = V + 3;
}
}",
index: 2,
ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLocalConstant()
{
await TestInRegularAndScriptAsync(
@"class Program
{
static void Main(string[] args)
{
const int i = [|1|] + 1;
}
}",
@"class Program
{
static void Main(string[] args)
{
const int {|Rename:V|} = 1;
const int i = V + 1;
}
}",
index: 2);
}
[WorkItem(542699, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/542699")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestFieldConstant()
{
await TestInRegularAndScriptAsync(
@"[Foo(2 + 3 + 4)]
class Program
{
int x = [|2 + 3|] + 4;
}
internal class FooAttribute : System.Attribute
{
public FooAttribute(int x)
{
}
}",
@"[Foo(V + 4)]
class Program
{
private const int {|Rename:V|} = 2 + 3;
int x = V + 4;
}
internal class FooAttribute : System.Attribute
{
public FooAttribute(int x)
{
}
}",
index: 1);
}
[WorkItem(542781, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/542781")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnExpressionStatement()
{
await TestMissingInRegularAndScriptAsync(
@"class Program
{
static void Main(string[] args)
{
int i;
[|i = 2|];
i = 3;
}
}");
}
[WorkItem(542780, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/542780")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestSingleQueryClause()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
select [|i + j|];
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
let {|Rename:v|} = i + j
select v;
}
}");
}
[WorkItem(542780, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/542780")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestSingleQuerySelectOrGroupByClause()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where [|i + j|] > 5
select i + j;
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
let {|Rename:v|} = i + j
where v > 5
select i + j;
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLinqQuery()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where [|i + j|] > 5
let x = j + i
select i + j;
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
let {|Rename:v|} = i + j
where v > 5
let x = j + i
select v;
}
}",
index: 1);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestSingleQueryReplaceAll()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where i + j > 5
let x = j + i
select [|i + j|];
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
let {|Rename:v|} = i + j
where v > 5
let x = j + i
select v;
}
}",
index: 1);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNestedQueryReplaceOne1()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where i > (from k in new int[] { 3 }
select [|i + j|]).Max()
where j > (from m in new int[] { 4 }
select i + j).Max()
let x = j + i
select i + j;
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where i > (from k in new int[] { 3 }
let {|Rename:v|} = i + j
select v).Max()
where j > (from m in new int[] { 4 }
select i + j).Max()
let x = j + i
select i + j;
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNestedQueryReplaceAll1()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where i > (from k in new int[] { 3 }
select [|i + j|]).Max()
where j > (from m in new int[] { 4 }
select i + j).Max()
let x = j + i
select i + j;
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
let {|Rename:v|} = i + j
where i > (from k in new int[] { 3 }
select v).Max()
where j > (from m in new int[] { 4 }
select v).Max()
let x = j + i
select v;
}
}",
index: 1);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNestedQueryReplaceOne2()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where i > (from k in new int[] { 3 }
select i + j).Max()
where j > (from m in new int[] { 4 }
select [|i + j|]).Max()
let x = j + i
select i + j;
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where i > (from k in new int[] { 3 }
select i + j).Max()
where j > (from m in new int[] { 4 }
let {|Rename:v|} = i + j
select v).Max()
let x = j + i
select i + j;
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNestedQueryReplaceAll2()
{
await TestInRegularAndScriptAsync(
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
where i > (from k in new int[] { 3 }
select i + j).Max()
where j > (from m in new int[] { 4 }
select [|i + j|]).Max()
let x = j + i
select i + j;
}
}",
@"using System.Linq;
class Program
{
void Main()
{
var query = from i in new int[] { 1 }
from j in new int[] { 2 }
let {|Rename:v|} = i + j
where i > (from k in new int[] { 3 }
select v).Max()
where j > (from m in new int[] { 4 }
select v).Max()
let x = j + i
select v;
}
}",
index: 1);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
[WorkItem(10742, "DevDiv_Projects/Roslyn")]
public async Task TestAnonymousTypeMemberAssignment()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M()
{
var a = new { [|A = 0|] };
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
[WorkItem(10743, "DevDiv_Projects/Roslyn")]
public async Task TestAnonymousTypeBody()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M()
{
var a = new [|{ A = 0 }|];
}
}");
}
[WorkItem(543477, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543477")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestImplicitlyTypedArraysUsedInCheckedExpression()
{
await TestInRegularAndScriptAsync(
@"class Program
{
static void Main(string[] args)
{
int[] a = null;
int[] temp = checked([|a = new[] { 1, 2, 3 }|]);
}
}",
@"class Program
{
static void Main(string[] args)
{
int[] a = null;
var {|Rename:v|} = a = new[] { 1, 2, 3 };
int[] temp = checked(v);
}
}",
options: ImplicitTypingEverywhere());
}
[WorkItem(543832, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543832")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnGenericTypeParameter()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M()
{
F<[|int?|], int?>(3);
}
R F<T, R>(T arg1)
{
return default(R);
}
}");
}
[WorkItem(543941, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543941")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestAnonymousType1()
{
await TestInRegularAndScriptAsync(
@"class Program
{
void Main()
{
WriteLine([|new { X = 1 }|]);
}
}",
@"class Program
{
void Main()
{
var {|Rename:p|} = new { X = 1 };
WriteLine(p);
}
}");
}
[WorkItem(544099, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544099")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnAttributeNameEquals()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
using System.Runtime.InteropServices;
class M
{
[DllImport(""user32.dll"", [|CharSet|] = CharSet.Auto)]
public static extern IntPtr FindWindow(string className, string windowTitle);
}");
}
[WorkItem(544162, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544162")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnRightOfDot()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
using System.Runtime.InteropServices;
class M
{
[DllImport(""user32.dll"", CharSet = CharSet.[|Auto|])]
public static extern IntPtr FindWindow(string className, string windowTitle);
}");
}
[WorkItem(544209, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544209")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnAttributeNamedParameter()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
class TestAttribute : Attribute
{
public TestAttribute(int a = 42)
{
}
}
[Test([|a|]: 1)]
class Foo
{
}");
}
[WorkItem(544264, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544264")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnVariableWrite()
{
await TestMissingInRegularAndScriptAsync(
@"class Program
{
void Main()
{
var x = new int[3];
[|x[1]|] = 2;
}
}");
}
[WorkItem(544577, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544577")]
[WorkItem(909152, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/909152")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestExpressionTLambda()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
using System.Linq.Expressions;
class Program
{
static Expression<Func<int?, char?>> e1 = c => [|null|];
}");
}
[WorkItem(544915, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544915")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnTypeSyntax()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
class Program
{
void Main()
{
int[,] array2Da = new [|int[1, 2]|] { { 1, 2 } };
}
}");
}
[WorkItem(544610, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544610")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task ParenthesizeIfParseChanges()
{
var code = @"
class C
{
static void M()
{
int x = 2;
Bar(x < [|1|], x > (2 + 3));
}
}";
var expected = @"
class C
{
static void M()
{
int x = 2;
const int {|Rename:V|} = 1;
Bar(x < V, (x > (2 + 3)));
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingInPartiallyHiddenMethod()
{
await TestMissingAsync(
@"class Program
{
#line hidden
void Main()
{
#line default
Foo([|1 + 1|]);
}
}", new TestParameters(Options.Regular));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInVisibleMethod()
{
await TestInRegularAndScriptAsync(
@"#line hidden
class Program
{
#line default
void Main()
{
Foo([|1 + 1|]);
}
#line hidden
}
#line default",
@"#line hidden
class Program
{
#line default
void Main()
{
const int {|Rename:V|} = 1 + 1;
Foo(V);
}
#line hidden
}
#line default",
ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingInFieldInPartiallyHiddenType()
{
await TestMissingAsync(
@"class Program
{
int i = [|1 + 1|];
#line hidden
}
#line default", new TestParameters(Options.Regular));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingInAttributeInPartiallyHiddenType()
{
await TestMissingAsync(
@"[Foo([|1 + 1|])]
class Program
{
#line hidden
}
#line default", new TestParameters(Options.Regular));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingInConstructorInitializerInPartiallyHiddenType()
{
await TestMissingAsync(
@"class Program
{
public Program() : this([|1 + 1|])
{
}
#line hidden
}
#line default", new TestParameters(Options.Regular));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingInParameterInPartiallyHiddenType()
{
await TestMissingAsync(
@"class Program
{
public Program(int i = [|1 + 1|])
{
}
#line hidden
}
#line default", new TestParameters(Options.Regular));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingInQueryInPartiallyHiddenType()
{
await TestMissingAsync(
@"using System.Linq;
class Program
{
public Program(string[] args)
{
var q = from x in args
#line hidden
let z = 1
#line default
select [|x + x|];
}
}", new TestParameters(Options.Regular));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInVisibleQueryInHiddenType()
{
await TestAsync(
@"#line hidden
using System.Linq;
class Program
{
public Program(string[] args)
{
var q =
#line default
from x in args
let z = 1
select [|x + x|];
#line hidden
}
}
#line default",
@"#line hidden
using System.Linq;
class Program
{
public Program(string[] args)
{
var q =
#line default
from x in args
let z = 1
let {|Rename:v|} = x + x
select v;
#line hidden
}
}
#line default",
ignoreTrivia: false,
parseOptions: Options.Regular);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnNamespace()
{
await TestMissingInRegularAndScriptAsync(
@"class Program
{
void Main()
{
[|System|].Console.WriteLine(4);
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnType()
{
await TestMissingInRegularAndScriptAsync(
@"class Program
{
void Main()
{
[|System.Console|].WriteLine(4);
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnBase()
{
await TestMissingInRegularAndScriptAsync(
@"class Program
{
void Main()
{
[|base|].ToString();
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestVenusGeneration1()
{
await TestMissingInRegularAndScriptAsync(
@"class Program
{
void Main()
{
#line 1 ""foo""
Console.WriteLine([|5|]);
#line default
#line hidden
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestVenusGeneration2()
{
var code =
@"
class Program
{
void Main ( )
{
#line 1 ""foo""
if (true)
{
Console.WriteLine([|5|]);
}
#line default
#line hidden
}
}";
await TestExactActionSetOfferedAsync(code, new[] { string.Format(FeaturesResources.Introduce_local_constant_for_0, "5") });
await TestInRegularAndScriptAsync(code,
@"
class Program
{
void Main ( )
{
#line 1 ""foo""
if (true)
{
const int {|Rename:V|} = 5;
Console.WriteLine(V);
}
#line default
#line hidden
}
}", ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestVenusGeneration3()
{
var code =
@"
class Program
{
#line 1 ""foo""
void Main ( )
{
if (true)
{
Console.WriteLine([|5|]);
}
}
#line default
#line hidden
}";
await TestExactActionSetOfferedAsync(code,
new[] { string.Format(FeaturesResources.Introduce_local_constant_for_0, "5"), string.Format(FeaturesResources.Introduce_local_constant_for_all_occurrences_of_0, "5") });
}
[WorkItem(529795, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/529795")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnNegatedLiteral()
{
await TestMissingInRegularAndScriptAsync(
@"class A
{
void Main()
{
long x = -[|9223372036854775808|];
}
}");
}
[WorkItem(546091, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546091")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNotOnInterfaceAttribute()
{
await TestMissingInRegularAndScriptAsync(
@"[GuidAttribute([|""1A585C4D-3371-48dc-AF8A-AFFECC1B0967""|])]
public interface I
{
}");
}
[WorkItem(546095, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546095")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNotOnTypeOfInAttribute()
{
await TestMissingInRegularAndScriptAsync(
@"using System.Runtime.InteropServices;
[ComSourceInterfaces([|typeof(GuidAttribute)|])]
public class Button
{
}");
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestPreferGenerateConstantField1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void foo(string s = ""Hello"")
{
var s2 = [|""Hello""|] + ""World"";
}
}",
@"class C
{
private const string {|Rename:V|} = ""Hello"";
void foo(string s = ""Hello"")
{
var s2 = V + ""World"";
}
}");
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestPreferGenerateConstantField2()
{
await TestInRegularAndScriptAsync(
@"class C
{
void foo(string s = ""Hello"")
{
var s2 = [|""Hello""|] + ""World"";
}
}",
@"class C
{
private const string {|Rename:V|} = ""Hello"";
void foo(string s = V)
{
var s2 = V + ""World"";
}
}",
index: 1);
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestPreferGenerateConstantField3()
{
await TestInRegularAndScriptAsync(
@"class C
{
void foo(string s = ""Hello"")
{
var s2 = [|""Hello""|] + ""World"";
}
}",
@"class C
{
void foo(string s = ""Hello"")
{
const string {|Rename:V|} = ""Hello"";
var s2 = V + ""World"";
}
}",
index: 2);
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestPreferGenerateConstantField4()
{
await TestInRegularAndScriptAsync(
@"class C
{
void foo(string s = ""Hello"")
{
var s2 = [|""Hello""|] + ""World"";
}
}",
@"class C
{
void foo(string s = ""Hello"")
{
const string {|Rename:V|} = ""Hello"";
var s2 = V + ""World"";
}
}",
index: 3);
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoGenerateConstantFieldIfAccessingLocal1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void foo(string s = ""Hello"")
{
const string s1 = ""World"";
var s2 = [|""Hello"" + s1|];
}
}",
@"class C
{
void foo(string s = ""Hello"")
{
const string s1 = ""World"";
const string {|Rename:V|} = ""Hello"" + s1;
var s2 = V;
}
}");
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoGenerateConstantFieldIfAccessingLocal2()
{
await TestInRegularAndScriptAsync(
@"class C
{
void foo(string s = ""Hello"")
{
const string s1 = ""World"";
var s2 = [|""Hello"" + s1|];
}
}",
@"class C
{
void foo(string s = ""Hello"")
{
const string s1 = ""World"";
const string {|Rename:V|} = ""Hello"" + s1;
var s2 = V;
}
}",
index: 1);
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoGenerateConstantFieldIfNotAccessingLocal1()
{
await TestInRegularAndScriptAsync(
@"class C
{
const string s1 = ""World"";
void foo(string s = ""Hello"")
{
var s2 = [|""Hello"" + s1|];
}
}",
@"class C
{
const string s1 = ""World"";
private const string {|Rename:V|} = ""Hello"" + s1;
void foo(string s = ""Hello"")
{
var s2 = V;
}
}");
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoGenerateConstantFieldIfNotAccessingLocal2()
{
await TestInRegularAndScriptAsync(
@"class C
{
const string s1 = ""World"";
void foo(string s = ""Hello"")
{
var s2 = [|""Hello"" + s1|];
}
}",
@"class C
{
const string s1 = ""World"";
private const string {|Rename:V|} = ""Hello"" + s1;
void foo(string s = ""Hello"")
{
var s2 = V;
}
}",
index: 1);
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoGenerateConstantFieldIfNotAccessingLocal3()
{
await TestInRegularAndScriptAsync(
@"class C
{
const string s1 = ""World"";
void foo(string s = ""Hello"")
{
var s2 = [|""Hello"" + s1|];
}
}",
@"class C
{
const string s1 = ""World"";
void foo(string s = ""Hello"")
{
const string {|Rename:V|} = ""Hello"" + s1;
var s2 = V;
}
}",
index: 2);
}
[WorkItem(530109, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530109")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoGenerateConstantFieldIfNotAccessingLocal4()
{
await TestInRegularAndScriptAsync(
@"class C
{
const string s1 = ""World"";
void foo(string s = ""Hello"")
{
var s2 = [|""Hello"" + s1|];
}
}",
@"class C
{
const string s1 = ""World"";
void foo(string s = ""Hello"")
{
const string {|Rename:V|} = ""Hello"" + s1;
var s2 = V;
}
}",
index: 3);
}
[WorkItem(606347, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/606347")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task InsertNeededCast1()
{
await TestInRegularAndScriptAsync(
@"using System;
static class C
{
static void Inner(Action<string> x, string y) { }
static void Inner(Action<string> x, int y) { }
static void Inner(Action<int> x, int y) { }
static void Outer(Action<string> x, object y) { Console.WriteLine(1); }
static void Outer(Action<int> x, string y) { Console.WriteLine(2); }
static T Foo<T>(T x) { return x; }
static void Main()
{
Outer(y => Inner(x => { [|Foo(x)|].ToString(); }, y), null);
}
}",
@"using System;
static class C
{
static void Inner(Action<string> x, string y) { }
static void Inner(Action<string> x, int y) { }
static void Inner(Action<int> x, int y) { }
static void Outer(Action<string> x, object y) { Console.WriteLine(1); }
static void Outer(Action<int> x, string y) { Console.WriteLine(2); }
static T Foo<T>(T x) { return x; }
static void Main()
{
Outer(y => Inner(x => { var {|Rename:v|} = Foo(x); v.ToString(); }, y), null);
}
}",
ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(606347, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/606347")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task InsertNeededCast1NotVar()
{
await TestInRegularAndScriptAsync(
@"using System;
static class C
{
static void Inner(Action<string> x, string y) { }
static void Inner(Action<string> x, int y) { }
static void Inner(Action<int> x, int y) { }
static void Outer(Action<string> x, object y) { Console.WriteLine(1); }
static void Outer(Action<int> x, string y) { Console.WriteLine(2); }
static T Foo<T>(T x) { return x; }
static void Main()
{
Outer(y => Inner(x => { [|Foo(x)|].ToString(); }, y), null);
}
}",
@"using System;
static class C
{
static void Inner(Action<string> x, string y) { }
static void Inner(Action<string> x, int y) { }
static void Inner(Action<int> x, int y) { }
static void Outer(Action<string> x, object y) { Console.WriteLine(1); }
static void Outer(Action<int> x, string y) { Console.WriteLine(2); }
static T Foo<T>(T x) { return x; }
static void Main()
{
Outer(y => Inner(x => { string {|Rename:v|} = Foo(x); v.ToString(); }, y), (object)null);
}
}",
ignoreTrivia: false);
}
[WorkItem(606347, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/606347"), WorkItem(714632, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/714632")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task InsertNeededCast2()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main()
{
byte z = 0;
Foo([|x => 0|], y => 0, z, z);
}
static void Foo<T, S>(Func<S, T> p, Func<T, S> q, T r, S s) { Console.WriteLine(1); }
static void Foo(Func<byte, byte> p, Func<byte, byte> q, int r, int s) { Console.WriteLine(2); }
}",
@"using System;
class Program
{
static void Main()
{
byte z = 0;
Func<byte, byte> {|Rename:p|} = x => 0;
Foo<byte, byte>(p, y => 0, z, z);
}
static void Foo<T, S>(Func<S, T> p, Func<T, S> q, T r, S s) { Console.WriteLine(1); }
static void Foo(Func<byte, byte> p, Func<byte, byte> q, int r, int s) { Console.WriteLine(2); }
}",
ignoreTrivia: false);
}
[WorkItem(546512, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546512")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInSwitchSection()
{
await TestInRegularAndScriptAsync(
@"class Program
{
int Main(int i)
{
switch (1)
{
case 0:
var f = Main([|1 + 1|]);
Console.WriteLine(f);
}
}
}",
@"class Program
{
int Main(int i)
{
switch (1)
{
case 0:
const int {|Rename:V|} = 1 + 1;
var f = Main(V);
Console.WriteLine(f);
}
}
}",
index: 2);
}
[WorkItem(530480, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530480")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLambdaParameter1()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, int> f = x => [|x + 1|];
}
}",
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, int> f = x => {
var {|Rename:v|} = x + 1;
return v;
};
}
}",
options: ImplicitTypingEverywhere());
}
[WorkItem(530480, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530480")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLambdaParameter2()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, Func<int, int>> f = x => y => [|x + 1|];
}
}",
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, Func<int, int>> f = x => {
var {|Rename:v|} = x + 1;
return y => v;
};
}
}",
options: ImplicitTypingEverywhere());
}
[WorkItem(530480, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530480")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLambdaParameter3()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, Func<int, int>> f = x => y => [|y + 1|];
}
}",
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, Func<int, int>> f = x => y => {
var {|Rename:v|} = y + 1;
return v;
};
}
}",
options: ImplicitTypingEverywhere());
}
[WorkItem(530480, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530480")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLambdaParameter4()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, Func<int, int>> f = x => [|y => y + 1|];
}
}",
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, int> {|Rename:p|} = y => y + 1;
Func<int, Func<int, int>> f = x => p;
}
}");
}
[WorkItem(530480, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530480")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLambdaParameter5()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, Func<int, int>> f = x => [|y => x + 1|];
}
}",
@"using System;
class Program
{
static void Main(string[] args)
{
Func<int, Func<int, int>> f = x => {
Func<int, int> {|Rename:p|} = y => x + 1;
return p;
};
}
}");
}
[WorkItem(530721, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530721")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroVarInAction1()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
void M()
{
Action<int> foo = x => [|x.Foo|];
}
}",
@"using System;
class Program
{
void M()
{
Action<int> foo = x => {
object {|Rename:foo1|} = x.Foo;
};
}
}");
}
[WorkItem(530919, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530919")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNullableOfPointerType()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main()
{
[|new Nullable<int*>()|].GetValueOrDefault();
}
}",
@"using System;
class Program
{
static void Main()
{
var {|Rename:v|} = new Nullable<int*>();
v.GetValueOrDefault();
}
}",
options: ImplicitTypingEverywhere());
}
[WorkItem(530919, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530919")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNullableOfPointerTypeNotVar()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main()
{
[|new Nullable<int*>()|].GetValueOrDefault();
}
}",
@"using System;
class Program
{
static void Main()
{
Nullable<int*> {|Rename:v|} = new Nullable<int*>();
v.GetValueOrDefault();
}
}");
}
[WorkItem(830885, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/830885")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalRemovesUnnecessaryCast()
{
await TestInRegularAndScriptAsync(
@"using System.Collections.Generic;
class C
{
static void Main(string[] args)
{
var set = new HashSet<string>();
set.Add([|set.ToString()|]);
}
}",
@"using System.Collections.Generic;
class C
{
static void Main(string[] args)
{
var set = new HashSet<string>();
var {|Rename:v|} = set.ToString();
set.Add(v);
}
}",
options: ImplicitTypingEverywhere());
}
[WorkItem(655498, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/655498")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task HandleParenthesizedExpression()
{
await TestInRegularAndScriptAsync(
@"using System;
class C
{
void Foo()
{
([|(C.Bar)|].Invoke)();
}
static Action Bar;
}",
@"using System;
class C
{
void Foo()
{
Action {|Rename:bar|} = (C.Bar);
bar.Invoke();
}
static Action Bar;
}",
ignoreTrivia: false);
}
[WorkItem(682683, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/682683")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task DontRemoveParenthesesIfOperatorPrecedenceWouldBeBroken()
{
await TestInRegularAndScriptAsync(
@"using System;
class Program
{
static void Main()
{
Console.WriteLine(5 - ([|1|] + 2));
}
}",
@"using System;
class Program
{
static void Main()
{
const int {|Rename:V|} = 1;
Console.WriteLine(5 - (V + 2));
}
}",
index: 2,
ignoreTrivia: false);
}
[WorkItem(828108, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/828108")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task UseNewSemanticModelForSimplification()
{
await TestInRegularAndScriptAsync(
@"using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
class Program
{
static void Main(string[] args)
{
var d = new Dictionary<string, Exception>();
d.Add(""a"", [|new Exception()|]);
}
}",
@"using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
class Program
{
static void Main(string[] args)
{
var d = new Dictionary<string, Exception>();
var {|Rename:exception|} = new Exception();
d.Add(""a"", exception);
}
}",
ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(884961, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/884961")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInCollectionInitializer()
{
await TestInRegularAndScriptAsync(
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
var l = new List<int>() { [|Environment.TickCount|] };
}
}",
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
var {|Rename:tickCount|} = Environment.TickCount;
var l = new List<int>() { tickCount };
}
}",
ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(884961, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/884961")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInCollectionInitializerNoVar()
{
await TestInRegularAndScriptAsync(
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
var l = new List<int>() { [|Environment.TickCount|] };
}
}",
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
int {|Rename:tickCount|} = Environment.TickCount;
var l = new List<int>() { tickCount };
}
}",
ignoreTrivia: false);
}
[WorkItem(854662, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/854662")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInNestedCollectionInitializers()
{
await TestInRegularAndScriptAsync(
@"using System;
using System.Collections.Generic;
class C
{
public Dictionary<int, int> A { get; private set; }
static int Main(string[] args)
{
int a = 0;
return new Program { A = { { [|a + 2|], 0 } } }.A.Count;
}
}",
@"using System;
using System.Collections.Generic;
class C
{
public Dictionary<int, int> A { get; private set; }
static int Main(string[] args)
{
int a = 0;
var {|Rename:v|} = a + 2;
return new Program { A = { { v, 0 } } }.A.Count;
}
}",
ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(884961, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/884961")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInArrayInitializer()
{
await TestInRegularAndScriptAsync(
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
var a = new int[] { [|Environment.TickCount|] };
}
}",
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
var {|Rename:tickCount|} = Environment.TickCount;
var a = new int[] { tickCount };
}
}",
ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(884961, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/884961")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestInArrayInitializerWithoutVar()
{
await TestInRegularAndScriptAsync(
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
var a = new int[] { [|Environment.TickCount|] };
}
}",
@"using System;
using System.Collections.Generic;
class C
{
void M()
{
int {|Rename:tickCount|} = Environment.TickCount;
var a = new int[] { tickCount };
}
}",
ignoreTrivia: false);
}
[WorkItem(1022447, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1022447")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestFormattingOfIntroduceLocal2()
{
await TestInRegularAndScriptAsync(
@"using System;
class C
{
void M()
{
var s = ""Text"";
var x = 42;
if ([|s.Length|].CompareTo(x) > 0 &&
s.Length.CompareTo(x) > 0)
{
}
}
}",
@"using System;
class C
{
void M()
{
var s = ""Text"";
var x = 42;
var {|Rename:length|} = s.Length;
if (length.CompareTo(x) > 0 &&
length.CompareTo(x) > 0)
{
}
}
}",
index: 1,
ignoreTrivia: false,
options: ImplicitTypingEverywhere());
}
[WorkItem(939259, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/939259")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalWithTriviaInMultiLineStatements()
{
var code =
@"class C
{
void Foo()
{
var d = [|true|] // TODO: comment
? 1
: 2;
}
}";
var expected =
@"class C
{
void Foo()
{
const bool {|Rename:V|} = true;
var d = V // TODO: comment
? 1
: 2;
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 3, ignoreTrivia: false);
}
[WorkItem(939259, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/939259")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalWithTriviaInMultiLineStatements2()
{
var code =
@"class C
{
void Foo()
{
var d = true
? 1
: [|2|]; // TODO: comment
}
}";
var expected =
@"class C
{
void Foo()
{
const int {|Rename:V|} = 2;
var d = true
? 1
: V; // TODO: comment
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 3, ignoreTrivia: false);
}
[WorkItem(1064803, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1064803")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInStringInterpolation()
{
var code =
@"class C
{
void Foo()
{
var s = $""Alpha Beta { [|int.Parse(""12345"")|] } Gamma"";
}
}";
var expected =
@"class C
{
void Foo()
{
var {|Rename:v|} = int.Parse(""12345"");
var s = $""Alpha Beta { v } Gamma"";
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(1037057, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1037057")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalWithBlankLine()
{
await TestInRegularAndScriptAsync(@"
class C
{
void M()
{
int x = 5;
// comment
int y = [|(x + 5)|] * (x + 5);
}
}
", @"
class C
{
void M()
{
int x = 5;
// comment
var {|Rename:v|} = (x + 5);
int y = v * (x + 5);
}
}
", ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(1065661, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1065661")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceVariableTextDoesntSpanLines1()
{
await TestSmartTagTextAsync(
@"class C
{
void M()
{
var s = [|@""a
b
c""|];
}
}",
string.Format(FeaturesResources.Introduce_local_constant_for_0, @"@""a b c"""),
index: 2);
}
[WorkItem(1065661, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1065661")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceVariableTextDoesntSpanLines2()
{
await TestSmartTagTextAsync(
@"class C
{
void M()
{
var s = [|$@""a
b
c""|];
}
}",
string.Format(FeaturesResources.Introduce_local_for_0, @"$@""a b c"""));
}
[WorkItem(1097147, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1097147")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestSmartNameForNullablesInConditionalAccessExpressionContext()
{
var code =
@"using System;
class C
{
static void Foo(string s)
{
var l = [|s?.Length|] ?? 0;
}
}";
var expected =
@"using System;
class C
{
static void Foo(string s)
{
var {|Rename:length|} = s?.Length;
var l = length ?? 0;
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(1097147, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1097147")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestSmartNameForNullablesInConditionalAccessExpressionContext2()
{
var code =
@"using System;
class C
{
static void Foo(string s)
{
var l = [|s?.ToLower()|] ?? string.Empty;
}
}";
var expected =
@"using System;
class C
{
static void Foo(string s)
{
var {|Rename:v|} = s?.ToLower();
var l = v ?? string.Empty;
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(1097147, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1097147")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestSmartNameForNullablesInConditionalAccessExpressionContext3()
{
var code =
@"using System;
class Program
{
static void Main(string[] args)
{
A a = new A();
var l = [|a?.Prop?.Length|] ?? 0;
}
}
class A
{
public B Prop { get; set; }
}
class B
{
public int Length { get; set; }
}";
var expected =
@"using System;
class Program
{
static void Main(string[] args)
{
A a = new A();
var {|Rename:length|} = a?.Prop?.Length;
var l = length ?? 0;
}
}
class A
{
public B Prop { get; set; }
}
class B
{
public int Length { get; set; }
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(1097147, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1097147")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestSmartNameForNullablesInConditionalAccessExpressionContext4()
{
var code =
@"using System;
class Program
{
static void Main(string[] args)
{
A a = new A();
var age = [|a?.Prop?.GetAge()|] ?? 0;
}
}
class A
{
public B Prop { get; set; }
}
class B
{
int age;
public int GetAge() { return age; }
}";
var expected =
@"using System;
class Program
{
static void Main(string[] args)
{
A a = new A();
var {|Rename:v|} = a?.Prop?.GetAge();
var age = v ?? 0;
}
}
class A
{
public B Prop { get; set; }
}
class B
{
int age;
public int GetAge() { return age; }
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethod()
{
var code =
@"using System;
class T
{
int m;
int M1() => [|1|] + 2 + 3 + m;
}";
var expected =
@"using System;
class T
{
int m;
int M1()
{
const int {|Rename:V|} = 1;
return V + 2 + 3 + m;
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceFieldInExpressionBodiedMethod()
{
var code =
@"using System;
class T
{
int m;
int M1() => [|1|] + 2 + 3 + m;
}";
var expected =
@"using System;
class T
{
private const int {|Rename:V|} = 1;
int m;
int M1() => V + 2 + 3 + m;
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedOperator()
{
var code =
@"using System;
class Complex
{
int real; int imaginary;
public static Complex operator +(Complex a, Complex b) => a.Add([|b.real + 1|]);
private Complex Add(int b)
{
throw new NotImplementedException();
}
}";
var expected =
@"using System;
class Complex
{
int real; int imaginary;
public static Complex operator +(Complex a, Complex b)
{
var {|Rename:v|} = b.real + 1;
return a.Add(v);
}
private Complex Add(int b)
{
throw new NotImplementedException();
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceFieldInExpressionBodiedOperator()
{
var code =
@"using System;
class Complex
{
int real; int imaginary;
public static Complex operator +(Complex a, Complex b) => a.Add(b.real + [|1|]);
private Complex Add(int b)
{
throw new NotImplementedException();
}
}";
var expected =
@"using System;
class Complex
{
private const int {|Rename:V|} = 1;
int real; int imaginary;
public static Complex operator +(Complex a, Complex b) => a.Add(b.real + V);
private Complex Add(int b)
{
throw new NotImplementedException();
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceFieldInExpressionBodiedConversionOperator()
{
var code =
@"using System;
public struct DBBool
{
public static readonly DBBool dbFalse = new DBBool(-1);
int value;
DBBool(int value)
{
this.value = value;
}
public static implicit operator DBBool(bool x) => x ? new DBBool([|1|]) : dbFalse;
}";
var expected =
@"using System;
public struct DBBool
{
private const int {|Rename:V|} = 1;
public static readonly DBBool dbFalse = new DBBool(-1);
int value;
DBBool(int value)
{
this.value = value;
}
public static implicit operator DBBool(bool x) => x ? new DBBool(V) : dbFalse;
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceFieldInExpressionBodiedProperty()
{
var code =
@"using System;
class T
{
int M1 => [|1|] + 2;
}";
var expected =
@"using System;
class T
{
private const int {|Rename:V|} = 1;
int M1 => V + 2;
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedProperty()
{
var code =
@"using System;
class T
{
int M1 => [|1|] + 2;
}";
var expected =
@"using System;
class T
{
int M1
{
get
{
const int {|Rename:V|} = 1;
return V + 2;
}
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceFieldInExpressionBodiedIndexer()
{
var code =
@"using System;
class SampleCollection<T>
{
private T[] arr = new T[100];
public T this[int i] => i > [|0|] ? arr[i + 1] : arr[i + 2];
}";
var expected =
@"using System;
class SampleCollection<T>
{
private const int {|Rename:V|} = 0;
private T[] arr = new T[100];
public T this[int i] => i > V ? arr[i + 1] : arr[i + 2];
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedIndexer()
{
var code =
@"using System;
class SampleCollection<T>
{
private T[] arr = new T[100];
public T this[int i] => i > 0 ? arr[[|i + 1|]] : arr[i + 2];
}";
var expected =
@"using System;
class SampleCollection<T>
{
private T[] arr = new T[100];
public T this[int i]
{
get
{
var {|Rename:v|} = i + 1;
return i > 0 ? arr[v] : arr[i + 2];
}
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestTrailingTriviaOnExpressionBodiedMethodRewrites()
{
var code =
@"using System;
class T
{
int M1() => 1 + 2 + [|3|] /*not moved*/; /*moved to end of block*/
// rewrite should preserve newline above this.
void Cat() { }
}";
var expected =
@"using System;
class T
{
int M1()
{
const int {|Rename:V|} = 3;
return 1 + 2 + V /*not moved*/;
} /*moved to end of block*/
// rewrite should preserve newline above this.
void Cat() { }
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestLeadingTriviaOnExpressionBodiedMethodRewrites()
{
var code =
@"using System;
class T
{
/*not moved*/
int M1() => 1 + 2 + /*not moved*/ [|3|];
}";
var expected =
@"using System;
class T
{
/*not moved*/
int M1()
{
const int {|Rename:V|} = 3;
return 1 + 2 + /*not moved*/ V;
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestTriviaAroundArrowTokenInExpressionBodiedMemberSyntax()
{
var code =
@"using System;
class T
{
// comment
int M1() /*c1*/ => /*c2*/ 1 + 2 + /*c3*/ [|3|];
}";
var expected =
@"using System;
class T
{
// comment
int M1() /*c1*/ /*c2*/
{
const int {|Rename:V|} = 3;
return 1 + 2 + /*c3*/ V;
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[WorkItem(971, "http://github.com/dotnet/roslyn/issues/971")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethodWithBlockBodiedAnonymousMethodExpression()
{
var code =
@"using System;
class TestClass
{
Func<int, int> Y() => delegate (int x)
{
return [|9|];
};
}";
var expected =
@"using System;
class TestClass
{
Func<int, int> Y() => delegate (int x)
{
const int {|Rename:V|} = 9;
return V;
};
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[WorkItem(971, "http://github.com/dotnet/roslyn/issues/971")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethodWithSingleLineBlockBodiedAnonymousMethodExpression()
{
var code =
@"using System;
class TestClass
{
Func<int, int> Y() => delegate (int x) { return [|9|]; };
}";
var expected =
@"using System;
class TestClass
{
Func<int, int> Y() => delegate (int x) { const int {|Rename:V|} = 9; return V; };
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[WorkItem(971, "http://github.com/dotnet/roslyn/issues/971")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethodWithBlockBodiedSimpleLambdaExpression()
{
var code =
@"using System;
class TestClass
{
Func<int, int> Y() => f =>
{
return f * [|9|];
};
}";
var expected =
@"using System;
class TestClass
{
Func<int, int> Y() => f =>
{
const int {|Rename:V|} = 9;
return f * V;
};
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethodWithExpressionBodiedSimpleLambdaExpression()
{
var code =
@"using System;
class TestClass
{
Func<int, int> Y() => f => f * [|9|];
}";
var expected =
@"using System;
class TestClass
{
Func<int, int> Y()
{
const int {|Rename:V|} = 9;
return f => f * V;
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[WorkItem(971, "http://github.com/dotnet/roslyn/issues/971")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethodWithBlockBodiedParenthesizedLambdaExpression()
{
var code =
@"using System;
class TestClass
{
Func<int, int> Y() => (f) =>
{
return f * [|9|];
};
}";
var expected =
@"using System;
class TestClass
{
Func<int, int> Y() => (f) =>
{
const int {|Rename:V|} = 9;
return f * V;
};
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethodWithExpressionBodiedParenthesizedLambdaExpression()
{
var code =
@"using System;
class TestClass
{
Func<int, int> Y() => (f) => f * [|9|];
}";
var expected =
@"using System;
class TestClass
{
Func<int, int> Y()
{
const int {|Rename:V|} = 9;
return (f) => f * V;
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(528, "http://github.com/dotnet/roslyn/issues/528")]
[WorkItem(971, "http://github.com/dotnet/roslyn/issues/971")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestIntroduceLocalInExpressionBodiedMethodWithBlockBodiedAnonymousMethodExpressionInMethodArgs()
{
var code =
@"using System;
class TestClass
{
public int Prop => Method1(delegate()
{
return [|8|];
});
}";
var expected =
@"using System;
class TestClass
{
public int Prop => Method1(delegate()
{
const int {|Rename:V|} = 8;
return V;
});
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[WorkItem(976, "https://github.com/dotnet/roslyn/issues/976")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoConstantForInterpolatedStrings1()
{
var code =
@"using System;
class TestClass
{
static void Test(string[] args)
{
Console.WriteLine([|$""{DateTime.Now.ToString()}Text{args[0]}""|]);
}
}";
var expected =
@"using System;
class TestClass
{
static void Test(string[] args)
{
var {|Rename:v|} = $""{DateTime.Now.ToString()}Text{args[0]}"";
Console.WriteLine(v);
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(976, "https://github.com/dotnet/roslyn/issues/976")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestNoConstantForInterpolatedStrings2()
{
var code =
@"using System;
class TestClass
{
static void Test(string[] args)
{
Console.WriteLine([|$""Text{{s}}""|]);
Console.WriteLine($""Text{{s}}"");
}
}";
var expected =
@"using System;
class TestClass
{
static void Test(string[] args)
{
var {|Rename:v|} = $""Text{{s}}"";
Console.WriteLine(v);
Console.WriteLine(v);
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(909152, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/909152")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestMissingOnNullLiteral()
{
await TestMissingInRegularAndScriptAsync(
@"class C1
{
}
class C2
{
}
class Test
{
void M()
{
C1 c1 = [|null|];
C2 c2 = null;
}
}");
}
[WorkItem(1130990, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1130990")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task InParentConditionalAccessExpressions()
{
var code =
@"using System;
class C
{
public T F<T>(T x)
{
var y = [|F(new C())|]?.F(new C())?.F(new C());
return x;
}
}";
var expected =
@"using System;
class C
{
public T F<T>(T x)
{
var {|Rename:c|} = F(new C());
var y = c?.F(new C())?.F(new C());
return x;
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(1130990, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1130990")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task InParentConditionalAccessExpression2()
{
var code =
@"using System;
class C
{
public T F<T>(T x)
{
var y = [|F(new C()).F(new C())|]?.F(new C());
return x;
}
}";
var expected =
@"using System;
class C
{
public T F<T>(T x)
{
var {|Rename:c|} = F(new C()).F(new C());
var y = c?.F(new C());
return x;
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false, options: ImplicitTypingEverywhere());
}
[WorkItem(1130990, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1130990")]
[WorkItem(3110, "https://github.com/dotnet/roslyn/issues/3110")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task MissingAcrossMultipleParentConditionalAccessExpressions()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
class C
{
public T F<T>(T x)
{
var y = [|F(new C())?.F(new C())|]?.F(new C());
return x;
}
}");
}
[WorkItem(1130990, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1130990")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task MissingOnInvocationExpressionInParentConditionalAccessExpressions()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
class C
{
public T F<T>(T x)
{
var y = F(new C())?.[|F(new C())|]?.F(new C());
return x;
}
}");
}
[WorkItem(1130990, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1130990")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task MissingOnMemberBindingExpressionInParentConditionalAccessExpressions()
{
await TestMissingInRegularAndScriptAsync(
@"using System;
class C
{
static void Test(string s)
{
var l = s?.[|Length|] ?? 0;
}
}");
}
[WorkItem(3147, "https://github.com/dotnet/roslyn/issues/3147")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task HandleFormattableStringTargetTyping1()
{
const string code = CodeSnippets.FormattableStringType + @"
namespace N
{
using System;
class C
{
public async Task M()
{
var f = FormattableString.Invariant([|$""""|]);
}
}
}";
const string expected = CodeSnippets.FormattableStringType + @"
namespace N
{
using System;
class C
{
public async Task M()
{
FormattableString {|Rename:v|} = $"""";
var f = FormattableString.Invariant(v);
}
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(936, "https://github.com/dotnet/roslyn/issues/936")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task InAutoPropertyInitializer()
{
var code =
@"using System;
class C
{
int Prop1 { get; } = [|1 + 2|];
}";
var expected =
@"using System;
class C
{
private const int {|Rename:V|} = 1 + 2;
int Prop1 { get; } = V;
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(936, "https://github.com/dotnet/roslyn/issues/936")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task InAutoPropertyInitializer2()
{
var code =
@"using System;
class C
{
public DateTime TimeStamp { get; } = [|DateTime.UtcNow|];
}";
var expected =
@"using System;
class C
{
private static readonly DateTime {|Rename:utcNow|} = DateTime.UtcNow;
public DateTime TimeStamp { get; } = utcNow;
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[WorkItem(936, "https://github.com/dotnet/roslyn/issues/936")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task BlockContextPreferredOverAutoPropertyInitializerContext()
{
var code =
@"using System;
class C
{
Func<int, int> X { get; } = a => { return [|7|]; };
}";
var expected =
@"using System;
class C
{
Func<int, int> X { get; } = a => { const int {|Rename:V|} = 7; return V; };
}";
await TestInRegularAndScriptAsync(code, expected, index: 2, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task Tuple_TuplesDisabled()
{
var code =
@"class C
{
var i = [|(1, ""hello"")|].ToString();
}";
var expected =
@"class C
{
private static readonly (int, string) {|Rename:p|} = (1, ""hello"");
var i = p.ToString();
}";
await TestAsync(code, expected, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task ElementOfTuple()
{
var code =
@"class C
{
var i = (1, [|""hello""|]).ToString();
}";
var expected =
@"class C
{
private const string {|Rename:V|} = ""hello"";
var i = (1, V).ToString();
}";
await TestInRegularAndScriptAsync(
code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task Tuple_IntroduceConstant()
{
var code =
@"class C
{
var i = [|(1, ""hello"")|].ToString();
}";
var expected =
@"class C
{
private static readonly (int, string) {|Rename:p|} = (1, ""hello"");
var i = p.ToString();
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithNames_IntroduceConstant()
{
var code =
@"class C
{
var i = [|(a: 1, b: ""hello"")|].ToString();
}";
var expected =
@"class C
{
private static readonly (int a, string b) {|Rename:p|} = (a: 1, b: ""hello"");
var i = p.ToString();
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task Tuple_IntroduceConstantForAllOccurrences()
{
var code =
@"class C
{
var i = [|(1, ""hello"")|].ToString() + (1, ""hello"").ToString();
}";
var expected =
@"class C
{
private static readonly (int, string) {|Rename:p|} = (1, ""hello"");
var i = p.ToString() + p.ToString();
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithNames_IntroduceConstantForAllOccurrences()
{
var code =
@"class C
{
var i = [|(a: 1, b: ""hello"")|].ToString() + (a: 1, b: ""hello"").ToString();
}";
var expected =
@"class C
{
private static readonly (int a, string b) {|Rename:p|} = (a: 1, b: ""hello"");
var i = p.ToString() + p.ToString();
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithDifferentNames_IntroduceConstantForAllOccurrences()
{
var code =
@"class C
{
var i = [|(a: 1, b: ""hello"")|].ToString() + (c: 1, d: ""hello"").ToString();
}";
var expected =
@"class C
{
private static readonly (int a, string b) {|Rename:p|} = (a: 1, b: ""hello"");
var i = p.ToString() + (c: 1, d: ""hello"").ToString();
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithOneName_IntroduceConstantForAllOccurrences()
{
var code =
@"class C
{
var i = [|(a: 1, ""hello"")|].ToString() + (a: 1, ""hello"").ToString();
}";
var expected =
@"class C
{
private static readonly (int a, string) {|Rename:p|} = (a: 1, ""hello"");
var i = p.ToString() + p.ToString();
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
// no third action available
await TestActionCountAsync(code, count: 2, parameters: new TestParameters(TestOptions.Regular));
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task Tuple_IntroduceLocalForAllOccurrences()
{
// Cannot refactor tuple as local constant
await Assert.ThrowsAsync<Xunit.Sdk.InRangeException>(() =>
TestInRegularAndScriptAsync(
@"class C
{
void Foo()
{
Bar([|(1, ""hello"")|]);
Bar((1, ""hello"");
}
}",
@"",
index: 3));
}
[WorkItem(11777, "https://github.com/dotnet/roslyn/issues/11777")]
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TestGenerateLocalConflictingName1()
{
await TestInRegularAndScriptAsync(
@"class Program
{
class MySpan { public int Start { get; } public int End { get; } }
void Method(MySpan span)
{
int pos = span.Start;
while (pos < [|span.End|])
{
int spanEnd = span.End;
int end = pos;
}
}
}",
@"
class Program
{
class MySpan { public int Start { get; } public int End { get; } }
void Method(MySpan span)
{
int pos = span.Start;
int {|Rename:end1|} = span.End;
while (pos < end1)
{
int spanEnd = span.End;
int end = pos;
}
}
}");
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithInferredName_LeaveExplicitName()
{
var code =
@"class C
{
static int y = 2;
void M()
{
int a = 1;
var t = (a, x: [|C.y|]);
}
}";
var expected =
@"class C
{
static int y = 2;
void M()
{
int a = 1;
int {|Rename:y1|} = C.y;
var t = (a, x: y1);
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithInferredName_InferredNameBecomesExplicit()
{
var code =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
var t = (x, [|C.y|]);
}
}";
var expected =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
int {|Rename:y1|} = C.y;
var t = (x, y: y1);
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithInferredName_AllOccurrences()
{
var code =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
var t = (x, [|C.y|]);
var t2 = (C.y, x);
}
}";
var expected =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
int {|Rename:y1|} = C.y;
var t = (x, y: y1);
var t2 = (y: y1, x);
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task TupleWithInferredName_NoDuplicateNames()
{
var code =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
var t = (C.y, [|C.y|]);
}
}";
var expected =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
int {|Rename:y1|} = C.y;
var t = (y1, y1);
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task AnonymousTypeWithInferredName_LeaveExplicitName()
{
var code =
@"class C
{
static int y = 2;
void M()
{
int a = 1;
var t = new { a, x= [|C.y|] };
}
}";
var expected =
@"class C
{
static int y = 2;
void M()
{
int a = 1;
int {|Rename:y1|} = C.y;
var t = new { a, x= y1 };
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task AnonymousTypeWithInferredName_InferredNameBecomesExplicit()
{
var code =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
var t = new { x, [|C.y|] };
}
}";
var expected =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
int {|Rename:y1|} = C.y;
var t = new { x, y = y1 };
}
}";
await TestInRegularAndScriptAsync(code, expected, ignoreTrivia: false);
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsIntroduceVariable)]
public async Task AnonymousTypeWithInferredName_NoDuplicatesAllowed()
{
var code =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
var t = new { C.y, [|C.y|] }; // this is an error already
}
}";
var expected =
@"class C
{
static int y = 2;
void M()
{
int x = 1;
int {|Rename:y1|} = C.y;
var t = new { y= y1, y= y1 }; // this is an error already
}
}";
await TestInRegularAndScriptAsync(code, expected, index: 1, ignoreTrivia: false);
}
}
}
|
akrisiun/roslyn
|
src/EditorFeatures/CSharpTest/CodeActions/IntroduceVariable/IntroduceVariableTests.cs
|
C#
|
apache-2.0
| 101,349
|
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <memory>
#include <iomanip>
#include <functional>
#include <new>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <climits>
#include <cctype>
#include <ctime>
#define REP(i, n) for(int (i) = 0; i < n; i++)
#define FOR(i, a, n) for(int (i) = a; i < n; i++)
#define FORR(i, a, n) for(int (i) = a; i <= n; i++)
#define for_each(q, s) for(typeof(s.begin()) q=s.begin(); q!=s.end(); q++)
#define sz(n) n.size()
#define pb(n) push_back(n)
#define all(n) n.begin(), n.end()
template<typename T> T gcd(T a, T b) {
if(!b) return a;
return gcd(b, a % b);
}
template<typename T> T lcm(T a, T b) {
return a * b / gcd(a, b);
}
using namespace std;
typedef long long ll;
typedef long double ld;
int main(void) {
string a = "0", b = "1", c;
for(int i = 0; i < 4; i++) {
c = b + a;
a = b;
b = c;
}
return 0;
}
|
aajjbb/contest-files
|
LiveArchive/FibonnaciWords.cpp
|
C++
|
apache-2.0
| 1,123
|
package in.co.waghmare;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
/**
* borrowed code from https://dzone.com/articles/unleash-power-java-8-stream
* Created by ashishw on 10/1/16.
*/
public class File {
public static List<String> getLines(String fileName) {
BufferedReader bufferedReader = null;
String fullPath = "";
try {
Path path = Paths.get("src/test/resources", fileName);
fullPath = path.toFile().getAbsolutePath();
bufferedReader = Files.newBufferedReader(path, StandardCharsets.ISO_8859_1);
return bufferedReader.lines()
.collect(Collectors.toList());
} catch (IOException exception) {
System.out.printf("Error occurred while trying to read the file %s", fullPath);
System.exit(0);
}
return Collections.emptyList();
}
}
|
ashishWaghmare/ashish-alchemy
|
src/main/java/in/co/waghmare/File.java
|
Java
|
apache-2.0
| 1,113
|
/**
* Select pages and assembly(optional)
*/
qx.Class.define("ncms.pgs.PagesSelector", {
extend: qx.ui.tabview.TabView,
properties: {
/**
* Page selected.
* Event data: {
* id : {Number} Page ID,
* name : {String} Page name,
* accessMask : {String}
* }
*/
selectedPage: {
check: "Object",
nullable: true,
event: "pageSelected"
},
/**
* Assembly selected.
* Event data: {
* id: asm["id"],
* template: {Boolean?}, //If assemply is template
* assembly: true, //Assembly data marker
* dblClick: {Boolean?} //Assembly was selected by double click
* }
*/
selectedAsm: {
check: "Object",
nullable: true,
event: "asmSelected"
}
},
events: {
/**
* Fired if either assembly or page was selected/deselected
* For data see event data descriptions for:
* `selectedPage` and `selectedAsm` properties
*/
"selected": "qx.event.type.Data"
},
/**
* @param allowModify {Boolean?false} Allow CRUD operations on pages
* @param opts {Map?} Options:
* <code>
* {
* asmOpts: {Object} //Assembly selection options, if set the assembly tab will be displayed
* foldersOnly : {Boolean?false} //Show only folders,
* accessAll : {String?} //Optional access all page security restriction
* }
* </code>
*/
construct: function (allowModify, opts) {
this.base(arguments, "top");
this._options = opts = opts || {};
var page;
if (opts.asmOpts != null) {
var asmOpts = opts.asmOpts;
page = new qx.ui.tabview.Page(asmOpts.title || this.tr("Assemblies"));
page.setLayout(new qx.ui.layout.Grow());
var as = this._asmSelector =
new ncms.asm.AsmSelector(
asmOpts.constViewSpec || {},
new sm.table.selection.ExtendedSelectionModel()
.set({selectionMode: qx.ui.table.selection.Model.SINGLE_SELECTION}),
asmOpts.useColumns || ["name", "description"]);
as.getTable().addListener("cellDbltap", this.__onAsmDblClick, this);
as.addListener("asmSelected", this.__onAsmSelected, this);
page.add(as);
this.add(page);
}
page = new qx.ui.tabview.Page(this.tr("Structure"));
page.setUserData("name", "structure");
page.setLayout(new qx.ui.layout.Grow());
var ts = this._treeSelector = new ncms.pgs.PagesTreeSelector(allowModify, opts);
ts.addListener("itemSelected", this.__onPageSelected, this);
page.add(ts);
this.add(page);
page = new qx.ui.tabview.Page(this.tr("Search"));
page.setUserData("name", "search");
page.setLayout(new qx.ui.layout.Grow());
var cvs = {};
if (opts["foldersOnly"]) {
cvs["foldersOnly"] = true;
}
var ss = this._searchSelector = new ncms.pgs.PagesSearchSelector(cvs, ["icon", "label", "path"]);
ss.addListener("appear", ss.refresh, ss);
ss.addListener("itemSelected", this.__onPageSelected, this);
page.add(ss);
// Tab switched
this.addListener("changeSelection", this.resetPagesSelection, this);
this.add(page);
},
members: {
_asmOpts: null,
_options: null,
/**
* Optonal assembly selector
*/
_asmSelector: null,
/**
* Pages tree navigation selector
*/
_treeSelector: null,
/**
* Pages search selector
*/
_searchSelector: null,
__onAsmDblClick: function () {
this.__asmSelected(this._asmSelector.getSelectedAsm(), true);
},
__onAsmSelected: function (ev) {
this.__asmSelected(ev.getData());
},
__asmSelected: function (asm, dblClick) {
var data = null;
if (asm != null) {
data = {
id: asm["id"],
template: asm["template"],
assembly: true,
dblClick: !!dblClick
};
// Reset selected page if assembly choosen
this.setSelectedPage(null);
}
this.setSelectedAsm(data);
this.fireDataEvent("selected", data);
},
__onPageSelected: function (ev) {
this.__pageSelected(ev.getData());
},
__pageSelected: function (pspec) {
var data = null;
if (pspec != null) {
data = {
id: pspec["id"],
name: pspec["label"],
accessMask: pspec["accessMask"]
};
this.setSelectedAsm(null);
}
this.setSelectedPage(data);
this.fireDataEvent("selected", data);
},
getSelectedPageWithExtraInfo: function (cb, cbCtx) {
var sp = this.getSelectedPage();
if (sp == null) {
cb.call(cbCtx, null);
return;
}
var req = new sm.io.Request(ncms.Application.ACT.getRestUrl("pages.path", {"id": sp["id"]}),
"GET", "application/json");
req.send(function (resp) {
qx.lang.Object.mergeWith(sp, resp.getContent() || {}, true);
cb.call(cbCtx, sp);
});
},
getAsmSelector: function () {
return this._asmSelector;
},
getTreeSelector: function () {
return this._treeSelector;
},
getSearchSelector: function () {
return this._searchSelector;
},
resetPagesSelection: function () {
var s = this.getSelectedPage() || this.getSelectedAsm();
this._treeSelector && this._treeSelector.resetSelection();
this._searchSelector && this._searchSelector.resetSelection();
this._asmSelector && this._asmSelector.resetSelection();
if (s != null) {
this.fireDataEvent("selected", null);
}
}
},
destruct: function () {
this._options = null;
this._treeSelector = null;
this._searchSelector = null;
this._asmSelector = null;
//this._disposeObjects("__field_name");
}
});
|
Softmotions/ncms
|
ncms-engine/ncms-engine-qx/src/main/qooxdoo/classes/ncms/pgs/PagesSelector.js
|
JavaScript
|
apache-2.0
| 6,806
|
package fr.free.nrw.commons.auth;
import android.accounts.Account;
import android.accounts.AccountAuthenticatorActivity;
import android.accounts.AccountAuthenticatorResponse;
import android.accounts.AccountManager;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.ColorRes;
import android.support.annotation.NonNull;
import android.support.annotation.StringRes;
import android.support.design.widget.TextInputLayout;
import android.support.v4.app.NavUtils;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatDelegate;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import java.io.IOException;
import java.util.Locale;
import javax.inject.Inject;
import javax.inject.Named;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import fr.free.nrw.commons.BuildConfig;
import fr.free.nrw.commons.PageTitle;
import fr.free.nrw.commons.R;
import fr.free.nrw.commons.Utils;
import fr.free.nrw.commons.WelcomeActivity;
import fr.free.nrw.commons.contributions.ContributionsActivity;
import fr.free.nrw.commons.di.ApplicationlessInjection;
import fr.free.nrw.commons.mwapi.MediaWikiApi;
import fr.free.nrw.commons.theme.NavigationBaseActivity;
import fr.free.nrw.commons.ui.widget.HtmlTextView;
import fr.free.nrw.commons.utils.ViewUtil;
import io.reactivex.Observable;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
import timber.log.Timber;
import static android.view.KeyEvent.KEYCODE_ENTER;
import static android.view.View.VISIBLE;
import static android.view.inputmethod.EditorInfo.IME_ACTION_DONE;
import static fr.free.nrw.commons.auth.AccountUtil.ACCOUNT_TYPE;
import static fr.free.nrw.commons.auth.AccountUtil.AUTH_TOKEN_TYPE;
public class LoginActivity extends AccountAuthenticatorActivity {
public static final String PARAM_USERNAME = "fr.free.nrw.commons.login.username";
@Inject MediaWikiApi mwApi;
@Inject AccountUtil accountUtil;
@Inject SessionManager sessionManager;
@Inject @Named("application_preferences") SharedPreferences prefs;
@Inject @Named("default_preferences") SharedPreferences defaultPrefs;
@BindView(R.id.loginButton) Button loginButton;
@BindView(R.id.signupButton) Button signupButton;
@BindView(R.id.loginUsername) EditText usernameEdit;
@BindView(R.id.loginPassword) EditText passwordEdit;
@BindView(R.id.loginTwoFactor) EditText twoFactorEdit;
@BindView(R.id.error_message_container) ViewGroup errorMessageContainer;
@BindView(R.id.error_message) TextView errorMessage;
@BindView(R.id.login_credentials) TextView loginCredentials;
@BindView(R.id.two_factor_container) TextInputLayout twoFactorContainer;
@BindView(R.id.forgotPassword) HtmlTextView forgotPasswordText;
ProgressDialog progressDialog;
private AppCompatDelegate delegate;
private LoginTextWatcher textWatcher = new LoginTextWatcher();
private Boolean loginCurrentlyInProgress = false;
private Boolean errorMessageShown = false;
private String resultantError;
private static final String RESULTANT_ERROR = "resultantError";
private static final String ERROR_MESSAGE_SHOWN = "errorMessageShown";
private static final String LOGING_IN = "logingIn";
@Override
public void onCreate(Bundle savedInstanceState) {
setTheme(Utils.isDarkTheme(this) ? R.style.DarkAppTheme : R.style.LightAppTheme);
getDelegate().installViewFactory();
getDelegate().onCreate(savedInstanceState);
super.onCreate(savedInstanceState);
ApplicationlessInjection
.getInstance(this.getApplicationContext())
.getCommonsApplicationComponent()
.inject(this);
setContentView(R.layout.activity_login);
ButterKnife.bind(this);
usernameEdit.addTextChangedListener(textWatcher);
usernameEdit.setOnFocusChangeListener((v, hasFocus) -> {
if (!hasFocus) {
ViewUtil.hideKeyboard(v);
}
});
passwordEdit.addTextChangedListener(textWatcher);
passwordEdit.setOnFocusChangeListener((v, hasFocus) -> {
if (!hasFocus) {
ViewUtil.hideKeyboard(v);
}
});
twoFactorEdit.addTextChangedListener(textWatcher);
passwordEdit.setOnEditorActionListener(newLoginInputActionListener());
loginButton.setOnClickListener(view -> performLogin());
signupButton.setOnClickListener(view -> signUp());
forgotPasswordText.setOnClickListener(view -> forgotPassword());
if(BuildConfig.FLAVOR.equals("beta")){
loginCredentials.setText(getString(R.string.login_credential));
} else {
loginCredentials.setVisibility(View.GONE);
}
}
private void forgotPassword() {
Utils.handleWebUrl(this, Uri.parse(BuildConfig.FORGOT_PASSWORD_URL));
}
@OnClick(R.id.about_privacy_policy)
void onPrivacyPolicyClicked() {
Utils.handleWebUrl(this,Uri.parse("https://github.com/commons-app/apps-android-commons/wiki/Privacy-policy\\"));
}
@Override
protected void onPostCreate(Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
getDelegate().onPostCreate(savedInstanceState);
}
@Override
protected void onResume() {
super.onResume();
if (prefs.getBoolean("firstrun", true)) {
WelcomeActivity.startYourself(this);
prefs.edit().putBoolean("firstrun", false).apply();
}
if (sessionManager.getCurrentAccount() != null
&& sessionManager.isUserLoggedIn()
&& sessionManager.getCachedAuthCookie() != null) {
startMainActivity();
}
}
@Override
protected void onDestroy() {
try {
// To prevent leaked window when finish() is called, see http://stackoverflow.com/questions/32065854/activity-has-leaked-window-at-alertdialog-show-method
if (progressDialog != null && progressDialog.isShowing()) {
progressDialog.dismiss();
}
} catch (Exception e) {
e.printStackTrace();
}
usernameEdit.removeTextChangedListener(textWatcher);
passwordEdit.removeTextChangedListener(textWatcher);
twoFactorEdit.removeTextChangedListener(textWatcher);
delegate.onDestroy();
super.onDestroy();
}
private void performLogin() {
loginCurrentlyInProgress = true;
Timber.d("Login to start!");
final String username = canonicializeUsername(usernameEdit.getText().toString());
final String password = passwordEdit.getText().toString();
String twoFactorCode = twoFactorEdit.getText().toString();
showLoggingProgressBar();
Observable.fromCallable(() -> login(username, password, twoFactorCode))
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(result -> handleLogin(username, password, result));
}
private String login(String username, String password, String twoFactorCode) {
try {
if (twoFactorCode.isEmpty()) {
return mwApi.login(username, password);
} else {
return mwApi.login(username, password, twoFactorCode);
}
} catch (IOException e) {
// Do something better!
return "NetworkFailure";
}
}
private void handleLogin(String username, String password, String result) {
Timber.d("Login done!");
if (result.equals("PASS")) {
handlePassResult(username, password);
} else {
loginCurrentlyInProgress = false;
errorMessageShown = true;
resultantError = result;
handleOtherResults(result);
}
}
private void showLoggingProgressBar() {
progressDialog = new ProgressDialog(this);
progressDialog.setIndeterminate(true);
progressDialog.setTitle(getString(R.string.logging_in_title));
progressDialog.setMessage(getString(R.string.logging_in_message));
progressDialog.setCanceledOnTouchOutside(false);
progressDialog.show();
}
private void handlePassResult(String username, String password) {
showSuccessAndDismissDialog();
requestAuthToken();
AccountAuthenticatorResponse response = null;
Bundle extras = getIntent().getExtras();
if (extras != null) {
Timber.d("Bundle of extras: %s", extras);
response = extras.getParcelable(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE);
if (response != null) {
Bundle authResult = new Bundle();
authResult.putString(AccountManager.KEY_ACCOUNT_NAME, username);
authResult.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE);
response.onResult(authResult);
}
}
accountUtil.createAccount(response, username, password);
startMainActivity();
}
protected void requestAuthToken() {
AccountManager accountManager = AccountManager.get(this);
Account curAccount = sessionManager.getCurrentAccount();
if (curAccount != null) {
accountManager.setAuthToken(curAccount, AUTH_TOKEN_TYPE, mwApi.getAuthCookie());
}
}
/**
* Match known failure message codes and provide messages.
*
* @param result String
*/
private void handleOtherResults(String result) {
if (result.equals("NetworkFailure")) {
// Matches NetworkFailure which is created by the doInBackground method
showMessageAndCancelDialog(R.string.login_failed_network);
} else if (result.toLowerCase(Locale.getDefault()).contains("nosuchuser".toLowerCase()) || result.toLowerCase().contains("noname".toLowerCase())) {
// Matches nosuchuser, nosuchusershort, noname
showMessageAndCancelDialog(R.string.login_failed_wrong_credentials);
emptySensitiveEditFields();
} else if (result.toLowerCase(Locale.getDefault()).contains("wrongpassword".toLowerCase())) {
// Matches wrongpassword, wrongpasswordempty
showMessageAndCancelDialog(R.string.login_failed_wrong_credentials);
emptySensitiveEditFields();
} else if (result.toLowerCase(Locale.getDefault()).contains("throttle".toLowerCase())) {
// Matches unknown throttle error codes
showMessageAndCancelDialog(R.string.login_failed_throttled);
} else if (result.toLowerCase(Locale.getDefault()).contains("userblocked".toLowerCase())) {
// Matches login-userblocked
showMessageAndCancelDialog(R.string.login_failed_blocked);
} else if (result.equals("2FA")) {
askUserForTwoFactorAuth();
} else {
// Occurs with unhandled login failure codes
Timber.d("Login failed with reason: %s", result);
showMessageAndCancelDialog(R.string.login_failed_generic);
}
}
/**
* Because Mediawiki is upercase-first-char-then-case-sensitive :)
* @param username String
* @return String canonicial username
*/
private String canonicializeUsername(String username) {
return new PageTitle(username).getText();
}
@Override
protected void onStart() {
super.onStart();
delegate.onStart();
}
@Override
protected void onStop() {
super.onStop();
delegate.onStop();
}
@Override
protected void onPostResume() {
super.onPostResume();
getDelegate().onPostResume();
}
@Override
public void setContentView(View view, ViewGroup.LayoutParams params) {
getDelegate().setContentView(view, params);
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
NavUtils.navigateUpFromSameTask(this);
return true;
}
return super.onOptionsItemSelected(item);
}
@Override
@NonNull
public MenuInflater getMenuInflater() {
return getDelegate().getMenuInflater();
}
@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
outState.putBoolean(LOGING_IN, loginCurrentlyInProgress);
outState.putBoolean(ERROR_MESSAGE_SHOWN, errorMessageShown);
outState.putString(RESULTANT_ERROR, resultantError);
}
@Override
protected void onRestoreInstanceState(Bundle savedInstanceState) {
super.onRestoreInstanceState(savedInstanceState);
loginCurrentlyInProgress = savedInstanceState.getBoolean(LOGING_IN, false);
errorMessageShown = savedInstanceState.getBoolean(ERROR_MESSAGE_SHOWN, false);
if(loginCurrentlyInProgress){
performLogin();
}
if(errorMessageShown){
resultantError = savedInstanceState.getString(RESULTANT_ERROR);
handleOtherResults(resultantError);
}
}
public void askUserForTwoFactorAuth() {
progressDialog.dismiss();
twoFactorContainer.setVisibility(VISIBLE);
twoFactorEdit.setVisibility(VISIBLE);
showMessageAndCancelDialog(R.string.login_failed_2fa_needed);
}
public void showMessageAndCancelDialog(@StringRes int resId) {
showMessage(resId, R.color.secondaryDarkColor);
if(progressDialog != null){
progressDialog.cancel();
}
}
public void showSuccessAndDismissDialog() {
showMessage(R.string.login_success, R.color.primaryDarkColor);
progressDialog.dismiss();
}
public void emptySensitiveEditFields() {
passwordEdit.setText("");
twoFactorEdit.setText("");
}
public void startMainActivity() {
NavigationBaseActivity.startActivityWithFlags(this, ContributionsActivity.class, Intent.FLAG_ACTIVITY_CLEAR_TOP);
finish();
}
private void signUp() {
Intent intent = new Intent(this, SignupActivity.class);
startActivity(intent);
}
private TextView.OnEditorActionListener newLoginInputActionListener() {
return (textView, actionId, keyEvent) -> {
if (loginButton.isEnabled()) {
if (actionId == IME_ACTION_DONE) {
performLogin();
return true;
} else if ((keyEvent != null) && keyEvent.getKeyCode() == KEYCODE_ENTER) {
performLogin();
return true;
}
}
return false;
};
}
private void showMessage(@StringRes int resId, @ColorRes int colorResId) {
errorMessage.setText(getString(resId));
errorMessage.setTextColor(ContextCompat.getColor(this, colorResId));
errorMessageContainer.setVisibility(VISIBLE);
}
private AppCompatDelegate getDelegate() {
if (delegate == null) {
delegate = AppCompatDelegate.create(this, null);
}
return delegate;
}
private class LoginTextWatcher implements TextWatcher {
@Override
public void beforeTextChanged(CharSequence charSequence, int start, int count, int after) {
}
@Override
public void onTextChanged(CharSequence charSequence, int start, int count, int after) {
}
@Override
public void afterTextChanged(Editable editable) {
boolean enabled = usernameEdit.getText().length() != 0 && passwordEdit.getText().length() != 0
&& (BuildConfig.DEBUG || twoFactorEdit.getText().length() != 0 || twoFactorEdit.getVisibility() != VISIBLE);
loginButton.setEnabled(enabled);
}
}
}
|
whym/apps-android-commons
|
app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java
|
Java
|
apache-2.0
| 16,449
|
package cn.edu.ruc.dao;
import java.util.Date;
import java.util.List;
import cn.edu.ruc.conf.base.device.Tag;
import cn.edu.ruc.httpapi.opentsdb.ExpectResponse;
import cn.edu.ruc.httpapi.opentsdb.HttpClient;
import cn.edu.ruc.httpapi.opentsdb.HttpClientImpl;
import cn.edu.ruc.httpapi.opentsdb.builder.MetricBuilder;
import cn.edu.ruc.httpapi.opentsdb.response.Response;
import cn.edu.ruc.model.BenchmarkPoint;
public class OpentsdbDao implements BaseDao {
@Override
public long insertMultiPoints(List<BenchmarkPoint> points) {
MetricBuilder builder = MetricBuilder.getInstance();
HttpClient client = new HttpClientImpl("");
for(BenchmarkPoint point:points){
StringBuilder pathBuffer=new StringBuilder();
List<Tag> deviceTags = point.getDeviceTags();
for(Tag tag:deviceTags){
pathBuffer.append(tag.getValue());
pathBuffer.append(".");
}
pathBuffer.append(point.getDeviceName());
builder.addMetric(pathBuffer.toString()).setDataPoint(point.getTimestamp(),point.getValue().doubleValue());
}
try {
Response response = client.pushMetrics(builder,ExpectResponse.DETAIL);
} catch (Exception e) {
e.printStackTrace();
}
return 0;
}
@Override
public boolean deleteAllPoints() {
return false;
}
@Override
public long selectPointsByTime(Date beginTime, Date endTime,
String device, String sensor) {
// TODO Auto-generated method stub
return -1;
}
@Override
public long selectMaxByTimeAndDevice(String sqlId, Date beginTime, Date endTime, String device,
List<String> sensors) {
// TODO Auto-generated method stub
return -1;
}
}
|
foruever/benchmark-dev
|
src/main/java/cn/edu/ruc/dao/OpentsdbDao.java
|
Java
|
apache-2.0
| 1,603
|
//
// Aircraft.h
// Strategy
//
// Created by btw on 15/3/9.
// Copyright (c) 2015年 Nihility. All rights reserved.
//
#import <Foundation/Foundation.h>
@class Flight;
@protocol Flight;
@class TakeOff;
@protocol TakeOff;
@interface Aircraft : NSObject
@property (strong, nonatomic) Flight<Flight> *flight;
@property (strong, nonatomic) TakeOff<TakeOff> *takeOff;
- (instancetype)initWithFlight:(Flight<Flight> *)flight takeOff:(TakeOff<TakeOff> *)takeOff;
- (void)print;
@end
|
Nihility-Ming/Design_Patterns_In_Objective-C
|
行为型模式/策略模式/Example_01/Strategy/Aircraft.h
|
C
|
apache-2.0
| 489
|
# Verbesina otuzcensis Sagást. & Quipuscoa SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null
|
mdoering/backbone
|
life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Verbesina otuzcensis/README.md
|
Markdown
|
apache-2.0
| 191
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Pasini Sara - 832328, PaulonTommaso - 810904, YuanZhan - 806508</title>
<!-- Bootstrap Core CSS -->
<link href="../css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="../css/modern-business.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://hyp16.altervista.org/index.html">Telecom Italia Mobile</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://hyp16.altervista.org/index.html">Home</a>
</li>
<li>
<a href="http://hyp16.altervista.org/html/group.html">Telecom Italia Group-TIM</a>
</li>
<li>
<a href="http://hyp16.altervista.org/html/aboutus.html">About Us</a>
</li>
<li>
<a href="#">Devices</a>
</li>
<li>
<a href="http://hyp16.altervista.org/html/slHome.html">SL Services</a>
</li>
<li>
<a href="http://hyp16.altervista.org/html/assistanceservices.html">Assistance Services</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Page Content -->
<div class="container">
<!-- Page Heading/Breadcrumbs -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Prodotti
<small>Home</small>
</h1>
<ol class="breadcrumb">
<li><a href="http://hyp16.altervista.org/index.html">Home</a>
</li>
<li class="active">Prodotti</li>
</ol>
</div>
</div>
<!-- /.row -->
<div class="row">
<!-- Blog Entries Column -->
<div class="col-md-8">
<h2>
Device
</h2>
<hr>
<div class="results">Seleziona una categoria per vedere i Prodotti!</div>
</div>
<!-- Blog Sidebar Widgets Column -->
<div class="col-md-4">
<!-- Blog Categories Well -->
<div class="well">
<div class="scelta">
<h4>Blog Categories</h4>
<div class="row">
<div class="col-lg-6">
<ul class="list-unstyled">
<li><a href="#" class="loadmore" id="offerta">Offerte</a>
</li>
<li><a href="#" class="loadmore" id="new">Novità</a>
</li>
</ul>
<ul class="list-unstyled">
<li><a href="#" class="loadmore" id="smartphone">Smartphone</a>
</li>
<li><a href="#" class="loadmore" id="Tablet/PC">Tablet e PC</a>
</li>
<li><a href="#" class="loadmore" id="TV">TV</a>
</li>
<li><a href="#" class="loadmore" id="Decoder">Decoder</a>
</li>
<li><a href="#" class="loadmore" id="Telecamere">Telecamere</a>
</li>
<li><a href="#" class="loadmore" id="Modem">Modem</a>
</li>
</ul>
</div>
</div>
<!-- /.col-lg-6 -->
</div>
<!-- /.row -->
</div>
</div>
</div>
<!-- /.row -->
<hr>
<!-- Footer -->
<footer>
<div class="row">
<div class="col-lg-12">
<p>Pasini Sara(832328) PaulonTommaso(810904) YuanZhan(806508)<br>
2016 - Hypermedia Applications Project</p>
</div>
</div>
</footer>
</div>
<!-- /.container -->
<!-- jQuery -->
<script src="http://hyp16.altervista.org/js/jquery.js"></script>
<!-- ScriptCategorie -->
<script src="http://hyp16.altervista.org/js/scriptCategorie.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="http://hyp16.altervista.org/js/bootstrap.min.js"></script>
</body>
</html>
|
saumenestrello/temp
|
html/devicesHome.html
|
HTML
|
apache-2.0
| 6,369
|
package org.yuanmomo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class NotPrint {
private static Logger logger = LoggerFactory.getLogger(NotPrint.class);
public static void print(){
logger.warn(NotPrint.class + " not print");
}
}
|
yuanmomo/log4j-demo
|
src/main/java/org/yuanmomo/NotPrint.java
|
Java
|
apache-2.0
| 269
|
/*
* Copyright (C) 2013 Michał Charmas (http://blog.charmas.pl)
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.phonex.intellij.android.dbmodel.typeserializers.serializers;
import com.intellij.psi.PsiField;
import net.phonex.intellij.android.dbmodel.typeserializers.TypeSerializer;
public class BooleanSparseArraySerializer implements TypeSerializer {
@Override
public String writeValue(PsiField field, String parcel, String flags) {
return parcel + ".writeSparseBooleanArray(this." + field.getName() + ");";
}
@Override
public String readValue(PsiField field, String parcel) {
return "this." + field.getName() + " = " + parcel + ".readSparseBooleanArray();";
}
}
|
ph4r05/AndroidStudioDbModelGenerator
|
src/net/phonex/intellij/android/dbmodel/typeserializers/serializers/BooleanSparseArraySerializer.java
|
Java
|
apache-2.0
| 1,237
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.smsc.usuario.ui;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
import com.smsc.usuario.dao.clsIncidentesDAO;
import com.smsc.usuario.entidades.clsIncidente;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author Babsy Gamboa
*/
public class MisIncidentesActivity extends Activity {
/**
* Called when the activity is first created.
*/
private List<clsIncidente> itens=null;
private ListView List;
private AdaptadorTitulares adaptador;
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.mis_incidentes);
itens=clsIncidentesDAO.Listar(this,true);
List = (ListView)findViewById(R.id.list);
Buscar();
}
public void Buscar()
{
if(itens!=null && itens.size()!=0)
{
adaptador = new AdaptadorTitulares(this);
List.setAdapter(adaptador);
}
else
{
Toast.makeText(this,"No se encontraron Itinerarios", Toast.LENGTH_SHORT).show();
}
}
class AdaptadorTitulares extends ArrayAdapter {
Activity context;
AdaptadorTitulares(Activity context) {
super(context, R.layout.mis_incidentes_lista, itens);
this.context = context;
}
public View getView(int position, View convertView, ViewGroup parent) {
final int posicion = position;
LayoutInflater inflater = context.getLayoutInflater();
View item = inflater.inflate(R.layout.mis_incidentes_lista, null);
TextView lblAsunto = (TextView)item.findViewById(R.id.lblAsunto);
lblAsunto.setText(itens.get(position).getStr_detalle());
TextView lblNombreInciente = (TextView)item.findViewById(R.id.lblNombreInciente);
lblNombreInciente.setText(itens.get(position).getStr_tipo_incidente_nombre());
TextView lblEstado = (TextView)item.findViewById(R.id.lblEstado);
lblEstado.setText("Enviado");
if(itens.get(posicion).getInt_estado()==1)
lblEstado.setText("En Progreso");
else if(itens.get(posicion).getInt_estado()==2)
lblEstado.setText("Valido");
else if(itens.get(posicion).getInt_estado()==3)
lblEstado.setText("Invalido");
SimpleDateFormat fecha=new SimpleDateFormat("dd/MM/yyyy");
SimpleDateFormat hora=new SimpleDateFormat("h:mm a");
TextView lblFecha = (TextView)item.findViewById(R.id.lblFecha);
lblFecha.setText(fecha.format(itens.get(position).getDat_fecha_registro()));
TextView lblHora = (TextView)item.findViewById(R.id.lblHora);
lblHora.setText(hora.format(itens.get(position).getDat_fecha_registro()));
Button btnDetalle = (Button)item.findViewById(R.id.btnDetalle);
btnDetalle.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i=new Intent(MisIncidentesActivity.this,DetalleIncidenteActivity.class);
// i.putExtra("idEmpresa",""+itens.get(posicion).getInt_id_empresa());
startActivity(i);
}
});
//
return(item);
}
}
public void getBtnInformacion(int id)
{
// Toast.makeText(this,""+itens.get(id).getDou_precio(), Toast.LENGTH_SHORT).show();
}
// public void getBtnSiguiente(clsBus entidad)
// {
// clsBusDAO.Agregar(this,entidad);
// Intent i=new Intent(this,SeleccionaAsientoActivity.class);
// startActivity(i);
// }
}
|
edham/SMSC
|
SMSCUsuario/src/com/smsc/usuario/ui/MisIncidentesActivity.java
|
Java
|
apache-2.0
| 4,378
|
/**
* 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 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.camel.component.sip.listener;
import java.util.HashMap;
import java.util.Map;
public interface SipMessageCodes {
Map<Integer, String> SIP_MESSAGE_CODES =
new HashMap<Integer, String>()
{
{
put(new Integer(100), "Trying");
put(new Integer(180), "Ringing");
put(new Integer(181), "Call Being Forwarded");
put(new Integer(182), "Call Queued");
put(new Integer(183), "Session Progress");
put(new Integer(200), "OK");
put(new Integer(202), "Accepted");
put(new Integer(300), "Multiple Choices");
put(new Integer(301), "Moved Permanently");
put(new Integer(302), "Moved Temporarily");
put(new Integer(305), "Use Proxy");
put(new Integer(380), "Alternative Service");
put(new Integer(400), "Bad Request");
put(new Integer(401), "Unauthorized");
put(new Integer(402), "Payment Required");
put(new Integer(403), "Forbidden");
put(new Integer(404), "Not Found");
put(new Integer(405), "Method Not Allowed");
put(new Integer(406), "Not Acceptable");
put(new Integer(407), "Proxy Authentication Required");
put(new Integer(408), "Request Timeout");
put(new Integer(409), "Conflict");
put(new Integer(410), "Gone");
put(new Integer(411), "Length Required");
put(new Integer(413), "Request Entity Too Large");
put(new Integer(414), "Request URI Too Long");
put(new Integer(415), "Unsupported Media Type");
put(new Integer(416), "Unsupported URI Scheme");
put(new Integer(420), "Bad Extension");
put(new Integer(421), "Extension Required");
put(new Integer(423), "Interval Too Brief");
put(new Integer(480), "Temporarily Unavailable");
put(new Integer(481), "Call/Transaction Does Not Exist");
put(new Integer(482), "Loop Detected");
put(new Integer(483), "Too Many Hops");
put(new Integer(484), "Address Incomplete");
put(new Integer(485), "Ambiguous");
put(new Integer(486), "Busy Here");
put(new Integer(487), "Request Terminated");
put(new Integer(488), "Not Acceptable Here");
put(new Integer(491), "Request Pending");
put(new Integer(493), "Undecipherable");
put(new Integer(500), "Server Internal Error");
put(new Integer(501), "Not Implemented");
put(new Integer(502), "Bad Gateway");
put(new Integer(503), "Service Unavailable");
put(new Integer(504), "Server Time-Out");
put(new Integer(505), "Version Not Supported");
put(new Integer(513), "Message Too Large");
put(new Integer(600), "Busy Everywhere");
put(new Integer(603), "Declined");
put(new Integer(604), "Does Not Exist Anywhere");
put(new Integer(605), "Not Acceptable");
}
};
}
|
kingargyle/turmeric-bot
|
components/camel-sip/src/main/java/org/apache/camel/component/sip/listener/SipMessageCodes.java
|
Java
|
apache-2.0
| 4,160
|
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding your
| database. Just tell the factory how a default model should look.
|
*/
$factory->define(openvidsys\User::class, function (Faker\Generator $faker) {
return [
'name' => $faker->name,
'email' => $faker->email,
'password' => bcrypt(str_random(10)),
'remember_token' => str_random(10),
];
});
|
bhavyanshu/OpenVID-sys
|
database/factories/ModelFactory.php
|
PHP
|
apache-2.0
| 653
|
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class Before1v1Game : MonoBehaviour {
public GUISkin skin_mapa_Forta;
public GUISkin skin_mapa_Koila;
public GUISkin skin_mapa_Gajuta;
public GUISkin skin_mapa_Omaron;
public GUISkin skin_mapa_Pountedal;
public GUISkin skin_mapa_Rountha;
public GUISkin menuSkin;
GUIStyle style_mapa_Forta;
GUIStyle style_mapa_Koila;
GUIStyle style_mapa_Gajuta;
GUIStyle style_mapa_Omaron;
GUIStyle style_mapa_Pountedal;
GUIStyle style_mapa_Rountha;
GUIStyle text;
string selected;
Languages language = new Languages();
string Jazyk;
public static string zakladna = "";
// Use this for initialization
void Start()
{
text = menuSkin.button;
style_mapa_Forta = skin_mapa_Forta.button;
style_mapa_Gajuta = skin_mapa_Gajuta.button;
style_mapa_Koila = skin_mapa_Koila.button;
style_mapa_Omaron = skin_mapa_Omaron.button;
style_mapa_Pountedal = skin_mapa_Pountedal.button;
style_mapa_Rountha = skin_mapa_Rountha.button;
selected = "Forta";
Jazyk = setLanguage.global_jazyk;
if (Jazyk == "") Jazyk= "english";
text.fontSize = (int)(Mathf.Round(Screen.width / 30));
}
// Update is called once per frame
void Update()
{
}
void OnGUI()
{
if (GUI.Button(new Rect(Screen.width / 2.25f, Screen.height / 9, Screen.width / 4, Screen.height / 5), "", style_mapa_Forta))
{
selected = "Forta";
}
if (GUI.Button(new Rect(Screen.width / 2.5f, Screen.height / 2.5f, Screen.width / 4, Screen.height / 3.5f), "", style_mapa_Gajuta))
{
selected = "Gajuta";
}
if (GUI.Button(new Rect(Screen.width / 5, Screen.height / 10, Screen.width / 5, Screen.height / 5), "", style_mapa_Koila))
{
selected = "Koila";
}
if (GUI.Button(new Rect(Screen.width / 1.5f, Screen.height / 1.5f, Screen.width / 8, Screen.height / 9), "", style_mapa_Omaron))
{
selected = "Omaron";
}
if (GUI.Button(new Rect(Screen.width / 9, Screen.height / 1.35f, Screen.width / 6, Screen.height / 7), "", style_mapa_Pountedal))
{
selected = "Pountedal";
}
if (GUI.Button(new Rect(Screen.width / 1.35f, Screen.height / 2.25f, Screen.width / 4, Screen.height / 5), "", style_mapa_Rountha))
{
selected = "Rountha";
}
GUI.Label(new Rect(0, 0, Screen.width, Screen.height/8), language.GetSlovo(Jazyk,"ingame_selectarea"),text);
GUI.Label(new Rect(0, Screen.height - Screen.height / 8, Screen.width / 2, Screen.height / 8), language.GetSlovo(Jazyk, "ingame_selected") + " "+ selected, text);
if (GUI.Button(new Rect(Screen.width / 2, Screen.height - Screen.height / 8, Screen.width / 3, Screen.height / 8), language.GetSlovo(Jazyk, "ingame_accept"), text))
{
zakladna = "selected";
SceneManager.LoadScene(5);
}
}
}
|
somik861/nasemama
|
Assets/Scripts/InGame/1v1/Before1v1Game.cs
|
C#
|
apache-2.0
| 3,114
|
/*
* 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 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.kafka.common.protocol.types;
import org.apache.kafka.common.record.BaseRecords;
import java.nio.ByteBuffer;
import java.util.Arrays;
/**
* A record that can be serialized and deserialized according to a pre-defined schema
*/
public class Struct {
private final Schema schema;
private final Object[] values;
Struct(Schema schema, Object[] values) {
this.schema = schema;
this.values = values;
}
public Struct(Schema schema) {
this.schema = schema;
this.values = new Object[this.schema.numFields()];
}
/**
* The schema for this struct.
*/
public Schema schema() {
return this.schema;
}
/**
* Return the value of the given pre-validated field, or if the value is missing return the default value.
*
* @param field The field for which to get the default value
* @throws SchemaException if the field has no value and has no default.
*/
private Object getFieldOrDefault(BoundField field) {
Object value = this.values[field.index];
if (value != null)
return value;
else if (field.def.hasDefaultValue)
return field.def.defaultValue;
else if (field.def.type.isNullable())
return null;
else
throw new SchemaException("Missing value for field '" + field.def.name + "' which has no default value.");
}
/**
* Get the value for the field directly by the field index with no lookup needed (faster!)
*
* @param field The field to look up
* @return The value for that field.
* @throws SchemaException if the field has no value and has no default.
*/
public Object get(BoundField field) {
validateField(field);
return getFieldOrDefault(field);
}
public Byte get(Field.Int8 field) {
return getByte(field.name);
}
public Integer get(Field.Int32 field) {
return getInt(field.name);
}
public Long get(Field.Int64 field) {
return getLong(field.name);
}
public Short get(Field.Int16 field) {
return getShort(field.name);
}
public String get(Field.Str field) {
return getString(field.name);
}
public String get(Field.NullableStr field) {
return getString(field.name);
}
public Object[] get(Field.Array field) {
return getArray(field.name);
}
public Object[] get(Field.ComplexArray field) {
return getArray(field.name);
}
public Long getOrElse(Field.Int64 field, long alternative) {
if (hasField(field.name))
return getLong(field.name);
return alternative;
}
public Short getOrElse(Field.Int16 field, short alternative) {
if (hasField(field.name))
return getShort(field.name);
return alternative;
}
public Byte getOrElse(Field.Int8 field, byte alternative) {
if (hasField(field.name))
return getByte(field.name);
return alternative;
}
public Integer getOrElse(Field.Int32 field, int alternative) {
if (hasField(field.name))
return getInt(field.name);
return alternative;
}
public String getOrElse(Field.NullableStr field, String alternative) {
if (hasField(field.name))
return getString(field.name);
return alternative;
}
public String getOrElse(Field.Str field, String alternative) {
if (hasField(field.name))
return getString(field.name);
return alternative;
}
public boolean getOrElse(Field.Bool field, boolean alternative) {
if (hasField(field.name))
return getBoolean(field.name);
return alternative;
}
public Object[] getOrEmpty(Field.Array field) {
if (hasField(field.name))
return getArray(field.name);
return new Object[0];
}
public Object[] getOrEmpty(Field.ComplexArray field) {
if (hasField(field.name))
return getArray(field.name);
return new Object[0];
}
/**
* Get the record value for the field with the given name by doing a hash table lookup (slower!)
*
* @param name The name of the field
* @return The value in the record
* @throws SchemaException If no such field exists
*/
public Object get(String name) {
BoundField field = schema.get(name);
if (field == null)
throw new SchemaException("No such field: " + name);
return getFieldOrDefault(field);
}
/**
* Check if the struct contains a field.
* @param name
* @return Whether a field exists.
*/
public boolean hasField(String name) {
return schema.get(name) != null;
}
public boolean hasField(Field def) {
return schema.get(def.name) != null;
}
public boolean hasField(Field.ComplexArray def) {
return schema.get(def.name) != null;
}
public Struct getStruct(BoundField field) {
return (Struct) get(field);
}
public Struct getStruct(String name) {
return (Struct) get(name);
}
public Byte getByte(BoundField field) {
return (Byte) get(field);
}
public byte getByte(String name) {
return (Byte) get(name);
}
public BaseRecords getRecords(String name) {
return (BaseRecords) get(name);
}
public Short getShort(BoundField field) {
return (Short) get(field);
}
public Short getShort(String name) {
return (Short) get(name);
}
public Integer getInt(BoundField field) {
return (Integer) get(field);
}
public Integer getInt(String name) {
return (Integer) get(name);
}
public Long getUnsignedInt(String name) {
return (Long) get(name);
}
public Long getLong(BoundField field) {
return (Long) get(field);
}
public Long getLong(String name) {
return (Long) get(name);
}
public Object[] getArray(BoundField field) {
return (Object[]) get(field);
}
public Object[] getArray(String name) {
return (Object[]) get(name);
}
public String getString(BoundField field) {
return (String) get(field);
}
public String getString(String name) {
return (String) get(name);
}
public Boolean getBoolean(BoundField field) {
return (Boolean) get(field);
}
public Boolean getBoolean(String name) {
return (Boolean) get(name);
}
public ByteBuffer getBytes(BoundField field) {
Object result = get(field);
if (result instanceof byte[])
return ByteBuffer.wrap((byte[]) result);
return (ByteBuffer) result;
}
public ByteBuffer getBytes(String name) {
Object result = get(name);
if (result instanceof byte[])
return ByteBuffer.wrap((byte[]) result);
return (ByteBuffer) result;
}
/**
* Set the given field to the specified value
*
* @param field The field
* @param value The value
* @throws SchemaException If the validation of the field failed
*/
public Struct set(BoundField field, Object value) {
validateField(field);
this.values[field.index] = value;
return this;
}
/**
* Set the field specified by the given name to the value
*
* @param name The name of the field
* @param value The value to set
* @throws SchemaException If the field is not known
*/
public Struct set(String name, Object value) {
BoundField field = this.schema.get(name);
if (field == null)
throw new SchemaException("Unknown field: " + name);
this.values[field.index] = value;
return this;
}
public Struct set(Field.Str def, String value) {
return set(def.name, value);
}
public Struct set(Field.NullableStr def, String value) {
return set(def.name, value);
}
public Struct set(Field.Int8 def, byte value) {
return set(def.name, value);
}
public Struct set(Field.Int32 def, int value) {
return set(def.name, value);
}
public Struct set(Field.Int64 def, long value) {
return set(def.name, value);
}
public Struct set(Field.Int16 def, short value) {
return set(def.name, value);
}
public Struct set(Field.Array def, Object[] value) {
return set(def.name, value);
}
public Struct set(Field.ComplexArray def, Object[] value) {
return set(def.name, value);
}
public Struct setIfExists(Field.Array def, Object[] value) {
return set(def.name, value);
}
public Struct setIfExists(Field.ComplexArray def, Object[] value) {
return set(def.name, value);
}
public Struct setIfExists(Field def, Object value) {
return setIfExists(def.name, value);
}
public Struct setIfExists(String fieldName, Object value) {
BoundField field = this.schema.get(fieldName);
if (field != null)
this.values[field.index] = value;
return this;
}
/**
* Create a struct for the schema of a container type (struct or array). Note that for array type, this method
* assumes that the type is an array of schema and creates a struct of that schema. Arrays of other types can't be
* instantiated with this method.
*
* @param field The field to create an instance of
* @return The struct
* @throws SchemaException If the given field is not a container type
*/
public Struct instance(BoundField field) {
validateField(field);
if (field.def.type instanceof Schema) {
return new Struct((Schema) field.def.type);
} else if (field.def.type instanceof ArrayOf) {
ArrayOf array = (ArrayOf) field.def.type;
return new Struct((Schema) array.type());
} else {
throw new SchemaException("Field '" + field.def.name + "' is not a container type, it is of type " + field.def.type);
}
}
/**
* Create a struct instance for the given field which must be a container type (struct or array)
*
* @param field The name of the field to create (field must be a schema type)
* @return The struct
* @throws SchemaException If the given field is not a container type
*/
public Struct instance(String field) {
return instance(schema.get(field));
}
public Struct instance(Field field) {
return instance(schema.get(field.name));
}
public Struct instance(Field.ComplexArray field) {
return instance(schema.get(field.name));
}
/**
* Empty all the values from this record
*/
public void clear() {
Arrays.fill(this.values, null);
}
/**
* Get the serialized size of this object
*/
public int sizeOf() {
return this.schema.sizeOf(this);
}
/**
* Write this struct to a buffer
*/
public void writeTo(ByteBuffer buffer) {
this.schema.write(buffer, this);
}
/**
* Ensure the user doesn't try to access fields from the wrong schema
*
* @throws SchemaException If validation fails
*/
private void validateField(BoundField field) {
if (this.schema != field.schema)
throw new SchemaException("Attempt to access field '" + field.def.name + "' from a different schema instance.");
if (field.index > values.length)
throw new SchemaException("Invalid field index: " + field.index);
}
/**
* Validate the contents of this struct against its schema
*
* @throws SchemaException If validation fails
*/
public void validate() {
this.schema.validate(this);
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append('{');
for (int i = 0; i < this.values.length; i++) {
BoundField f = this.schema.get(i);
b.append(f.def.name);
b.append('=');
if (f.def.type instanceof ArrayOf && this.values[i] != null) {
Object[] arrayValue = (Object[]) this.values[i];
b.append('[');
for (int j = 0; j < arrayValue.length; j++) {
b.append(arrayValue[j]);
if (j < arrayValue.length - 1)
b.append(',');
}
b.append(']');
} else
b.append(this.values[i]);
if (i < this.values.length - 1)
b.append(',');
}
b.append('}');
return b.toString();
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
for (int i = 0; i < this.values.length; i++) {
BoundField f = this.schema.get(i);
if (f.def.type instanceof ArrayOf) {
if (this.get(f) != null) {
Object[] arrayObject = (Object[]) this.get(f);
for (Object arrayItem: arrayObject)
result = prime * result + arrayItem.hashCode();
}
} else {
Object field = this.get(f);
if (field != null) {
result = prime * result + field.hashCode();
}
}
}
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
Struct other = (Struct) obj;
if (schema != other.schema)
return false;
for (int i = 0; i < this.values.length; i++) {
BoundField f = this.schema.get(i);
boolean result;
if (f.def.type instanceof ArrayOf) {
result = Arrays.equals((Object[]) this.get(f), (Object[]) other.get(f));
} else {
Object thisField = this.get(f);
Object otherField = other.get(f);
return (thisField == null) ? (otherField == null) : thisField.equals(otherField);
}
if (!result)
return false;
}
return true;
}
}
|
mihbor/kafka
|
clients/src/main/java/org/apache/kafka/common/protocol/types/Struct.java
|
Java
|
apache-2.0
| 15,240
|
/*
* 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 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the license for the specific language governing permissions and
* limitations under the license.
*/
package org.apache.logging.log4j.core.util;
import java.io.IOException;
import java.io.Writer;
public class CloseShieldWriter extends Writer {
private final Writer delegate;
public CloseShieldWriter(final Writer delegate) {
this.delegate = delegate;
}
@Override
public void close() throws IOException {
// do not close delegate
}
@Override
public void flush() throws IOException {
delegate.flush();
}
@Override
public void write(final char[] cbuf, final int off, final int len) throws IOException {
delegate.write(cbuf, off, len);
}
}
|
SourceStudyNotes/log4j2
|
src/main/java/org/apache/logging/log4j/core/util/CloseShieldWriter.java
|
Java
|
apache-2.0
| 1,425
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<!-- compiled css output -->
<!--link href="css/ionic.app.css" rel="stylesheet"-->
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="lib/ngCordova/dist/ng-cordova.min.js"></script>
<!-- cordova script (this will be a 404 during development) -->
<script src="cordova.js"></script>
<!-- your app's js -->
<script src="js/app.js"></script>
</head>
<body ng-app="starter">
<ion-pane ng-controller="MyCtrl">
<ion-header-bar class="bar-royal bar bar-header disable-user-behavior">
<div class="buttons">
<button class="button button-icon icon ion-ios-minus-outline" ng-click="data.showDelete = !data.showDelete"></button>
</div>
<h1 class="title">Shopping List</h1>
<div class="buttons">
<button class="button button-icon icon ion-ios-plus-outline" ng-click="addNewItem()">
</button>
</div>
</ion-header-bar>
<ion-content class="scroll-content ionic-scroll has-header">
<ion-list show-delete="data.showDelete" can-swipe="listCanSwipe">
<ion-item ng-repeat="item in items track by $index" class="padding item item-text-wrap">
<div class="item-text-center">
<label class="checkbox checkbox-royal">
<input type="checkbox" ng-click="isCompleted(item)" ng-model="item.isCompleted">
</label>
<label class="padding-left royal">
{{item.itemDesc | uppercase}}
</label>
</div>
<ion-option-button class="button-info button-royal" ng-click="editItem(item)" ng-show="!item.isCompleted">
<i class="ion-edit">Edit</i>
</ion-option-button>
<ion-delete-button class="ion-minus-circled" ng-click="removeItem(item)">
</ion-delete-button>
</ion-item>
</ion-list>
</ion-content>
</ion-pane>
</body>
</html>
|
rajeshsse/RishabExploringIonic
|
ShoppingList/www/index.html
|
HTML
|
apache-2.0
| 2,455
|
include_recipe "grizzly::quantum_ovs_agent"
# Glance variables
role = getRole
controller_role = "controller_node"
controller_private_ip = ""
public_interface = ""
private_ip = ""
private_interface = ""
private_netmask = ""
quantum_user = "quantum"
quantum_password = ""
mysql_quantum_password = ""
# Query controller ip
partial_search(:node, "role:#{controller_role}",
:keys => {
'controller_private_ip' => [ 'grizzly', controller_role, 'network', 'private', 'ip' ],
'private_ip' => [ 'grizzly', role, 'network', 'private', 'ip' ],
'quantum_password' => [ 'grizzly', controller_role, quantum_user, 'password' ],
'mysql_quantum_password' => ['grizzly', controller_role, 'mysql', 'user_data', quantum_user, 'password'],
'public_interface' => [ 'grizzly', role, 'network', 'public', 'interface' ],
'private_interface' => [ 'grizzly', role, 'network', 'private', 'interface' ],
'private_netmask' => [ 'grizzly', role, 'network', 'private', 'netmask' ]
}
).each do |result|
controller_private_ip = result['controller_private_ip']
public_interface = result['public_interface']
private_ip = result['private_ip']
private_interface = result['private_interface']
private_netmask = result['private_netmask']
quantum_password = result['quantum_password']
mysql_quantum_password = result['mysql_quantum_password']
end
%w{quantum-dhcp-agent quantum-l3-agent quantum-metadata-agent}.each do | pkg |
package pkg do
action :install
end
end
template "/etc/quantum/metadata_agent.ini" do
source "quantum/metadata_agent.ini.erb"
owner "root"
group "root"
mode "0744"
variables ({
:quantum_user => quantum_user,
:quantum_password => quantum_password,
:controller_private_ip => controller_private_ip,
:auth_host => controller_private_ip
})
end
bash "Adding quantum into sudoers" do
not_if(" grep quantum /etc/sudoers ")
code <<-CODE
echo "quantum ALL=NOPASSWD: ALL" >> /etc/sudoers
CODE
end
%w{quantum-dhcp-agent quantum-l3-agent quantum-metadata-agent quantum-plugin-openvswitch-agent}.each do | service |
service service do
action :restart
end
end
bash "Adding bridge into /etc/network/interfaces" do
not_if("grep br-ex /etc/network/interfaces")
code <<-CODE
sed -i "s/#{public_interface}/br-ex/g" /etc/network/interfaces
echo -e "auto #{public_interface}\niface #{public_interface} inet manual\n\tup ifconfig \\$IFACE 0.0.0.0 up\n\tup ip link set \\$IFACE promisc on\n\tdown ip link set \\$IFACE promisc off\n\tdown ifconfig \\$IFACE down" >> /etc/network/interfaces
ifconfig #{public_interface} down
ip addr del #{private_ip}/#{private_netmask} dev #{private_interface}
CODE
end
bash "Bring bridge br-ex up" do
not_if("ovs-vsctl list-ports br-ex | grep #{public_interface}")
code <<-CODE
ovs-vsctl add-port br-ex #{public_interface}
CODE
end
service "networking" do
action :restart
end
|
baremetalcloud/chef-repo
|
cookbooks/grizzly/recipes/quantum_agents.rb
|
Ruby
|
apache-2.0
| 2,946
|
package com.kind.springboot.core.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 用户.
*
* @author cary
*/
@Entity
@Table(name = "t_user")
public class UserDo {
/**
* 用户名
*/
@Column(name = "username")
private String username;
/**
* 密码
*/
@Column(name = "password")
private String password;
/**
* 用户id
*/
@Id
@Column(name = "id")
private long id;
/**
* 昵称
*/
@Column(name = "nickname")
private String nickname;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getNickname() {
return nickname;
}
public void setNickname(String nickname) {
this.nickname = nickname;
}
}
|
weiguo21/spring-samples
|
spring-boot-rest/src/main/java/com/kind/springboot/core/domain/UserDo.java
|
Java
|
apache-2.0
| 1,202
|
package org.crazycake.jdbcTemplateTool.exception;
import java.lang.reflect.Method;
public class NoColumnAnnotationFoundException extends Exception {
public NoColumnAnnotationFoundException(String ClassName,Method getter){
super(ClassName + "." + getter.getName() + "() should have an @Column annotation.");
}
}
|
alexxiyang/jdbctemplatetool
|
src/main/java/org/crazycake/jdbcTemplateTool/exception/NoColumnAnnotationFoundException.java
|
Java
|
apache-2.0
| 319
|
/*
* Copyright (C) 2014 Michell Bak
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.miz.mizuu;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v4.view.ViewPager.SimpleOnPageChangeListener;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnSystemUiVisibilityChangeListener;
import com.miz.base.MizActivity;
import com.miz.functions.MizLib;
import com.miz.mizuu.fragments.ActorPhotoFragment;
import com.miz.utils.ViewUtils;
import com.squareup.otto.Bus;
import com.squareup.otto.Subscribe;
public class ImageViewer extends MizActivity {
private ViewPager mViewPager;
private boolean mPortraitPhotos;
private String[] mPhotos;
private Bus mBus;
private Handler mHandler = new Handler();
private Toolbar mToolbar;
private Runnable mHideSystemUiRunnable = new Runnable() {
@Override
public void run() {
hideSystemUi();
}
};
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (MizLib.hasKitKat()) {
setTheme(R.style.Mizuu_Theme_Translucent_FullScreen);
} else {
setTheme(R.style.Mizuu_Theme_Transparent_FullScreen);
}
ViewUtils.setupWindowFlagsForStatusbarOverlay(getWindow(), true);
mToolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(mToolbar);
ViewUtils.setProperToolbarSize(this, mToolbar);
getSupportActionBar().setBackgroundDrawable(getResources().getDrawable(R.drawable.transparent_actionbar));
mBus = MizuuApplication.getBus();
mPortraitPhotos = getIntent().getBooleanExtra("portraitPhotos", true);
mPhotos = getIntent().getStringArrayExtra("photos");
getSupportActionBar().setTitle((getIntent().getIntExtra("selectedIndex", 0) + 1) + " " + getString(R.string.of) + " " + mPhotos.length);
mViewPager = (ViewPager) findViewById(R.id.awesomepager);
mViewPager.setPageMargin(MizLib.convertDpToPixels(getApplicationContext(), 16));
mViewPager.setAdapter(new ActorPhotosAdapter(getSupportFragmentManager()));
mViewPager.setOnPageChangeListener(new SimpleOnPageChangeListener() {
@Override
public void onPageSelected(int arg0) {
getSupportActionBar().setTitle((arg0 + 1) + " " + getString(R.string.of) + " " + mPhotos.length);
}
});
mViewPager.setCurrentItem(getIntent().getIntExtra("selectedIndex", 0));
View decorView = getWindow().getDecorView();
decorView.setOnSystemUiVisibilityChangeListener(new OnSystemUiVisibilityChangeListener() {
@Override
public void onSystemUiVisibilityChange(int visibility) {
if (visibility == 0) {
// The UI is visible due to user interaction - let's hide it again after three seconds
mHandler.postDelayed(mHideSystemUiRunnable, 3000);
}
}
});
}
@Override
protected int getLayoutResource() {
return R.layout.viewpager_with_toolbar_overlay;
}
@SuppressLint("InlinedApi")
@Subscribe
public void tappedImage(Object event) {
boolean visible = getSupportActionBar().isShowing();
if (visible) {
hideSystemUi();
} else {
showSystemUi();
}
}
@SuppressLint("InlinedApi")
private void hideSystemUi() {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN
| View.SYSTEM_UI_FLAG_IMMERSIVE);
mHandler.removeCallbacks(mHideSystemUiRunnable);
getSupportActionBar().hide();
}
private void showSystemUi() {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE);
ViewUtils.setupWindowFlagsForStatusbarOverlay(getWindow(), true);
getSupportActionBar().show();
}
@Override
public void onResume() {
super.onResume();
mBus.register(this);
}
@Override
public void onPause() {
super.onPause();
mBus.unregister(this);
}
private class ActorPhotosAdapter extends FragmentPagerAdapter {
public ActorPhotosAdapter(FragmentManager fm) {
super(fm);
}
@Override
public Fragment getItem(int index) {
return ActorPhotoFragment.newInstance(mPhotos[index], mPortraitPhotos);
}
@Override
public int getCount() {
return mPhotos.length;
}
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
onBackPressed();
return true;
default:
return super.onOptionsItemSelected(item);
}
}
@Override
public void onStart() {
super.onStart();
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
}
}
|
MizzleDK/Mizuu
|
app/src/main/java/com/miz/mizuu/ImageViewer.java
|
Java
|
apache-2.0
| 6,075
|
package org.otfusion.caturday.application.dagger.module;
import org.otfusion.caturday.application.dagger.scope.ActivityScope;
import org.otfusion.caturday.presenter.caturday.CaturdayPresenter;
import org.otfusion.caturday.view.common.activity.BaseDaggerActivity;
import dagger.Module;
import dagger.Provides;
@Module
public class ActivityModule {
private final BaseDaggerActivity baseDaggerActivity;
public ActivityModule(BaseDaggerActivity activity) {
baseDaggerActivity = activity;
}
@ActivityScope
@Provides
CaturdayPresenter provideCaturdayPresenter() {
return new CaturdayPresenter();
}
}
|
jmsalcido/catapi-android
|
app/src/main/java/org/otfusion/caturday/application/dagger/module/ActivityModule.java
|
Java
|
apache-2.0
| 645
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS.">
<meta name="keywords" content="html5,javascript,mobile,drifty,ionic,hybrid,phonegap,cordova,native,ios,android,angularjs">
<meta name="author" content="Drifty">
<meta property="og:image" content="http://ionicframework.com/img/ionic-logo-blog.png"/>
<!-- version /docs/nightly should not be indexed -->
<meta name="robots" content="noindex">
<title>ionic.DomUtil - Utility in module ionic - Ionic Framework</title>
<link href="/css/site.css?12" rel="stylesheet">
<!--<script src="//cdn.optimizely.com/js/595530035.js"></script>-->
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-44023830-1', 'ionicframework.com');
ga('send', 'pageview');
</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body class="docs docs-page docs-api">
<nav class="navbar navbar-default horizontal-gradient" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle button ionic" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<i class="icon ion-navicon"></i>
</button>
<a class="navbar-brand" href="/">
<img src="/img/ionic-logo-white.svg" width="123" height="43" alt="Ionic Framework">
</a>
<a href="http://blog.ionic.io/announcing-ionic-1-0/" target="_blank">
<img src="/img/ionic1-tag.png" alt="Ionic 1.0 is out!" width="28" height="32" style="margin-left: 140px; margin-top:22px; display:block">
</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a class="getting-started-nav nav-link" href="/getting-started/">Getting Started</a></li>
<li><a class="docs-nav nav-link" href="/docs/">Docs</a></li>
<li><a class="nav-link" href="http://ionic.io/support">Support</a></li>
<li><a class="blog-nav nav-link" href="http://blog.ionic.io/">Blog <span id="blog-badge">1</span></a></li>
<li><a class="nav-link" href="http://forum.ionicframework.com/">Forum</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">More <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<div class="arrow-up"></div>
<li><a class="products-nav nav-link" href="http://ionic.io/">Ionic.io</a></li>
<li><a class="examples-nav nav-link" href="http://showcase.ionicframework.com/">Showcase</a></li>
<li><a class="nav-link" href="http://jobs.ionic.io/">Job Board</a></li>
<li><a class="nav-link" href="http://market.ionic.io/">Market</a></li>
<li><a class="nav-link" href="http://ionicworldwide.herokuapp.com/">Ionic Worldwide</a></li>
<li><a class="nav-link" href="http://play.ionic.io/">Playground</a></li>
<li><a class="nav-link" href="http://creator.ionic.io/">Creator</a></li>
<li><a class="nav-link" href="http://shop.ionic.io/">Shop</a></li>
<!--<li><a class="nav-link" href="http://ngcordova.com/">ngCordova</a></li>-->
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="header horizontal-gradient">
<div class="container">
<h3>ionic.DomUtil</h3>
<h4>Utility in module ionic</h4>
</div>
<div class="news">
<div class="container">
<div class="row">
<div class="col-sm-8 news-col">
<div class="picker">
<select onchange="window.location.href=this.options[this.selectedIndex].value">
<option
value="/docs/nightly/api/utility/ionic.DomUtil/"
selected>
nightly
</option>
<option
value="/docs/api/utility/ionic.DomUtil/"
>
1.1.0 (latest)
</option>
<option
value="/docs/1.0.1/api/utility/ionic.DomUtil/"
>
1.0.1
</option>
<option
value="/docs/1.0.0/api/utility/ionic.DomUtil/"
>
1.0.0
</option>
<option
value="/docs/1.0.0-rc.5/api/utility/ionic.DomUtil/"
>
1.0.0-rc.5
</option>
<option
value="/docs/1.0.0-rc.4/api/utility/ionic.DomUtil/"
>
1.0.0-rc.4
</option>
<option
value="/docs/1.0.0-rc.3/api/utility/ionic.DomUtil/"
>
1.0.0-rc.3
</option>
<option
value="/docs/1.0.0-rc.2/api/utility/ionic.DomUtil/"
>
1.0.0-rc.2
</option>
<option
value="/docs/1.0.0-rc.1/api/utility/ionic.DomUtil/"
>
1.0.0-rc.1
</option>
<option
value="/docs/1.0.0-rc.0/api/utility/ionic.DomUtil/"
>
1.0.0-rc.0
</option>
<option
value="/docs/1.0.0-beta.14/api/utility/ionic.DomUtil/"
>
1.0.0-beta.14
</option>
<option
value="/docs/1.0.0-beta.13/api/utility/ionic.DomUtil/"
>
1.0.0-beta.13
</option>
<option
value="/docs/1.0.0-beta.12/api/utility/ionic.DomUtil/"
>
1.0.0-beta.12
</option>
<option
value="/docs/1.0.0-beta.11/api/utility/ionic.DomUtil/"
>
1.0.0-beta.11
</option>
<option
value="/docs/1.0.0-beta.10/api/utility/ionic.DomUtil/"
>
1.0.0-beta.10
</option>
</select>
</div>
</div>
<div class="col-sm-4 search-col">
<div class="search-bar">
<span class="search-icon ionic"><i class="ion-ios7-search-strong"></i></span>
<input type="search" id="search-input" value="Search">
</div>
</div>
</div>
</div>
</div>
</div>
<div id="search-results" class="search-results" style="display:none">
<div class="container">
<div class="search-section search-api">
<h4>JavaScript</h4>
<ul id="results-api"></ul>
</div>
<div class="search-section search-css">
<h4>CSS</h4>
<ul id="results-css"></ul>
</div>
<div class="search-section search-content">
<h4>Resources</h4>
<ul id="results-content"></ul>
</div>
</div>
</div>
<div class="container content-container">
<div class="row">
<div class="col-md-2 col-sm-3 aside-menu">
<div>
<ul class="nav left-menu">
<li class="menu-title">
<a href="/docs/overview/">Overview</a>
</li>
</ul>
<ul class="nav left-menu">
<li class="menu-title">
<a href="/docs/components/">CSS</a>
</li>
</ul>
<!-- Docs: JavaScript -->
<ul class="nav left-menu active-menu">
<li class="menu-title">
<a href="/docs/nightly/api/">
JavaScript
</a>
</li>
<!-- Action Sheet -->
<li class="menu-section">
<a href="/docs/nightly/api/service/$ionicActionSheet/" class="api-section">
Action Sheet
</a>
<ul>
<li>
<a href="/docs/nightly/api/service/$ionicActionSheet/">
$ionicActionSheet
</a>
</li>
</ul>
</li>
<!-- Backdrop -->
<li class="menu-section">
<a href="/docs/nightly/api/service/$ionicBackdrop/" class="api-section">
Backdrop
</a>
<ul>
<li>
<a href="/docs/nightly/api/service/$ionicBackdrop/">
$ionicBackdrop
</a>
</li>
</ul>
</li>
<!-- Content -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionContent/" class="api-section">
Content
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionContent/">
ion-content
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionRefresher/">
ion-refresher
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionPane/">
ion-pane
</a>
</li>
</ul>
</li>
<!-- Form Inputs -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionCheckbox/" class="api-section">
Form Inputs
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionCheckbox/">
ion-checkbox
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionRadio/">
ion-radio
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionToggle/">
ion-toggle
</a>
</li>
</ul>
</li>
<!-- Gesture and Events -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/onHold/" class="api-section">
Gestures and Events
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/onHold/">
on-hold
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onTap/">
on-tap
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onDoubleTap/">
on-double-tap
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onTouch/">
on-touch
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onRelease/">
on-release
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onDrag/">
on-drag
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onDragUp/">
on-drag-up
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onDragRight/">
on-drag-right
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onDragDown/">
on-drag-down
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onDragLeft/">
on-drag-left
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onSwipe/">
on-swipe
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onSwipeUp/">
on-swipe-up
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onSwipeRight/">
on-swipe-right
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onSwipeDown/">
on-swipe-down
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/onSwipeLeft/">
on-swipe-left
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicGesture/">
$ionicGesture
</a>
</li>
</ul>
</li>
<!-- Headers/Footers -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionHeaderBar/" class="api-section">
Headers/Footers
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionHeaderBar/">
ion-header-bar
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionFooterBar/">
ion-footer-bar
</a>
</li>
</ul>
</li>
<!-- Keyboard -->
<li class="menu-section">
<a href="/docs/nightly/api/page/keyboard/" class="api-section">
Keyboard
</a>
<ul>
<li>
<a href="/docs/nightly/api/page/keyboard/">
Keyboard
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/keyboardAttach/">
keyboard-attach
</a>
</li>
</ul>
</li>
<!-- Lists -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionList/" class="api-section">
Lists
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionList/">
ion-list
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionItem/">
ion-item
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionDeleteButton/">
ion-delete-button
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionReorderButton/">
ion-reorder-button
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionOptionButton/">
ion-option-button
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/collectionRepeat/">
collection-repeat
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicListDelegate/">
$ionicListDelegate
</a>
</li>
</ul>
</li>
<!-- Loading -->
<li class="menu-section">
<a href="/docs/nightly/api/service/$ionicLoading/" class="api-section">
Loading
</a>
<ul>
<li>
<a href="/docs/nightly/api/service/$ionicLoading/">
$ionicLoading
</a>
</li>
</ul>
<ul>
<li>
<a href="/docs/nightly/api/object/$ionicLoadingConfig/">
$ionicLoadingConfig
</a>
</li>
</ul>
</li>
<!-- Modal -->
<li class="menu-section">
<a href="/docs/nightly/api/service/$ionicModal/" class="api-section">
Modal
</a>
<ul>
<li>
<a href="/docs/nightly/api/service/$ionicModal/">
$ionicModal
</a>
</li>
<li>
<a href="/docs/nightly/api/controller/ionicModal/">
ionicModal
</a>
</li>
</ul>
</li>
<!-- Navigation -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionNavView/" class="api-section">
Navigation
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionNavView/">
ion-nav-view
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionView/">
ion-view
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionNavBar/">
ion-nav-bar
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionNavBackButton/">
ion-nav-back-button
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionNavButtons/">
ion-nav-buttons
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionNavTitle/">
ion-nav-title
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/navTransition/">
nav-transition
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/navDirection/">
nav-direction
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicNavBarDelegate/">
$ionicNavBarDelegate
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicHistory/">
$ionicHistory
</a>
</li>
</ul>
</li>
<!-- Platform -->
<li class="menu-section">
<a href="/docs/nightly/api/service/$ionicPlatform/" class="api-section">
Platform
</a>
<ul>
<li>
<a href="/docs/nightly/api/service/$ionicPlatform/">
$ionicPlatform
</a>
</li>
</ul>
</li>
<!-- Popover -->
<li class="menu-section">
<a href="/docs/nightly/api/service/$ionicPopover/" class="api-section">
Popover
</a>
<ul>
<li>
<a href="/docs/nightly/api/service/$ionicPopover/">
$ionicPopover
</a>
</li>
<li>
<a href="/docs/nightly/api/controller/ionicPopover/">
ionicPopover
</a>
</li>
</ul>
</li>
<!-- Popup -->
<li class="menu-section">
<a href="/docs/nightly/api/service/$ionicPopup/" class="api-section">
Popup
</a>
<ul>
<li>
<a href="/docs/nightly/api/service/$ionicPopup/">
$ionicPopup
</a>
</li>
</ul>
</li>
<!-- Scroll -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionScroll/" class="api-section">
Scroll
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionScroll/">
ion-scroll
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionInfiniteScroll/">
ion-infinite-scroll
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicScrollDelegate/">
$ionicScrollDelegate
</a>
</li>
</ul>
</li>
<!-- Side Menus -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionSideMenus/" class="api-section">
Side Menus
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionSideMenus/">
ion-side-menus
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionSideMenuContent/">
ion-side-menu-content
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionSideMenu/">
ion-side-menu
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/exposeAsideWhen/">
expose-aside-when
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/menuToggle/">
menu-toggle
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/menuClose/">
menu-close
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicSideMenuDelegate/">
$ionicSideMenuDelegate
</a>
</li>
</ul>
</li>
<!-- Slide Box -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionSlideBox/" class="api-section">
Slide Box
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionSlideBox/">
ion-slide-box
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionSlidePager/">
ion-slide-pager
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionSlide/">
ion-slide
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicSlideBoxDelegate/">
$ionicSlideBoxDelegate
</a>
</li>
</ul>
</li>
<!-- Spinner -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionSpinner/" class="api-section">
Spinner
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionSpinner/">
ion-spinner
</a>
</li>
</ul>
</li>
<!-- Tabs -->
<li class="menu-section">
<a href="/docs/nightly/api/directive/ionTabs/" class="api-section">
Tabs
</a>
<ul>
<li>
<a href="/docs/nightly/api/directive/ionTabs/">
ion-tabs
</a>
</li>
<li>
<a href="/docs/nightly/api/directive/ionTab/">
ion-tab
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicTabsDelegate/">
$ionicTabsDelegate
</a>
</li>
</ul>
</li>
<!-- Tap -->
<li class="menu-section">
<a href="/docs/nightly/api/page/tap/" class="api-section">
Tap & Click
</a>
</li>
<!-- Utility -->
<li class="menu-section">
<a href="#" class="api-section">
Utility
</a>
<ul>
<li>
<a href="/docs/nightly/api/provider/$ionicConfigProvider/">
$ionicConfigProvider
</a>
</li>
<li>
<a href="/docs/nightly/api/utility/ionic.Platform/">
ionic.Platform
</a>
</li>
<li>
<a href="/docs/nightly/api/utility/ionic.DomUtil/">
ionic.DomUtil
</a>
</li>
<li>
<a href="/docs/nightly/api/utility/ionic.EventController/">
ionic.EventController
</a>
</li>
<li>
<a href="/docs/nightly/api/service/$ionicPosition/">
$ionicPosition
</a>
</li>
</ul>
</li>
</ul>
<ul class="nav left-menu">
<li class="menu-title">
<a href="/docs/cli/">CLI</a>
</li>
</ul>
<ul class="nav left-menu">
<li class="menu-title">
<a href="http://learn.ionicframework.com/">Learn Ionic</a>
</li>
</ul>
<ul class="nav left-menu">
<li class="menu-title">
<a href="/docs/guide/">Guide</a>
</li>
</ul>
<ul class="nav left-menu">
<li class="menu-title">
<a href="/docs/ionic-cli-faq/">FAQ</a>
</li>
</ul>
<ul class="nav left-menu">
<li class="menu-title">
<a href="/docs/getting-help/">Getting Help</a>
</li>
</ul>
<ul class="nav left-menu">
<li class="menu-title">
<a href="/docs/concepts/">Ionic Concepts</a>
</li>
</ul>
</div>
</div>
<div class="col-md-10 col-sm-9 main-content">
<div class="improve-docs">
<a href='http://github.com/driftyco/ionic/tree/master/js/utils/dom.js#L37'>
View Source
</a>
<a href='http://github.com/driftyco/ionic/edit/master/js/utils/dom.js#L37'>
Improve this doc
</a>
</div>
<h1 class="api-title">
ionic.DomUtil
</h1>
<h2>Methods</h2>
<div id="requestAnimationFrame"></div>
<h2>
<code>requestAnimationFrame(callback)</code><small>(alias: ionic.requestAnimationFrame)</small>
</h2>
<p>Calls <a href="https://developer.mozilla.org/en-US/docs/Web/API/window.requestAnimationFrame">requestAnimationFrame</a>, or a polyfill if not available.</p>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
callback
</td>
<td>
<code>function</code>
</td>
<td>
<p>The function to call when the next frame
happens.</p>
</td>
</tr>
</tbody>
</table>
<div id="animationFrameThrottle"></div>
<h2>
<code>animationFrameThrottle(callback)</code><small>(alias: ionic.animationFrameThrottle)</small>
</h2>
<p>When given a callback, if that callback is called 100 times between
animation frames, adding Throttle will make it only run the last of
the 100 calls.</p>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
callback
</td>
<td>
<code>function</code>
</td>
<td>
<p>a function which will be throttled to
requestAnimationFrame</p>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Returns:
<code>function</code> A function which will then call the passed in callback.
The passed in callback will receive the context the returned function is
called with.</li>
</ul>
<div id="getPositionInParent"></div>
<h2>
<code>getPositionInParent(element)</code>
</h2>
<p>Find an element's scroll offset within its container.</p>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
element
</td>
<td>
<code>DOMElement</code>
</td>
<td>
<p>The element to find the offset of.</p>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Returns:
<code>object</code> A position object with the following properties:
<ul>
<li><code>{number}</code> <code>left</code> The left offset of the element.</li>
<li><code>{number}</code> <code>top</code> The top offset of the element.</li>
</ul></li>
</ul>
<div id="ready"></div>
<h2>
<code>ready(callback)</code>
</h2>
<p>Call a function when the DOM is ready, or if it is already ready
call the function immediately.</p>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
callback
</td>
<td>
<code>function</code>
</td>
<td>
<p>The function to be called.</p>
</td>
</tr>
</tbody>
</table>
<div id="getTextBounds"></div>
<h2>
<code>getTextBounds(textNode)</code>
</h2>
<p>Get a rect representing the bounds of the given textNode.</p>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
textNode
</td>
<td>
<code>DOMElement</code>
</td>
<td>
<p>The textNode to find the bounds of.</p>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Returns:
<code>object</code> An object representing the bounds of the node. Properties:
<ul>
<li><code>{number}</code> <code>left</code> The left position of the textNode.</li>
<li><code>{number}</code> <code>right</code> The right position of the textNode.</li>
<li><code>{number}</code> <code>top</code> The top position of the textNode.</li>
<li><code>{number}</code> <code>bottom</code> The bottom position of the textNode.</li>
<li><code>{number}</code> <code>width</code> The width of the textNode.</li>
<li><code>{number}</code> <code>height</code> The height of the textNode.</li>
</ul></li>
</ul>
<div id="getChildIndex"></div>
<h2>
<code>getChildIndex(element, type)</code>
</h2>
<p>Get the first index of a child node within the given element of the
specified type.</p>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
element
</td>
<td>
<code>DOMElement</code>
</td>
<td>
<p>The element to find the index of.</p>
</td>
</tr>
<tr>
<td>
type
</td>
<td>
<code>string</code>
</td>
<td>
<p>The nodeName to match children of element against.</p>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Returns:
<code>number</code> The index, or -1, of a child with nodeName matching type.</li>
</ul>
<div id="getParentWithClass"></div>
<h2>
<code>getParentWithClass(element, className)</code>
</h2>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
element
</td>
<td>
<code>DOMElement</code>
</td>
<td>
</td>
</tr>
<tr>
<td>
className
</td>
<td>
<code>string</code>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Returns:
<code>DOMElement</code> The closest parent of element matching the
className, or null.</li>
</ul>
<div id="getParentOrSelfWithClass"></div>
<h2>
<code>getParentOrSelfWithClass(element, className)</code>
</h2>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
element
</td>
<td>
<code>DOMElement</code>
</td>
<td>
</td>
</tr>
<tr>
<td>
className
</td>
<td>
<code>string</code>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Returns:
<code>DOMElement</code> The closest parent or self matching the
className, or null.</li>
</ul>
<div id="rectContains"></div>
<h2>
<code>rectContains(x, y, x1, y1, x2, y2)</code>
</h2>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
x
</td>
<td>
<code>number</code>
</td>
<td>
</td>
</tr>
<tr>
<td>
y
</td>
<td>
<code>number</code>
</td>
<td>
</td>
</tr>
<tr>
<td>
x1
</td>
<td>
<code>number</code>
</td>
<td>
</td>
</tr>
<tr>
<td>
y1
</td>
<td>
<code>number</code>
</td>
<td>
</td>
</tr>
<tr>
<td>
x2
</td>
<td>
<code>number</code>
</td>
<td>
</td>
</tr>
<tr>
<td>
y2
</td>
<td>
<code>number</code>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Returns:
<code>boolean</code> Whether {x,y} fits within the rectangle defined by
{x1,y1,x2,y2}.</li>
</ul>
<div id="blurAll"></div>
<h2>
<code>blurAll()</code>
</h2>
<p>Blurs any currently focused input element</p>
<ul>
<li>Returns:
<code>DOMElement</code> The element blurred or null</li>
</ul>
</div>
</div>
</div>
<div class="pre-footer">
<div class="row ionic">
<div class="col-sm-6 col-a">
<h4>
<a href="/getting-started/">Getting started <span class="icon ion-arrow-right-c"></span></a>
</h4>
<p>
Learn more about how Ionic was built, why you should use it, and what's included. We'll cover
the basics and help you get started from the ground up.
</p>
</div>
<div class="col-sm-6 col-b">
<h4>
<a href="/docs/">Documentation <span class="icon ion-arrow-right-c"></span></a>
</h4>
<p>
What are you waiting for? Take a look and get coding! Our documentation covers all you need to know
to get an app up and running in minutes.
</p>
</div>
</div>
</div>
<footer class="footer">
<nav class="base-links">
<dl>
<dt>Docs</dt>
<dd><a href="http://ionicframework.com/docs/">Documentation</a></dd>
<dd><a href="http://ionicframework.com/getting-started/">Getting Started</a></dd>
<dd><a href="http://ionicframework.com/docs/overview/">Overview</a></dd>
<dd><a href="http://ionicframework.com/docs/components/">Components</a></dd>
<dd><a href="http://ionicframework.com/docs/api/">JavaScript</a></dd>
<dd><a href="http://ionicframework.com/submit-issue/">Submit Issue</a></dd>
</dl>
<dl>
<dt>Resources</dt>
<dd><a href="http://learn.ionicframework.com/">Learn Ionic</a></dd>
<dd><a href="http://ngcordova.com/">ngCordova</a></dd>
<dd><a href="http://ionicons.com/">Ionicons</a></dd>
<dd><a href="http://creator.ionic.io/">Creator</a></dd>
<dd><a href="http://showcase.ionicframework.com/">Showcase</a></dd>
<dd><a href="http://manning.com/wilken/?a_aid=ionicinactionben&a_bid=1f0a0e1d">The Ionic Book</a></dd>
</dl>
<dl>
<dt>Contribute</dt>
<dd><a href="http://forum.ionicframework.com/">Community Forum</a></dd>
<dd><a href="http://webchat.freenode.net/?randomnick=1&channels=%23ionic&uio=d4">Ionic IRC</a></dd>
<dd><a href="http://ionicframework.com/present-ionic/">Present Ionic</a></dd>
<dd><a href="http://ionicframework.com/contribute/">Contribute</a></dd>
<dd><a href="https://github.com/driftyco/ionic-learn/issues/new">Write for us</a></dd>
<dd><a href="http://shop.ionic.io/">Ionic Shop</a></dd>
</dl>
<dl class="small-break">
<dt>About</dt>
<dd><a href="http://blog.ionic.io/">Blog</a></dd>
<dd><a href="http://ionic.io">Services</a></dd>
<dd><a href="http://drifty.com">Company</a></dd>
<dd><a href="https://s3.amazonaws.com/ionicframework.com/logo-pack.zip">Logo Pack</a></dd>
<dd><a href="mailto:hi@ionicframework.com">Contact</a></dd>
<dd><a href="http://ionicframework.com/jobs/">Jobs</a></dd>
</dl>
<dl>
<dt>Connect</dt>
<dd><a href="https://twitter.com/IonicFramework">Twitter</a></dd>
<dd><a href="https://github.com/driftyco/ionic">GitHub</a></dd>
<dd><a href="https://www.facebook.com/ionicframework">Facebook</a></dd>
<dd><a href="https://plus.google.com/b/112280728135675018538/+Ionicframework/posts">Google+</a></dd>
<dd><a href="https://www.youtube.com/channel/UChYheBnVeCfhCmqZfCUdJQw">YouTube</a></dd>
<dd><a href="https://twitter.com/ionitron">Ionitron</a></dd>
</dl>
</nav>
<div class="newsletter row">
<div class="newsletter-container">
<div class="col-sm-7">
<div class="newsletter-text">Stay in the loop</div>
<div class="sign-up">Sign up to receive emails for the latest updates, features, and news on the framework.</div>
</div>
<form action="http://codiqa.createsend.com/t/t/s/jytylh/" method="post" class="input-group col-sm-5">
<input id="fieldEmail" name="cm-jytylh-jytylh" class="form-control" type="email" placeholder="Email" required />
<span class="input-group-btn">
<button class="btn btn-default" type="submit">Subscribe</button>
</span>
</form>
</div>
</div>
<div class="copy">
<div class="copy-container">
<p class="authors">
Code licensed under <a href="/docs/#license">MIT</a>.
Docs under <a href="https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)">Apache 2</a>
<span>|</span>
© 2013-2015 <a href="http://drifty.com/">Drifty Co</a>
</p>
</div>
</div>
</footer>
<script type="text/javascript">
var _sf_async_config = { uid: 54141, domain: 'ionicframework.com', useCanonical: true };
(function() {
function loadChartbeat() {
window._sf_endpt = (new Date()).getTime();
var e = document.createElement('script');
e.setAttribute('language', 'javascript');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src','//static.chartbeat.com/js/chartbeat.js');
document.body.appendChild(e);
};
var oldonload = window.onload;
window.onload = (typeof window.onload != 'function') ?
loadChartbeat : function() { oldonload(); loadChartbeat(); };
})();
</script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
<script src="/js/site.js?1"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/Cookies.js/0.4.0/cookies.min.js"></script>
<script>
$('.navbar .dropdown').on('show.bs.dropdown', function(e){
//$(this).find('.dropdown-menu').addClass('animated fadeInDown');
});
// ADD SLIDEUP ANIMATION TO DROPDOWN //
$('.navbar .dropdown').on('hide.bs.dropdown', function(e){
//$(this).find('.dropdown-menu').first().stop(true, true).slideUp(200);
//$(this).find('.dropdown-menu').removeClass('animated fadeInDown');
});
try {
var d = new Date('2015-03-20 05:00:00 +0000');
var ts = d.getTime();
var cd = Cookies.get('_iondj');
if(cd) {
cd = JSON.parse(atob(cd));
if(parseInt(cd.lp) < ts) {
var bt = document.getElementById('blog-badge');
bt.style.display = 'block';
}
cd.lp = ts;
} else {
var bt = document.getElementById('blog-badge');
bt.style.display = 'block';
cd = {
lp: ts
}
}
Cookies.set('_iondj', btoa(JSON.stringify(cd)));
} catch(e) {
}
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>
|
martinjbaker/ionic-site
|
_site/docs/nightly/api/utility/ionic.DomUtil/index.html
|
HTML
|
apache-2.0
| 37,130
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from common import find_target_items
if len(sys.argv) != 3:
print("Find the value keyword in all pairs")
print(("Usage: ", sys.argv[0], "[input] [keyword]"))
exit(1)
find_target_items(sys.argv[1], sys.argv[2])
|
BYVoid/OpenCC
|
data/scripts/find_target.py
|
Python
|
apache-2.0
| 282
|
/*
* Copyright 2011-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 agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <folly/io/async/test/AsyncSSLSocketTest.h>
#include <folly/SocketAddress.h>
#include <folly/io/Cursor.h>
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/EventBase.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
#include <folly/portability/OpenSSL.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Unistd.h>
#include <folly/io/async/test/BlockingSocket.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/types.h>
#include <fstream>
#include <iostream>
#include <list>
#include <set>
#include <thread>
#ifdef FOLLY_HAVE_MSG_ERRQUEUE
#include <sys/utsname.h>
#endif
using std::string;
using std::vector;
using std::min;
using std::cerr;
using std::endl;
using std::list;
using namespace testing;
namespace folly {
uint32_t TestSSLAsyncCacheServer::asyncCallbacks_ = 0;
uint32_t TestSSLAsyncCacheServer::asyncLookups_ = 0;
uint32_t TestSSLAsyncCacheServer::lookupDelay_ = 0;
constexpr size_t SSLClient::kMaxReadBufferSz;
constexpr size_t SSLClient::kMaxReadsPerEvent;
void getfds(int fds[2]) {
if (socketpair(PF_LOCAL, SOCK_STREAM, 0, fds) != 0) {
FAIL() << "failed to create socketpair: " << strerror(errno);
}
for (int idx = 0; idx < 2; ++idx) {
int flags = fcntl(fds[idx], F_GETFL, 0);
if (flags == -1) {
FAIL() << "failed to get flags for socket " << idx << ": "
<< strerror(errno);
}
if (fcntl(fds[idx], F_SETFL, flags | O_NONBLOCK) != 0) {
FAIL() << "failed to put socket " << idx
<< " in non-blocking mode: " << strerror(errno);
}
}
}
void getctx(
std::shared_ptr<folly::SSLContext> clientCtx,
std::shared_ptr<folly::SSLContext> serverCtx) {
clientCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
serverCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
serverCtx->loadCertificate(kTestCert);
serverCtx->loadPrivateKey(kTestKey);
}
void sslsocketpair(
EventBase* eventBase,
AsyncSSLSocket::UniquePtr* clientSock,
AsyncSSLSocket::UniquePtr* serverSock) {
auto clientCtx = std::make_shared<folly::SSLContext>();
auto serverCtx = std::make_shared<folly::SSLContext>();
int fds[2];
getfds(fds);
getctx(clientCtx, serverCtx);
clientSock->reset(new AsyncSSLSocket(clientCtx, eventBase, fds[0], false));
serverSock->reset(new AsyncSSLSocket(serverCtx, eventBase, fds[1], true));
// (*clientSock)->setSendTimeout(100);
// (*serverSock)->setSendTimeout(100);
}
// client protocol filters
bool clientProtoFilterPickPony(
unsigned char** client,
unsigned int* client_len,
const unsigned char*,
unsigned int) {
// the protocol string in length prefixed byte string. the
// length byte is not included in the length
static unsigned char p[7] = {6, 'p', 'o', 'n', 'i', 'e', 's'};
*client = p;
*client_len = 7;
return true;
}
bool clientProtoFilterPickNone(
unsigned char**,
unsigned int*,
const unsigned char*,
unsigned int) {
return false;
}
std::string getFileAsBuf(const char* fileName) {
std::string buffer;
folly::readFile(fileName, buffer);
return buffer;
}
std::string getCommonName(X509* cert) {
X509_NAME* subject = X509_get_subject_name(cert);
std::string cn;
cn.resize(ub_common_name);
X509_NAME_get_text_by_NID(
subject, NID_commonName, const_cast<char*>(cn.data()), ub_common_name);
return cn;
}
TEST(AsyncSSLSocketTest, ClientCertValidationResultTest) {
EventBase ev;
int fd = 0;
AsyncSSLSocket::UniquePtr sock(
new AsyncSSLSocket(std::make_shared<SSLContext>(), &ev, fd, false));
// Initially the cert is not validated, so no result is available.
EXPECT_EQ(nullptr, get_pointer(sock->getClientCertValidationResult()));
sock->setClientCertValidationResult(
make_optional(AsyncSSLSocket::CertValidationResult::CERT_VALID));
EXPECT_EQ(
AsyncSSLSocket::CertValidationResult::CERT_VALID,
*sock->getClientCertValidationResult());
}
/**
* Test connecting to, writing to, reading from, and closing the
* connection to the SSL server.
*/
TEST(AsyncSSLSocketTest, ConnectWriteReadClose) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL context.
std::shared_ptr<SSLContext> sslContext(new SSLContext());
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// sslContext->loadTrustedCertificates("./trusted-ca-certificate.pem");
// sslContext->authenticate(true, false);
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->open(std::chrono::milliseconds(10000));
// write()
uint8_t buf[128];
memset(buf, 'a', sizeof(buf));
socket->write(buf, sizeof(buf));
// read()
uint8_t readbuf[128];
uint32_t bytesRead = socket->readAll(readbuf, sizeof(readbuf));
EXPECT_EQ(bytesRead, 128);
EXPECT_EQ(memcmp(buf, readbuf, bytesRead), 0);
// close()
socket->close();
cerr << "ConnectWriteReadClose test completed" << endl;
EXPECT_EQ(socket->getSSLSocket()->getTotalConnectTimeout().count(), 10000);
}
/**
* Test reading after server close.
*/
TEST(AsyncSSLSocketTest, ReadAfterClose) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadEOFCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
auto server = std::make_unique<TestSSLServer>(&acceptCallback);
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
auto socket =
std::make_shared<BlockingSocket>(server->getAddress(), sslContext);
socket->open();
// This should trigger an EOF on the client.
auto evb = handshakeCallback.getSocket()->getEventBase();
evb->runInEventBaseThreadAndWait([&]() { handshakeCallback.closeSocket(); });
std::array<uint8_t, 128> readbuf;
auto bytesRead = socket->read(readbuf.data(), readbuf.size());
EXPECT_EQ(0, bytesRead);
}
/**
* Test bad renegotiation
*/
#if !defined(OPENSSL_IS_BORINGSSL)
TEST(AsyncSSLSocketTest, Renegotiate) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
std::array<int, 2> fds;
getfds(fds.data());
getctx(clientCtx, dfServerCtx);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), true, true);
RenegotiatingServer server(std::move(serverSock));
while (!client.handshakeSuccess_ && !client.handshakeError_) {
eventBase.loopOnce();
}
ASSERT_TRUE(client.handshakeSuccess_);
auto sslSock = std::move(client).moveSocket();
sslSock->detachEventBase();
// This is nasty, however we don't want to add support for
// renegotiation in AsyncSSLSocket.
SSL_renegotiate(const_cast<SSL*>(sslSock->getSSL()));
auto socket = std::make_shared<BlockingSocket>(std::move(sslSock));
std::thread t([&]() { eventBase.loopForever(); });
// Trigger the renegotiation.
std::array<uint8_t, 128> buf;
memset(buf.data(), 'a', buf.size());
try {
socket->write(buf.data(), buf.size());
} catch (AsyncSocketException& e) {
LOG(INFO) << "client got error " << e.what();
}
eventBase.terminateLoopSoon();
t.join();
eventBase.loop();
ASSERT_TRUE(server.renegotiationError_);
}
#endif
/**
* Negative test for handshakeError().
*/
TEST(AsyncSSLSocketTest, HandshakeError) {
// Start listening on a local port
WriteCallbackBase writeCallback;
WriteErrorCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
HandshakeErrorCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL context.
std::shared_ptr<SSLContext> sslContext(new SSLContext());
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
// read()
bool ex = false;
try {
socket->open();
uint8_t readbuf[128];
uint32_t bytesRead = socket->readAll(readbuf, sizeof(readbuf));
LOG(ERROR) << "readAll returned " << bytesRead << " instead of throwing";
} catch (AsyncSocketException&) {
ex = true;
}
EXPECT_TRUE(ex);
// close()
socket->close();
cerr << "HandshakeError test completed" << endl;
}
/**
* Negative test for readError().
*/
TEST(AsyncSSLSocketTest, ReadError) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadErrorCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL context.
std::shared_ptr<SSLContext> sslContext(new SSLContext());
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->open();
// write something to trigger ssl handshake
uint8_t buf[128];
memset(buf, 'a', sizeof(buf));
socket->write(buf, sizeof(buf));
socket->close();
cerr << "ReadError test completed" << endl;
}
/**
* Negative test for writeError().
*/
TEST(AsyncSSLSocketTest, WriteError) {
// Start listening on a local port
WriteCallbackBase writeCallback;
WriteErrorCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL context.
std::shared_ptr<SSLContext> sslContext(new SSLContext());
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->open();
// write something to trigger ssl handshake
uint8_t buf[128];
memset(buf, 'a', sizeof(buf));
socket->write(buf, sizeof(buf));
socket->close();
cerr << "WriteError test completed" << endl;
}
/**
* Test a socket with TCP_NODELAY unset.
*/
TEST(AsyncSSLSocketTest, SocketWithDelay) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallbackDelay acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL context.
std::shared_ptr<SSLContext> sslContext(new SSLContext());
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->open();
// write()
uint8_t buf[128];
memset(buf, 'a', sizeof(buf));
socket->write(buf, sizeof(buf));
// read()
uint8_t readbuf[128];
uint32_t bytesRead = socket->readAll(readbuf, sizeof(readbuf));
EXPECT_EQ(bytesRead, 128);
EXPECT_EQ(memcmp(buf, readbuf, bytesRead), 0);
// close()
socket->close();
cerr << "SocketWithDelay test completed" << endl;
}
using NextProtocolTypePair =
std::pair<SSLContext::NextProtocolType, SSLContext::NextProtocolType>;
class NextProtocolTest : public testing::TestWithParam<NextProtocolTypePair> {
// For matching protos
public:
void SetUp() override {
getctx(clientCtx, serverCtx);
}
void connect(bool unset = false) {
getfds(fds);
if (unset) {
// unsetting NPN for any of [client, server] is enough to make NPN not
// work
clientCtx->unsetNextProtocols();
}
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(serverCtx, &eventBase, fds[1], true));
client = std::make_unique<NpnClient>(std::move(clientSock));
server = std::make_unique<NpnServer>(std::move(serverSock));
eventBase.loop();
}
void expectProtocol(const std::string& proto) {
expectHandshakeSuccess();
EXPECT_NE(client->nextProtoLength, 0);
EXPECT_EQ(client->nextProtoLength, server->nextProtoLength);
EXPECT_EQ(
memcmp(client->nextProto, server->nextProto, server->nextProtoLength),
0);
string selected((const char*)client->nextProto, client->nextProtoLength);
EXPECT_EQ(proto, selected);
}
void expectNoProtocol() {
expectHandshakeSuccess();
EXPECT_EQ(client->nextProtoLength, 0);
EXPECT_EQ(server->nextProtoLength, 0);
EXPECT_EQ(client->nextProto, nullptr);
EXPECT_EQ(server->nextProto, nullptr);
}
void expectProtocolType() {
expectHandshakeSuccess();
if (GetParam().first == SSLContext::NextProtocolType::ANY &&
GetParam().second == SSLContext::NextProtocolType::ANY) {
EXPECT_EQ(client->protocolType, server->protocolType);
} else if (GetParam().first == SSLContext::NextProtocolType::ANY ||
GetParam().second == SSLContext::NextProtocolType::ANY) {
// Well not much we can say
} else {
expectProtocolType(GetParam());
}
}
void expectProtocolType(NextProtocolTypePair expected) {
expectHandshakeSuccess();
EXPECT_EQ(client->protocolType, expected.first);
EXPECT_EQ(server->protocolType, expected.second);
}
void expectHandshakeSuccess() {
EXPECT_FALSE(client->except.hasValue())
<< "client handshake error: " << client->except->what();
EXPECT_FALSE(server->except.hasValue())
<< "server handshake error: " << server->except->what();
}
void expectHandshakeError() {
EXPECT_TRUE(client->except.hasValue())
<< "Expected client handshake error!";
EXPECT_TRUE(server->except.hasValue())
<< "Expected server handshake error!";
}
EventBase eventBase;
std::shared_ptr<SSLContext> clientCtx{std::make_shared<SSLContext>()};
std::shared_ptr<SSLContext> serverCtx{std::make_shared<SSLContext>()};
int fds[2];
std::unique_ptr<NpnClient> client;
std::unique_ptr<NpnServer> server;
};
class NextProtocolTLSExtTest : public NextProtocolTest {
// For extended TLS protos
};
class NextProtocolNPNOnlyTest : public NextProtocolTest {
// For mismatching protos
};
class NextProtocolMismatchTest : public NextProtocolTest {
// For mismatching protos
};
TEST_P(NextProtocolTest, NpnTestOverlap) {
clientCtx->setAdvertisedNextProtocols({"blub", "baz"}, GetParam().first);
serverCtx->setAdvertisedNextProtocols(
{"foo", "bar", "baz"}, GetParam().second);
connect();
expectProtocol("baz");
expectProtocolType();
}
TEST_P(NextProtocolTest, NpnTestUnset) {
// Identical to above test, except that we want unset NPN before
// looping.
clientCtx->setAdvertisedNextProtocols({"blub", "baz"}, GetParam().first);
serverCtx->setAdvertisedNextProtocols(
{"foo", "bar", "baz"}, GetParam().second);
connect(true /* unset */);
// if alpn negotiation fails, type will appear as npn
expectNoProtocol();
EXPECT_EQ(client->protocolType, server->protocolType);
}
TEST_P(NextProtocolMismatchTest, NpnAlpnTestNoOverlap) {
clientCtx->setAdvertisedNextProtocols({"foo"}, GetParam().first);
serverCtx->setAdvertisedNextProtocols(
{"foo", "bar", "baz"}, GetParam().second);
connect();
expectNoProtocol();
expectProtocolType(
{SSLContext::NextProtocolType::NPN, SSLContext::NextProtocolType::NPN});
}
TEST_P(NextProtocolTest, NpnTestNoOverlap) {
clientCtx->setAdvertisedNextProtocols({"blub"}, GetParam().first);
serverCtx->setAdvertisedNextProtocols(
{"foo", "bar", "baz"}, GetParam().second);
connect();
if (GetParam().first == SSLContext::NextProtocolType::ALPN ||
GetParam().second == SSLContext::NextProtocolType::ALPN) {
// This is arguably incorrect behavior since RFC7301 states an ALPN protocol
// mismatch should result in a fatal alert, but this is the current behavior
// on all OpenSSL versions/variants, and we want to know if it changes.
expectNoProtocol();
}
else if (
GetParam().first == SSLContext::NextProtocolType::ANY &&
GetParam().second == SSLContext::NextProtocolType::ANY) {
#if FOLLY_OPENSSL_IS_110
// OpenSSL 1.1.0 sends a fatal alert on mismatch, which is probably the
// correct behavior per RFC7301
expectHandshakeError();
#else
// Behavior varies for other OpenSSL versions.
expectHandshakeSuccess();
if (client->nextProtoLength == 0) {
// BoringSSL and OpenSSL 1.0.2 before 1.0.2h
expectNoProtocol();
} else {
// OpenSSL 1.0.2h+
expectProtocol("blub");
expectProtocolType({SSLContext::NextProtocolType::NPN,
SSLContext::NextProtocolType::NPN});
}
#endif
}
else {
expectProtocol("blub");
expectProtocolType(
{SSLContext::NextProtocolType::NPN, SSLContext::NextProtocolType::NPN});
}
}
TEST_P(NextProtocolNPNOnlyTest, NpnTestClientProtoFilterHit) {
clientCtx->setAdvertisedNextProtocols({"blub"}, GetParam().first);
clientCtx->setClientProtocolFilterCallback(clientProtoFilterPickPony);
serverCtx->setAdvertisedNextProtocols(
{"foo", "bar", "baz"}, GetParam().second);
connect();
expectProtocol("ponies");
expectProtocolType();
}
TEST_P(NextProtocolNPNOnlyTest, NpnTestClientProtoFilterMiss) {
clientCtx->setAdvertisedNextProtocols({"blub"}, GetParam().first);
clientCtx->setClientProtocolFilterCallback(clientProtoFilterPickNone);
serverCtx->setAdvertisedNextProtocols(
{"foo", "bar", "baz"}, GetParam().second);
connect();
expectProtocol("blub");
expectProtocolType();
}
TEST_P(NextProtocolTest, RandomizedNpnTest) {
// Probability that this test will fail is 2^-64, which could be considered
// as negligible.
const int kTries = 64;
clientCtx->setAdvertisedNextProtocols(
{"foo", "bar", "baz"}, GetParam().first);
serverCtx->setRandomizedAdvertisedNextProtocols(
{{1, {"foo"}}, {1, {"bar"}}}, GetParam().second);
std::set<string> selectedProtocols;
for (int i = 0; i < kTries; ++i) {
connect();
EXPECT_NE(client->nextProtoLength, 0);
EXPECT_EQ(client->nextProtoLength, server->nextProtoLength);
EXPECT_EQ(
memcmp(client->nextProto, server->nextProto, server->nextProtoLength),
0);
string selected((const char*)client->nextProto, client->nextProtoLength);
selectedProtocols.insert(selected);
expectProtocolType();
}
EXPECT_EQ(selectedProtocols.size(), 2);
}
INSTANTIATE_TEST_CASE_P(
AsyncSSLSocketTest,
NextProtocolTest,
::testing::Values(
NextProtocolTypePair(
SSLContext::NextProtocolType::NPN,
SSLContext::NextProtocolType::NPN),
NextProtocolTypePair(
SSLContext::NextProtocolType::NPN,
SSLContext::NextProtocolType::ANY),
NextProtocolTypePair(
SSLContext::NextProtocolType::ANY,
SSLContext::NextProtocolType::ANY)));
#if FOLLY_OPENSSL_HAS_ALPN
INSTANTIATE_TEST_CASE_P(
AsyncSSLSocketTest,
NextProtocolTLSExtTest,
::testing::Values(
NextProtocolTypePair(
SSLContext::NextProtocolType::ALPN,
SSLContext::NextProtocolType::ALPN),
NextProtocolTypePair(
SSLContext::NextProtocolType::ALPN,
SSLContext::NextProtocolType::ANY),
NextProtocolTypePair(
SSLContext::NextProtocolType::ANY,
SSLContext::NextProtocolType::ALPN)));
#endif
INSTANTIATE_TEST_CASE_P(
AsyncSSLSocketTest,
NextProtocolNPNOnlyTest,
::testing::Values(NextProtocolTypePair(
SSLContext::NextProtocolType::NPN,
SSLContext::NextProtocolType::NPN)));
#if FOLLY_OPENSSL_HAS_ALPN
INSTANTIATE_TEST_CASE_P(
AsyncSSLSocketTest,
NextProtocolMismatchTest,
::testing::Values(
NextProtocolTypePair(
SSLContext::NextProtocolType::NPN,
SSLContext::NextProtocolType::ALPN),
NextProtocolTypePair(
SSLContext::NextProtocolType::ALPN,
SSLContext::NextProtocolType::NPN)));
#endif
#ifndef OPENSSL_NO_TLSEXT
/**
* 1. Client sends TLSEXT_HOSTNAME in client hello.
* 2. Server found a match SSL_CTX and use this SSL_CTX to
* continue the SSL handshake.
* 3. Server sends back TLSEXT_HOSTNAME in server hello.
*/
TEST(AsyncSSLSocketTest, SNITestMatch) {
EventBase eventBase;
std::shared_ptr<SSLContext> clientCtx(new SSLContext);
std::shared_ptr<SSLContext> dfServerCtx(new SSLContext);
// Use the same SSLContext to continue the handshake after
// tlsext_hostname match.
std::shared_ptr<SSLContext> hskServerCtx(dfServerCtx);
const std::string serverName("xyz.newdev.facebook.com");
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], serverName));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SNIClient client(std::move(clientSock));
SNIServer server(
std::move(serverSock), dfServerCtx, hskServerCtx, serverName);
eventBase.loop();
EXPECT_TRUE(client.serverNameMatch);
EXPECT_TRUE(server.serverNameMatch);
}
/**
* 1. Client sends TLSEXT_HOSTNAME in client hello.
* 2. Server cannot find a matching SSL_CTX and continue to use
* the current SSL_CTX to do the handshake.
* 3. Server does not send back TLSEXT_HOSTNAME in server hello.
*/
TEST(AsyncSSLSocketTest, SNITestNotMatch) {
EventBase eventBase;
std::shared_ptr<SSLContext> clientCtx(new SSLContext);
std::shared_ptr<SSLContext> dfServerCtx(new SSLContext);
// Use the same SSLContext to continue the handshake after
// tlsext_hostname match.
std::shared_ptr<SSLContext> hskServerCtx(dfServerCtx);
const std::string clientRequestingServerName("foo.com");
const std::string serverExpectedServerName("xyz.newdev.facebook.com");
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
AsyncSSLSocket::UniquePtr clientSock(new AsyncSSLSocket(
clientCtx, &eventBase, fds[0], clientRequestingServerName));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SNIClient client(std::move(clientSock));
SNIServer server(
std::move(serverSock),
dfServerCtx,
hskServerCtx,
serverExpectedServerName);
eventBase.loop();
EXPECT_TRUE(!client.serverNameMatch);
EXPECT_TRUE(!server.serverNameMatch);
}
/**
* 1. Client sends TLSEXT_HOSTNAME in client hello.
* 2. We then change the serverName.
* 3. We expect that we get 'false' as the result for serNameMatch.
*/
TEST(AsyncSSLSocketTest, SNITestChangeServerName) {
EventBase eventBase;
std::shared_ptr<SSLContext> clientCtx(new SSLContext);
std::shared_ptr<SSLContext> dfServerCtx(new SSLContext);
// Use the same SSLContext to continue the handshake after
// tlsext_hostname match.
std::shared_ptr<SSLContext> hskServerCtx(dfServerCtx);
const std::string serverName("xyz.newdev.facebook.com");
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], serverName));
// Change the server name
std::string newName("new.com");
clientSock->setServerName(newName);
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SNIClient client(std::move(clientSock));
SNIServer server(
std::move(serverSock), dfServerCtx, hskServerCtx, serverName);
eventBase.loop();
EXPECT_TRUE(!client.serverNameMatch);
}
/**
* 1. Client does not send TLSEXT_HOSTNAME in client hello.
* 2. Server does not send back TLSEXT_HOSTNAME in server hello.
*/
TEST(AsyncSSLSocketTest, SNITestClientHelloNoHostname) {
EventBase eventBase;
std::shared_ptr<SSLContext> clientCtx(new SSLContext);
std::shared_ptr<SSLContext> dfServerCtx(new SSLContext);
// Use the same SSLContext to continue the handshake after
// tlsext_hostname match.
std::shared_ptr<SSLContext> hskServerCtx(dfServerCtx);
const std::string serverExpectedServerName("xyz.newdev.facebook.com");
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SNIClient client(std::move(clientSock));
SNIServer server(
std::move(serverSock),
dfServerCtx,
hskServerCtx,
serverExpectedServerName);
eventBase.loop();
EXPECT_TRUE(!client.serverNameMatch);
EXPECT_TRUE(!server.serverNameMatch);
}
#endif
/**
* Test SSL client socket
*/
TEST(AsyncSSLSocketTest, SSLClientTest) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallbackDelay acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL client
EventBase eventBase;
auto client = std::make_shared<SSLClient>(&eventBase, server.getAddress(), 1);
client->connect();
EventBaseAborter eba(&eventBase, 3000);
eventBase.loop();
EXPECT_EQ(client->getMiss(), 1);
EXPECT_EQ(client->getHit(), 0);
cerr << "SSLClientTest test completed" << endl;
}
/**
* Test SSL client socket session re-use
*/
TEST(AsyncSSLSocketTest, SSLClientTestReuse) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallbackDelay acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL client
EventBase eventBase;
auto client =
std::make_shared<SSLClient>(&eventBase, server.getAddress(), 10);
client->connect();
EventBaseAborter eba(&eventBase, 3000);
eventBase.loop();
EXPECT_EQ(client->getMiss(), 1);
EXPECT_EQ(client->getHit(), 9);
cerr << "SSLClientTestReuse test completed" << endl;
}
/**
* Test SSL client socket timeout
*/
TEST(AsyncSSLSocketTest, SSLClientTimeoutTest) {
// Start listening on a local port
EmptyReadCallback readCallback;
HandshakeCallback handshakeCallback(
&readCallback, HandshakeCallback::EXPECT_ERROR);
HandshakeTimeoutCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL client
EventBase eventBase;
auto client =
std::make_shared<SSLClient>(&eventBase, server.getAddress(), 1, 10);
client->connect(true /* write before connect completes */);
EventBaseAborter eba(&eventBase, 3000);
eventBase.loop();
usleep(100000);
// This is checking that the connectError callback precedes any queued
// writeError callbacks. This matches AsyncSocket's behavior
EXPECT_EQ(client->getWriteAfterConnectErrors(), 1);
EXPECT_EQ(client->getErrors(), 1);
EXPECT_EQ(client->getMiss(), 0);
EXPECT_EQ(client->getHit(), 0);
cerr << "SSLClientTimeoutTest test completed" << endl;
}
// The next 3 tests need an FB-only extension, and will fail without it
#ifdef SSL_ERROR_WANT_SESS_CACHE_LOOKUP
/**
* Test SSL server async cache
*/
TEST(AsyncSSLSocketTest, SSLServerAsyncCacheTest) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAsyncCacheAcceptCallback acceptCallback(&handshakeCallback);
TestSSLAsyncCacheServer server(&acceptCallback);
// Set up SSL client
EventBase eventBase;
auto client =
std::make_shared<SSLClient>(&eventBase, server.getAddress(), 10, 500);
client->connect();
EventBaseAborter eba(&eventBase, 3000);
eventBase.loop();
EXPECT_EQ(server.getAsyncCallbacks(), 18);
EXPECT_EQ(server.getAsyncLookups(), 9);
EXPECT_EQ(client->getMiss(), 10);
EXPECT_EQ(client->getHit(), 0);
cerr << "SSLServerAsyncCacheTest test completed" << endl;
}
/**
* Test SSL server accept timeout with cache path
*/
TEST(AsyncSSLSocketTest, SSLServerTimeoutTest) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback, 50);
TestSSLAsyncCacheServer server(&acceptCallback);
// Set up SSL client
EventBase eventBase;
// only do a TCP connect
std::shared_ptr<AsyncSocket> sock = AsyncSocket::newSocket(&eventBase);
sock->connect(nullptr, server.getAddress());
EmptyReadCallback clientReadCallback;
clientReadCallback.tcpSocket_ = sock;
sock->setReadCB(&clientReadCallback);
EventBaseAborter eba(&eventBase, 3000);
eventBase.loop();
EXPECT_EQ(readCallback.state, STATE_WAITING);
cerr << "SSLServerTimeoutTest test completed" << endl;
}
/**
* Test SSL server accept timeout with cache path
*/
TEST(AsyncSSLSocketTest, SSLServerAsyncCacheTimeoutTest) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAsyncCacheAcceptCallback acceptCallback(&handshakeCallback, 50);
TestSSLAsyncCacheServer server(&acceptCallback);
// Set up SSL client
EventBase eventBase;
auto client = std::make_shared<SSLClient>(&eventBase, server.getAddress(), 2);
client->connect();
EventBaseAborter eba(&eventBase, 3000);
eventBase.loop();
EXPECT_EQ(server.getAsyncCallbacks(), 1);
EXPECT_EQ(server.getAsyncLookups(), 1);
EXPECT_EQ(client->getErrors(), 1);
EXPECT_EQ(client->getMiss(), 1);
EXPECT_EQ(client->getHit(), 0);
cerr << "SSLServerAsyncCacheTimeoutTest test completed" << endl;
}
/**
* Test SSL server accept timeout with cache path
*/
TEST(AsyncSSLSocketTest, SSLServerCacheCloseTest) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(
&readCallback, HandshakeCallback::EXPECT_ERROR);
SSLServerAsyncCacheAcceptCallback acceptCallback(&handshakeCallback);
TestSSLAsyncCacheServer server(&acceptCallback, 500);
// Set up SSL client
EventBase eventBase;
auto client =
std::make_shared<SSLClient>(&eventBase, server.getAddress(), 2, 100);
client->connect();
EventBaseAborter eba(&eventBase, 3000);
eventBase.loop();
server.getEventBase().runInEventBaseThread(
[&handshakeCallback] { handshakeCallback.closeSocket(); });
// give time for the cache lookup to come back and find it closed
handshakeCallback.waitForHandshake();
EXPECT_EQ(server.getAsyncCallbacks(), 1);
EXPECT_EQ(server.getAsyncLookups(), 1);
EXPECT_EQ(client->getErrors(), 1);
EXPECT_EQ(client->getMiss(), 1);
EXPECT_EQ(client->getHit(), 0);
cerr << "SSLServerCacheCloseTest test completed" << endl;
}
#endif // !SSL_ERROR_WANT_SESS_CACHE_LOOKUP
/**
* Verify Client Ciphers obtained using SSL MSG Callback.
*/
TEST(AsyncSSLSocketTest, SSLParseClientHelloSuccess) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto serverCtx = std::make_shared<SSLContext>();
serverCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
serverCtx->ciphers("ECDHE-RSA-AES128-SHA:AES128-SHA:AES256-SHA");
serverCtx->loadPrivateKey(kTestKey);
serverCtx->loadCertificate(kTestCert);
serverCtx->loadTrustedCertificates(kTestCA);
serverCtx->loadClientCAList(kTestCA);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
clientCtx->ciphers("AES256-SHA:AES128-SHA");
clientCtx->loadPrivateKey(kTestKey);
clientCtx->loadCertificate(kTestCert);
clientCtx->loadTrustedCertificates(kTestCA);
int fds[2];
getfds(fds);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(serverCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), true, true);
SSLHandshakeServerParseClientHello server(std::move(serverSock), true, true);
eventBase.loop();
#if defined(OPENSSL_IS_BORINGSSL)
EXPECT_EQ(server.clientCiphers_, "AES256-SHA:AES128-SHA");
#else
EXPECT_EQ(server.clientCiphers_, "AES256-SHA:AES128-SHA:00ff");
#endif
EXPECT_EQ(server.chosenCipher_, "AES256-SHA");
EXPECT_TRUE(client.handshakeVerify_);
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(!client.handshakeError_);
EXPECT_TRUE(server.handshakeVerify_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_TRUE(!server.handshakeError_);
}
/**
* Verify that server is able to get client cert by getPeerCert() API.
*/
TEST(AsyncSSLSocketTest, GetClientCertificate) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto serverCtx = std::make_shared<SSLContext>();
serverCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
serverCtx->ciphers("ECDHE-RSA-AES128-SHA:AES128-SHA:AES256-SHA");
serverCtx->loadPrivateKey(kTestKey);
serverCtx->loadCertificate(kTestCert);
serverCtx->loadTrustedCertificates(kClientTestCA);
serverCtx->loadClientCAList(kClientTestCA);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
clientCtx->ciphers("AES256-SHA:AES128-SHA");
clientCtx->loadPrivateKey(kClientTestKey);
clientCtx->loadCertificate(kClientTestCert);
clientCtx->loadTrustedCertificates(kTestCA);
std::array<int, 2> fds;
getfds(fds.data());
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(serverCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), true, true);
SSLHandshakeServerParseClientHello server(std::move(serverSock), true, true);
eventBase.loop();
// Handshake should succeed.
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(server.handshakeSuccess_);
// Reclaim the sockets from SSLHandshakeBase.
auto cliSocket = std::move(client).moveSocket();
auto srvSocket = std::move(server).moveSocket();
// Client cert retrieved from server side.
folly::ssl::X509UniquePtr serverPeerCert = srvSocket->getPeerCert();
CHECK(serverPeerCert);
// Client cert retrieved from client side.
const X509* clientSelfCert = cliSocket->getSelfCert();
CHECK(clientSelfCert);
// The two certs should be the same.
EXPECT_EQ(0, X509_cmp(clientSelfCert, serverPeerCert.get()));
}
TEST(AsyncSSLSocketTest, SSLParseClientHelloOnePacket) {
EventBase eventBase;
auto ctx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
int bufLen = 42;
uint8_t majorVersion = 18;
uint8_t minorVersion = 25;
// Create callback buf
auto buf = IOBuf::create(bufLen);
buf->append(bufLen);
folly::io::RWPrivateCursor cursor(buf.get());
cursor.write<uint8_t>(SSL3_MT_CLIENT_HELLO);
cursor.write<uint16_t>(0);
cursor.write<uint8_t>(38);
cursor.write<uint8_t>(majorVersion);
cursor.write<uint8_t>(minorVersion);
cursor.skip(32);
cursor.write<uint32_t>(0);
SSL* ssl = ctx->createSSL();
SCOPE_EXIT {
SSL_free(ssl);
};
AsyncSSLSocket::UniquePtr sock(
new AsyncSSLSocket(ctx, &eventBase, fds[0], true));
sock->enableClientHelloParsing();
// Test client hello parsing in one packet
AsyncSSLSocket::clientHelloParsingCallback(
0, 0, SSL3_RT_HANDSHAKE, buf->data(), buf->length(), ssl, sock.get());
buf.reset();
auto parsedClientHello = sock->getClientHelloInfo();
EXPECT_TRUE(parsedClientHello != nullptr);
EXPECT_EQ(parsedClientHello->clientHelloMajorVersion_, majorVersion);
EXPECT_EQ(parsedClientHello->clientHelloMinorVersion_, minorVersion);
}
TEST(AsyncSSLSocketTest, SSLParseClientHelloTwoPackets) {
EventBase eventBase;
auto ctx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
int bufLen = 42;
uint8_t majorVersion = 18;
uint8_t minorVersion = 25;
// Create callback buf
auto buf = IOBuf::create(bufLen);
buf->append(bufLen);
folly::io::RWPrivateCursor cursor(buf.get());
cursor.write<uint8_t>(SSL3_MT_CLIENT_HELLO);
cursor.write<uint16_t>(0);
cursor.write<uint8_t>(38);
cursor.write<uint8_t>(majorVersion);
cursor.write<uint8_t>(minorVersion);
cursor.skip(32);
cursor.write<uint32_t>(0);
SSL* ssl = ctx->createSSL();
SCOPE_EXIT {
SSL_free(ssl);
};
AsyncSSLSocket::UniquePtr sock(
new AsyncSSLSocket(ctx, &eventBase, fds[0], true));
sock->enableClientHelloParsing();
// Test parsing with two packets with first packet size < 3
auto bufCopy = folly::IOBuf::copyBuffer(buf->data(), 2);
AsyncSSLSocket::clientHelloParsingCallback(
0,
0,
SSL3_RT_HANDSHAKE,
bufCopy->data(),
bufCopy->length(),
ssl,
sock.get());
bufCopy.reset();
bufCopy = folly::IOBuf::copyBuffer(buf->data() + 2, buf->length() - 2);
AsyncSSLSocket::clientHelloParsingCallback(
0,
0,
SSL3_RT_HANDSHAKE,
bufCopy->data(),
bufCopy->length(),
ssl,
sock.get());
bufCopy.reset();
auto parsedClientHello = sock->getClientHelloInfo();
EXPECT_TRUE(parsedClientHello != nullptr);
EXPECT_EQ(parsedClientHello->clientHelloMajorVersion_, majorVersion);
EXPECT_EQ(parsedClientHello->clientHelloMinorVersion_, minorVersion);
}
TEST(AsyncSSLSocketTest, SSLParseClientHelloMultiplePackets) {
EventBase eventBase;
auto ctx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
int bufLen = 42;
uint8_t majorVersion = 18;
uint8_t minorVersion = 25;
// Create callback buf
auto buf = IOBuf::create(bufLen);
buf->append(bufLen);
folly::io::RWPrivateCursor cursor(buf.get());
cursor.write<uint8_t>(SSL3_MT_CLIENT_HELLO);
cursor.write<uint16_t>(0);
cursor.write<uint8_t>(38);
cursor.write<uint8_t>(majorVersion);
cursor.write<uint8_t>(minorVersion);
cursor.skip(32);
cursor.write<uint32_t>(0);
SSL* ssl = ctx->createSSL();
SCOPE_EXIT {
SSL_free(ssl);
};
AsyncSSLSocket::UniquePtr sock(
new AsyncSSLSocket(ctx, &eventBase, fds[0], true));
sock->enableClientHelloParsing();
// Test parsing with multiple small packets
for (uint64_t i = 0; i < buf->length(); i += 3) {
auto bufCopy = folly::IOBuf::copyBuffer(
buf->data() + i, std::min((uint64_t)3, buf->length() - i));
AsyncSSLSocket::clientHelloParsingCallback(
0,
0,
SSL3_RT_HANDSHAKE,
bufCopy->data(),
bufCopy->length(),
ssl,
sock.get());
bufCopy.reset();
}
auto parsedClientHello = sock->getClientHelloInfo();
EXPECT_TRUE(parsedClientHello != nullptr);
EXPECT_EQ(parsedClientHello->clientHelloMajorVersion_, majorVersion);
EXPECT_EQ(parsedClientHello->clientHelloMinorVersion_, minorVersion);
}
/**
* Verify sucessful behavior of SSL certificate validation.
*/
TEST(AsyncSSLSocketTest, SSLHandshakeValidationSuccess) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
dfServerCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), true, true);
clientCtx->loadTrustedCertificates(kTestCA);
SSLHandshakeServer server(std::move(serverSock), true, true);
eventBase.loop();
EXPECT_TRUE(client.handshakeVerify_);
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(!client.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_TRUE(!server.handshakeVerify_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_TRUE(!server.handshakeError_);
EXPECT_LE(0, server.handshakeTime.count());
}
/**
* Verify that the client's verification callback is able to fail SSL
* connection establishment.
*/
TEST(AsyncSSLSocketTest, SSLHandshakeValidationFailure) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
dfServerCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), true, false);
clientCtx->loadTrustedCertificates(kTestCA);
SSLHandshakeServer server(std::move(serverSock), true, true);
eventBase.loop();
EXPECT_TRUE(client.handshakeVerify_);
EXPECT_TRUE(!client.handshakeSuccess_);
EXPECT_TRUE(client.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_TRUE(!server.handshakeVerify_);
EXPECT_TRUE(!server.handshakeSuccess_);
EXPECT_TRUE(server.handshakeError_);
EXPECT_LE(0, server.handshakeTime.count());
}
/**
* Verify that the options in SSLContext can be overridden in
* sslConnect/Accept.i.e specifying that no validation should be performed
* allows an otherwise-invalid certificate to be accepted and doesn't fire
* the validation callback.
*/
TEST(AsyncSSLSocketTest, OverrideSSLCtxDisableVerify) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
dfServerCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SSLHandshakeClientNoVerify client(std::move(clientSock), false, false);
clientCtx->loadTrustedCertificates(kTestCA);
SSLHandshakeServerNoVerify server(std::move(serverSock), false, false);
eventBase.loop();
EXPECT_TRUE(!client.handshakeVerify_);
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(!client.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_TRUE(!server.handshakeVerify_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_TRUE(!server.handshakeError_);
EXPECT_LE(0, server.handshakeTime.count());
}
/**
* Verify that the options in SSLContext can be overridden in
* sslConnect/Accept. Enable verification even if context says otherwise.
* Test requireClientCert with client cert
*/
TEST(AsyncSSLSocketTest, OverrideSSLCtxEnableVerify) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto serverCtx = std::make_shared<SSLContext>();
serverCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::NO_VERIFY);
serverCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
serverCtx->loadPrivateKey(kTestKey);
serverCtx->loadCertificate(kTestCert);
serverCtx->loadTrustedCertificates(kTestCA);
serverCtx->loadClientCAList(kTestCA);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::NO_VERIFY);
clientCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
clientCtx->loadPrivateKey(kTestKey);
clientCtx->loadCertificate(kTestCert);
clientCtx->loadTrustedCertificates(kTestCA);
int fds[2];
getfds(fds);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(serverCtx, &eventBase, fds[1], true));
SSLHandshakeClientDoVerify client(std::move(clientSock), true, true);
SSLHandshakeServerDoVerify server(std::move(serverSock), true, true);
eventBase.loop();
EXPECT_TRUE(client.handshakeVerify_);
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_FALSE(client.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_TRUE(server.handshakeVerify_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_FALSE(server.handshakeError_);
EXPECT_LE(0, server.handshakeTime.count());
}
/**
* Verify that the client's verification callback is able to override
* the preverification failure and allow a successful connection.
*/
TEST(AsyncSSLSocketTest, SSLHandshakeValidationOverride) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
dfServerCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), false, true);
SSLHandshakeServer server(std::move(serverSock), true, true);
eventBase.loop();
EXPECT_TRUE(client.handshakeVerify_);
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(!client.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_TRUE(!server.handshakeVerify_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_TRUE(!server.handshakeError_);
EXPECT_LE(0, server.handshakeTime.count());
}
/**
* Verify that specifying that no validation should be performed allows an
* otherwise-invalid certificate to be accepted and doesn't fire the validation
* callback.
*/
TEST(AsyncSSLSocketTest, SSLHandshakeValidationSkip) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
int fds[2];
getfds(fds);
getctx(clientCtx, dfServerCtx);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::NO_VERIFY);
dfServerCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::NO_VERIFY);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), false, false);
SSLHandshakeServer server(std::move(serverSock), false, false);
eventBase.loop();
EXPECT_TRUE(!client.handshakeVerify_);
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(!client.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_TRUE(!server.handshakeVerify_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_TRUE(!server.handshakeError_);
EXPECT_LE(0, server.handshakeTime.count());
}
/**
* Test requireClientCert with client cert
*/
TEST(AsyncSSLSocketTest, ClientCertHandshakeSuccess) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto serverCtx = std::make_shared<SSLContext>();
serverCtx->setVerificationOption(
SSLContext::SSLVerifyPeerEnum::VERIFY_REQ_CLIENT_CERT);
serverCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
serverCtx->loadPrivateKey(kTestKey);
serverCtx->loadCertificate(kTestCert);
serverCtx->loadTrustedCertificates(kTestCA);
serverCtx->loadClientCAList(kTestCA);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::VERIFY);
clientCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
clientCtx->loadPrivateKey(kTestKey);
clientCtx->loadCertificate(kTestCert);
clientCtx->loadTrustedCertificates(kTestCA);
int fds[2];
getfds(fds);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(serverCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), true, true);
SSLHandshakeServer server(std::move(serverSock), true, true);
eventBase.loop();
EXPECT_TRUE(client.handshakeVerify_);
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_FALSE(client.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_TRUE(server.handshakeVerify_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_FALSE(server.handshakeError_);
EXPECT_LE(0, server.handshakeTime.count());
}
/**
* Test requireClientCert with no client cert
*/
TEST(AsyncSSLSocketTest, NoClientCertHandshakeError) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto serverCtx = std::make_shared<SSLContext>();
serverCtx->setVerificationOption(
SSLContext::SSLVerifyPeerEnum::VERIFY_REQ_CLIENT_CERT);
serverCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
serverCtx->loadPrivateKey(kTestKey);
serverCtx->loadCertificate(kTestCert);
serverCtx->loadTrustedCertificates(kTestCA);
serverCtx->loadClientCAList(kTestCA);
clientCtx->setVerificationOption(SSLContext::SSLVerifyPeerEnum::NO_VERIFY);
clientCtx->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
int fds[2];
getfds(fds);
AsyncSSLSocket::UniquePtr clientSock(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSock(
new AsyncSSLSocket(serverCtx, &eventBase, fds[1], true));
SSLHandshakeClient client(std::move(clientSock), false, false);
SSLHandshakeServer server(std::move(serverSock), false, false);
eventBase.loop();
EXPECT_FALSE(server.handshakeVerify_);
EXPECT_FALSE(server.handshakeSuccess_);
EXPECT_TRUE(server.handshakeError_);
EXPECT_LE(0, client.handshakeTime.count());
EXPECT_LE(0, server.handshakeTime.count());
}
TEST(AsyncSSLSocketTest, LoadCertFromMemory) {
auto cert = getFileAsBuf(kTestCert);
auto key = getFileAsBuf(kTestKey);
ssl::BioUniquePtr certBio(BIO_new(BIO_s_mem()));
BIO_write(certBio.get(), cert.data(), cert.size());
ssl::BioUniquePtr keyBio(BIO_new(BIO_s_mem()));
BIO_write(keyBio.get(), key.data(), key.size());
// Create SSL structs from buffers to get properties
ssl::X509UniquePtr certStruct(
PEM_read_bio_X509(certBio.get(), nullptr, nullptr, nullptr));
ssl::EvpPkeyUniquePtr keyStruct(
PEM_read_bio_PrivateKey(keyBio.get(), nullptr, nullptr, nullptr));
certBio = nullptr;
keyBio = nullptr;
auto origCommonName = getCommonName(certStruct.get());
auto origKeySize = EVP_PKEY_bits(keyStruct.get());
certStruct = nullptr;
keyStruct = nullptr;
auto ctx = std::make_shared<SSLContext>();
ctx->loadPrivateKeyFromBufferPEM(key);
ctx->loadCertificateFromBufferPEM(cert);
ctx->loadTrustedCertificates(kTestCA);
ssl::SSLUniquePtr ssl(ctx->createSSL());
auto newCert = SSL_get_certificate(ssl.get());
auto newKey = SSL_get_privatekey(ssl.get());
// Get properties from SSL struct
auto newCommonName = getCommonName(newCert);
auto newKeySize = EVP_PKEY_bits(newKey);
// Check that the key and cert have the expected properties
EXPECT_EQ(origCommonName, newCommonName);
EXPECT_EQ(origKeySize, newKeySize);
}
TEST(AsyncSSLSocketTest, MinWriteSizeTest) {
EventBase eb;
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// create SSL socket
AsyncSSLSocket::UniquePtr socket(new AsyncSSLSocket(sslContext, &eb));
EXPECT_EQ(1500, socket->getMinWriteSize());
socket->setMinWriteSize(0);
EXPECT_EQ(0, socket->getMinWriteSize());
socket->setMinWriteSize(50000);
EXPECT_EQ(50000, socket->getMinWriteSize());
}
class ReadCallbackTerminator : public ReadCallback {
public:
ReadCallbackTerminator(EventBase* base, WriteCallbackBase* wcb)
: ReadCallback(wcb), base_(base) {}
// Do not write data back, terminate the loop.
void readDataAvailable(size_t len) noexcept override {
std::cerr << "readDataAvailable, len " << len << std::endl;
currentBuffer.length = len;
buffers.push_back(currentBuffer);
currentBuffer.reset();
state = STATE_SUCCEEDED;
socket_->setReadCB(nullptr);
base_->terminateLoopSoon();
}
private:
EventBase* base_;
};
/**
* Test a full unencrypted codepath
*/
TEST(AsyncSSLSocketTest, UnencryptedTest) {
EventBase base;
auto clientCtx = std::make_shared<folly::SSLContext>();
auto serverCtx = std::make_shared<folly::SSLContext>();
int fds[2];
getfds(fds);
getctx(clientCtx, serverCtx);
auto client =
AsyncSSLSocket::newSocket(clientCtx, &base, fds[0], false, true);
auto server = AsyncSSLSocket::newSocket(serverCtx, &base, fds[1], true, true);
ReadCallbackTerminator readCallback(&base, nullptr);
server->setReadCB(&readCallback);
readCallback.setSocket(server);
uint8_t buf[128];
memset(buf, 'a', sizeof(buf));
client->write(nullptr, buf, sizeof(buf));
// Check that bytes are unencrypted
char c;
EXPECT_EQ(1, recv(fds[1], &c, 1, MSG_PEEK));
EXPECT_EQ('a', c);
EventBaseAborter eba(&base, 3000);
base.loop();
EXPECT_EQ(1, readCallback.buffers.size());
EXPECT_EQ(AsyncSSLSocket::STATE_UNENCRYPTED, client->getSSLState());
server->setReadCB(&readCallback);
// Unencrypted
server->sslAccept(nullptr);
client->sslConn(nullptr);
// Do NOT wait for handshake, writing should be queued and happen after
client->write(nullptr, buf, sizeof(buf));
// Check that bytes are *not* unencrypted
char c2;
EXPECT_EQ(1, recv(fds[1], &c2, 1, MSG_PEEK));
EXPECT_NE('a', c2);
base.loop();
EXPECT_EQ(2, readCallback.buffers.size());
EXPECT_EQ(AsyncSSLSocket::STATE_ESTABLISHED, client->getSSLState());
}
TEST(AsyncSSLSocketTest, ConnectUnencryptedTest) {
auto clientCtx = std::make_shared<folly::SSLContext>();
auto serverCtx = std::make_shared<folly::SSLContext>();
getctx(clientCtx, serverCtx);
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
EventBase evb;
std::shared_ptr<AsyncSSLSocket> socket =
AsyncSSLSocket::newSocket(clientCtx, &evb, true);
socket->connect(nullptr, server.getAddress(), 0);
evb.loop();
EXPECT_EQ(AsyncSSLSocket::STATE_UNENCRYPTED, socket->getSSLState());
socket->sslConn(nullptr);
evb.loop();
EXPECT_EQ(AsyncSSLSocket::STATE_ESTABLISHED, socket->getSSLState());
// write()
std::array<uint8_t, 128> buf;
memset(buf.data(), 'a', buf.size());
socket->write(nullptr, buf.data(), buf.size());
socket->close();
}
TEST(AsyncSSLSocketTest, ConnResetErrorString) {
// Start listening on a local port
WriteCallbackBase writeCallback;
WriteErrorCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(
&readCallback, HandshakeCallback::EXPECT_ERROR);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
auto socket = std::make_shared<BlockingSocket>(server.getAddress(), nullptr);
socket->open();
uint8_t buf[3] = {0x16, 0x03, 0x01};
socket->write(buf, sizeof(buf));
socket->closeWithReset();
handshakeCallback.waitForHandshake();
EXPECT_NE(
handshakeCallback.errorString_.find("Network error"), std::string::npos);
EXPECT_NE(handshakeCallback.errorString_.find("104"), std::string::npos);
}
TEST(AsyncSSLSocketTest, ConnEOFErrorString) {
// Start listening on a local port
WriteCallbackBase writeCallback;
WriteErrorCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(
&readCallback, HandshakeCallback::EXPECT_ERROR);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
auto socket = std::make_shared<BlockingSocket>(server.getAddress(), nullptr);
socket->open();
uint8_t buf[3] = {0x16, 0x03, 0x01};
socket->write(buf, sizeof(buf));
socket->close();
handshakeCallback.waitForHandshake();
#if FOLLY_OPENSSL_IS_110
EXPECT_NE(
handshakeCallback.errorString_.find("Network error"), std::string::npos);
#else
EXPECT_NE(
handshakeCallback.errorString_.find("Connection EOF"), std::string::npos);
#endif
}
TEST(AsyncSSLSocketTest, ConnOpenSSLErrorString) {
// Start listening on a local port
WriteCallbackBase writeCallback;
WriteErrorCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(
&readCallback, HandshakeCallback::EXPECT_ERROR);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
auto socket = std::make_shared<BlockingSocket>(server.getAddress(), nullptr);
socket->open();
uint8_t buf[256] = {0x16, 0x03};
memset(buf + 2, 'a', sizeof(buf) - 2);
socket->write(buf, sizeof(buf));
socket->close();
handshakeCallback.waitForHandshake();
EXPECT_NE(
handshakeCallback.errorString_.find("SSL routines"), std::string::npos);
#if defined(OPENSSL_IS_BORINGSSL)
EXPECT_NE(
handshakeCallback.errorString_.find("ENCRYPTED_LENGTH_TOO_LONG"),
std::string::npos);
#elif FOLLY_OPENSSL_IS_110
EXPECT_NE(
handshakeCallback.errorString_.find("packet length too long"),
std::string::npos);
#else
EXPECT_NE(
handshakeCallback.errorString_.find("unknown protocol"),
std::string::npos);
#endif
}
TEST(AsyncSSLSocketTest, TestSSLCipherCodeToNameMap) {
using folly::ssl::OpenSSLUtils;
EXPECT_EQ(
OpenSSLUtils::getCipherName(0xc02c), "ECDHE-ECDSA-AES256-GCM-SHA384");
// TLS_DHE_RSA_WITH_DES_CBC_SHA - We shouldn't be building with this
EXPECT_EQ(OpenSSLUtils::getCipherName(0x0015), "");
// This indicates TLS_EMPTY_RENEGOTIATION_INFO_SCSV, no name expected
EXPECT_EQ(OpenSSLUtils::getCipherName(0x00ff), "");
}
#if FOLLY_ALLOW_TFO
class MockAsyncTFOSSLSocket : public AsyncSSLSocket {
public:
using UniquePtr = std::unique_ptr<MockAsyncTFOSSLSocket, Destructor>;
explicit MockAsyncTFOSSLSocket(
std::shared_ptr<folly::SSLContext> sslCtx,
EventBase* evb)
: AsyncSocket(evb), AsyncSSLSocket(sslCtx, evb) {}
MOCK_METHOD3(tfoSendMsg, ssize_t(int fd, struct msghdr* msg, int msg_flags));
};
/**
* Test connecting to, writing to, reading from, and closing the
* connection to the SSL server with TFO.
*/
TEST(AsyncSSLSocketTest, ConnectWriteReadCloseTFO) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback, true);
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->enableTFO();
socket->open();
// write()
std::array<uint8_t, 128> buf;
memset(buf.data(), 'a', buf.size());
socket->write(buf.data(), buf.size());
// read()
std::array<uint8_t, 128> readbuf;
uint32_t bytesRead = socket->readAll(readbuf.data(), readbuf.size());
EXPECT_EQ(bytesRead, 128);
EXPECT_EQ(memcmp(buf.data(), readbuf.data(), bytesRead), 0);
// close()
socket->close();
}
/**
* Test connecting to, writing to, reading from, and closing the
* connection to the SSL server with TFO.
*/
TEST(AsyncSSLSocketTest, ConnectWriteReadCloseTFOWithTFOServerDisabled) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback, false);
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->enableTFO();
socket->open();
// write()
std::array<uint8_t, 128> buf;
memset(buf.data(), 'a', buf.size());
socket->write(buf.data(), buf.size());
// read()
std::array<uint8_t, 128> readbuf;
uint32_t bytesRead = socket->readAll(readbuf.data(), readbuf.size());
EXPECT_EQ(bytesRead, 128);
EXPECT_EQ(memcmp(buf.data(), readbuf.data(), bytesRead), 0);
// close()
socket->close();
}
class ConnCallback : public AsyncSocket::ConnectCallback {
public:
void connectSuccess() noexcept override {
state = State::SUCCESS;
}
void connectErr(const AsyncSocketException& ex) noexcept override {
state = State::ERROR;
error = ex.what();
}
enum class State { WAITING, SUCCESS, ERROR };
State state{State::WAITING};
std::string error;
};
template <class Cardinality>
MockAsyncTFOSSLSocket::UniquePtr setupSocketWithFallback(
EventBase* evb,
const SocketAddress& address,
Cardinality cardinality) {
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
// connect
auto socket = MockAsyncTFOSSLSocket::UniquePtr(
new MockAsyncTFOSSLSocket(sslContext, evb));
socket->enableTFO();
EXPECT_CALL(*socket, tfoSendMsg(_, _, _))
.Times(cardinality)
.WillOnce(Invoke([&](int fd, struct msghdr*, int) {
sockaddr_storage addr;
auto len = address.getAddress(&addr);
return connect(fd, (const struct sockaddr*)&addr, len);
}));
return socket;
}
TEST(AsyncSSLSocketTest, ConnectWriteReadCloseTFOFallback) {
// Start listening on a local port
WriteCallbackBase writeCallback;
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback, true);
EventBase evb;
auto socket = setupSocketWithFallback(&evb, server.getAddress(), 1);
ConnCallback ccb;
socket->connect(&ccb, server.getAddress(), 30);
evb.loop();
EXPECT_EQ(ConnCallback::State::SUCCESS, ccb.state);
evb.runInEventBaseThread([&] { socket->detachEventBase(); });
evb.loop();
BlockingSocket sock(std::move(socket));
// write()
std::array<uint8_t, 128> buf;
memset(buf.data(), 'a', buf.size());
sock.write(buf.data(), buf.size());
// read()
std::array<uint8_t, 128> readbuf;
uint32_t bytesRead = sock.readAll(readbuf.data(), readbuf.size());
EXPECT_EQ(bytesRead, 128);
EXPECT_EQ(memcmp(buf.data(), readbuf.data(), bytesRead), 0);
// close()
sock.close();
}
#if !defined(OPENSSL_IS_BORINGSSL)
TEST(AsyncSSLSocketTest, ConnectTFOTimeout) {
// Start listening on a local port
ConnectTimeoutCallback acceptCallback;
TestSSLServer server(&acceptCallback, true);
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->enableTFO();
EXPECT_THROW(
socket->open(std::chrono::milliseconds(20)), AsyncSocketException);
}
#endif
#if !defined(OPENSSL_IS_BORINGSSL)
TEST(AsyncSSLSocketTest, ConnectTFOFallbackTimeout) {
// Start listening on a local port
ConnectTimeoutCallback acceptCallback;
TestSSLServer server(&acceptCallback, true);
EventBase evb;
auto socket = setupSocketWithFallback(&evb, server.getAddress(), AtMost(1));
ConnCallback ccb;
// Set a short timeout
socket->connect(&ccb, server.getAddress(), 1);
evb.loop();
EXPECT_EQ(ConnCallback::State::ERROR, ccb.state);
}
#endif
TEST(AsyncSSLSocketTest, HandshakeTFOFallbackTimeout) {
// Start listening on a local port
EmptyReadCallback readCallback;
HandshakeCallback handshakeCallback(
&readCallback, HandshakeCallback::EXPECT_ERROR);
HandshakeTimeoutCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback, true);
EventBase evb;
auto socket = setupSocketWithFallback(&evb, server.getAddress(), AtMost(1));
ConnCallback ccb;
socket->connect(&ccb, server.getAddress(), 100);
evb.loop();
EXPECT_EQ(ConnCallback::State::ERROR, ccb.state);
EXPECT_THAT(ccb.error, testing::HasSubstr("SSL connect timed out"));
}
TEST(AsyncSSLSocketTest, HandshakeTFORefused) {
// Start listening on a local port
EventBase evb;
// Hopefully nothing is listening on this address
SocketAddress addr("127.0.0.1", 65535);
auto socket = setupSocketWithFallback(&evb, addr, AtMost(1));
ConnCallback ccb;
socket->connect(&ccb, addr, 100);
evb.loop();
EXPECT_EQ(ConnCallback::State::ERROR, ccb.state);
EXPECT_THAT(ccb.error, testing::HasSubstr("refused"));
}
TEST(AsyncSSLSocketTest, TestPreReceivedData) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
std::array<int, 2> fds;
getfds(fds.data());
getctx(clientCtx, dfServerCtx);
AsyncSSLSocket::UniquePtr clientSockPtr(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSSLSocket::UniquePtr serverSockPtr(
new AsyncSSLSocket(dfServerCtx, &eventBase, fds[1], true));
auto clientSock = clientSockPtr.get();
auto serverSock = serverSockPtr.get();
SSLHandshakeClient client(std::move(clientSockPtr), true, true);
// Steal some data from the server.
std::array<uint8_t, 10> buf;
auto bytesReceived = recv(fds[1], buf.data(), buf.size(), 0);
checkUnixError(bytesReceived, "recv failed");
serverSock->setPreReceivedData(
IOBuf::wrapBuffer(ByteRange(buf.data(), bytesReceived)));
SSLHandshakeServer server(std::move(serverSockPtr), true, true);
while (!client.handshakeSuccess_ && !client.handshakeError_) {
eventBase.loopOnce();
}
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_EQ(
serverSock->getRawBytesReceived(), clientSock->getRawBytesWritten());
}
TEST(AsyncSSLSocketTest, TestMoveFromAsyncSocket) {
EventBase eventBase;
auto clientCtx = std::make_shared<SSLContext>();
auto dfServerCtx = std::make_shared<SSLContext>();
std::array<int, 2> fds;
getfds(fds.data());
getctx(clientCtx, dfServerCtx);
AsyncSSLSocket::UniquePtr clientSockPtr(
new AsyncSSLSocket(clientCtx, &eventBase, fds[0], false));
AsyncSocket::UniquePtr serverSockPtr(new AsyncSocket(&eventBase, fds[1]));
auto clientSock = clientSockPtr.get();
auto serverSock = serverSockPtr.get();
SSLHandshakeClient client(std::move(clientSockPtr), true, true);
// Steal some data from the server.
std::array<uint8_t, 10> buf;
auto bytesReceived = recv(fds[1], buf.data(), buf.size(), 0);
checkUnixError(bytesReceived, "recv failed");
serverSock->setPreReceivedData(
IOBuf::wrapBuffer(ByteRange(buf.data(), bytesReceived)));
AsyncSSLSocket::UniquePtr serverSSLSockPtr(
new AsyncSSLSocket(dfServerCtx, std::move(serverSockPtr), true));
auto serverSSLSock = serverSSLSockPtr.get();
SSLHandshakeServer server(std::move(serverSSLSockPtr), true, true);
while (!client.handshakeSuccess_ && !client.handshakeError_) {
eventBase.loopOnce();
}
EXPECT_TRUE(client.handshakeSuccess_);
EXPECT_TRUE(server.handshakeSuccess_);
EXPECT_EQ(
serverSSLSock->getRawBytesReceived(), clientSock->getRawBytesWritten());
}
/**
* Test overriding the flags passed to "sendmsg()" system call,
* and verifying that write requests fail properly.
*/
TEST(AsyncSSLSocketTest, SendMsgParamsCallback) {
// Start listening on a local port
SendMsgFlagsCallback msgCallback;
ExpectWriteErrorCallback writeCallback(&msgCallback);
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->open();
// Setting flags to "-1" to trigger "Invalid argument" error
// on attempt to use this flags in sendmsg() system call.
msgCallback.resetFlags(-1);
// write()
std::vector<uint8_t> buf(128, 'a');
ASSERT_EQ(socket->write(buf.data(), buf.size()), buf.size());
// close()
socket->close();
cerr << "SendMsgParamsCallback test completed" << endl;
}
#ifdef FOLLY_HAVE_MSG_ERRQUEUE
/**
* Test connecting to, writing to, reading from, and closing the
* connection to the SSL server.
*/
TEST(AsyncSSLSocketTest, SendMsgDataCallback) {
// This test requires Linux kernel v4.6 or later
struct utsname s_uname;
memset(&s_uname, 0, sizeof(s_uname));
ASSERT_EQ(uname(&s_uname), 0);
int major, minor;
folly::StringPiece extra;
if (folly::split<false>(
'.', std::string(s_uname.release) + ".", major, minor, extra)) {
if (major < 4 || (major == 4 && minor < 6)) {
LOG(INFO) << "Kernel version: 4.6 and newer required for this test ("
<< "kernel ver. " << s_uname.release << " detected).";
return;
}
}
// Start listening on a local port
SendMsgDataCallback msgCallback;
WriteCheckTimestampCallback writeCallback(&msgCallback);
ReadCallback readCallback(&writeCallback);
HandshakeCallback handshakeCallback(&readCallback);
SSLServerAcceptCallback acceptCallback(&handshakeCallback);
TestSSLServer server(&acceptCallback);
// Set up SSL context.
auto sslContext = std::make_shared<SSLContext>();
sslContext->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
// connect
auto socket =
std::make_shared<BlockingSocket>(server.getAddress(), sslContext);
socket->open();
// Adding MSG_EOR flag to the message flags - it'll trigger
// timestamp generation for the last byte of the message.
msgCallback.resetFlags(MSG_DONTWAIT | MSG_NOSIGNAL | MSG_EOR);
// Init ancillary data buffer to trigger timestamp notification
union {
uint8_t ctrl_data[CMSG_LEN(sizeof(uint32_t))];
struct cmsghdr cmsg;
} u;
u.cmsg.cmsg_level = SOL_SOCKET;
u.cmsg.cmsg_type = SO_TIMESTAMPING;
u.cmsg.cmsg_len = CMSG_LEN(sizeof(uint32_t));
uint32_t flags = SOF_TIMESTAMPING_TX_SCHED | SOF_TIMESTAMPING_TX_SOFTWARE |
SOF_TIMESTAMPING_TX_ACK;
memcpy(CMSG_DATA(&u.cmsg), &flags, sizeof(uint32_t));
std::vector<char> ctrl(CMSG_LEN(sizeof(uint32_t)));
memcpy(ctrl.data(), u.ctrl_data, CMSG_LEN(sizeof(uint32_t)));
msgCallback.resetData(std::move(ctrl));
// write()
std::vector<uint8_t> buf(128, 'a');
socket->write(buf.data(), buf.size());
// read()
std::vector<uint8_t> readbuf(buf.size());
uint32_t bytesRead = socket->readAll(readbuf.data(), readbuf.size());
EXPECT_EQ(bytesRead, buf.size());
EXPECT_TRUE(std::equal(buf.begin(), buf.end(), readbuf.begin()));
writeCallback.checkForTimestampNotifications();
// close()
socket->close();
cerr << "SendMsgDataCallback test completed" << endl;
}
#endif // FOLLY_HAVE_MSG_ERRQUEUE
#endif
} // namespace folly
#ifdef SIGPIPE
///////////////////////////////////////////////////////////////////////////
// init_unit_test_suite
///////////////////////////////////////////////////////////////////////////
namespace {
struct Initializer {
Initializer() {
signal(SIGPIPE, SIG_IGN);
}
};
Initializer initializer;
} // namespace
#endif
|
rklabs/folly
|
folly/io/async/test/AsyncSSLSocketTest.cpp
|
C++
|
apache-2.0
| 72,281
|
import mysql from 'mysql2/promise';
import * as Rx from "rxjs";
export default class MysqlPool {
constructor({config}){
this._config = config;
}
getPool(){
return Rx.Observable.of(mysql.createPool({
...this._config.mysql
}));
}
}
|
UnexpectedSoftware/openMarket
|
src/openMarket/infrastructure/service/MysqlPool.js
|
JavaScript
|
apache-2.0
| 260
|
# Epicion northropiae (Schltr.) Small SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null
|
mdoering/backbone
|
life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Apocynaceae/Metastelma/Metastelma northropiae/ Syn. Epicion northropiae/README.md
|
Markdown
|
apache-2.0
| 192
|
import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import TrackList from '../../components/TrackList';
import Header from '../../components/Header';
import DropdownField from '../../components/Fields/DropdownField';
import FilterField from '../../components/Fields/FilterField';
import LazyLoadListener from '../../components/LazyLoadListener';
import Icon from '../../components/Icon';
import * as coreActions from '../../services/core/actions';
import * as uiActions from '../../services/ui/actions';
import * as mopidyActions from '../../services/mopidy/actions';
import * as spotifyActions from '../../services/spotify/actions';
import { sortItems, applyFilter, arrayOf } from '../../util/arrays';
import Button from '../../components/Button';
import { i18n, I18n } from '../../locale';
import Loader from '../../components/Loader';
import {
makeLibrarySelector,
makeProcessProgressSelector,
getLibrarySource,
makeProvidersSelector,
getSortSelector,
} from '../../util/selectors';
const SORT_KEY = 'library_tracks';
const processKeys = [
'MOPIDY_GET_LIBRARY_TRACKS',
'SPOTIFY_GET_LIBRARY_TRACKS',
];
class Tracks extends React.Component {
constructor(props) {
super(props);
this.state = {
filter: '',
};
}
componentDidMount() {
const {
uiActions: {
setWindowTitle,
},
} = this.props;
setWindowTitle(i18n('library.tracks.title'));
this.getLibraries();
}
componentDidUpdate = ({ source: prevSource }) => {
const { source } = this.props;
if (source !== prevSource) {
this.getLibraries();
}
}
refresh = () => {
const { uiActions: { hideContextMenu } } = this.props;
hideContextMenu();
this.getLibraries(true);
}
cancelRefresh = () => {
const { uiActions: { hideContextMenu, cancelProcess } } = this.props;
hideContextMenu();
cancelProcess(processKeys);
}
getLibraries = (forceRefetch = false) => {
const {
source,
providers,
coreActions: {
loadLibrary,
},
} = this.props;
let uris = [];
if (source === 'all') {
uris = providers.map((p) => p.uri);
} else {
uris.push(source);
}
uris.forEach((uri) => loadLibrary(uri, 'tracks', { forceRefetch }));
};
handleContextMenu = (e, item) => {
const {
uiActions: {
showContextMenu,
},
} = this.props;
showContextMenu({
e,
context: 'album',
uris: [item.uri],
items: [item],
});
}
onSortChange = (field) => {
const {
sortField,
sortReverse,
uiActions: {
setSort,
hideContextMenu,
},
} = this.props;
let reverse = false;
if (field !== null && sortField === field) {
reverse = !sortReverse;
}
setSort(SORT_KEY, field, reverse);
hideContextMenu();
}
playAll = () => {
const {
sortField,
sortReverse,
mopidyActions: {
playURIs,
},
uiActions: {
hideContextMenu,
},
} = this.props;
let { tracks } = this.props;
const { filter } = this.state;
if (!tracks || !tracks.length) return;
if (sortField) {
tracks = sortItems(tracks, sortField, sortReverse);
}
if (filter && filter !== '') {
tracks = applyFilter('name', filter, tracks);
}
playURIs({ uris: arrayOf('uri', tracks) });
hideContextMenu();
}
renderView = () => {
const {
sortField,
sortReverse,
loading_progress,
} = this.props;
const {
filter,
} = this.state;
let { tracks } = this.props;
if (loading_progress) {
return <Loader body loading progress={loading_progress} />;
}
if (sortField) {
tracks = sortItems(tracks, sortField, sortReverse);
}
if (filter && filter !== '') {
tracks = applyFilter('name', filter, tracks);
}
return (
<section className="content-wrapper">
<TrackList
context={{
name: 'Tracks',
}}
tracks={tracks}
/>
</section>
);
}
render = () => {
const {
source,
providers,
sortField,
sortReverse,
uiActions,
loading_progress,
} = this.props;
const {
filter,
} = this.state;
const sort_options = [
{
value: null,
label: i18n('fields.filters.as_loaded'),
},
{
value: 'name',
label: i18n('fields.filters.name'),
},
{
value: 'artist',
label: i18n('fields.filters.artist'),
},
{
value: 'album',
label: i18n('fields.filters.album'),
},
];
const options = (
<>
<FilterField
initialValue={filter}
handleChange={(value) => this.setState({ filter: value })}
onSubmit={() => uiActions.hideContextMenu()}
/>
<DropdownField
icon="swap_vert"
name={i18n('fields.sort')}
value={sortField}
valueAsLabel
options={sort_options}
selected_icon={sortField ? (sortReverse ? 'keyboard_arrow_up' : 'keyboard_arrow_down') : null}
handleChange={this.onSortChange}
/>
<DropdownField
icon="cloud"
name={i18n('fields.source')}
value={source}
valueAsLabel
options={[
{
value: 'all',
label: i18n('fields.filters.all'),
},
...providers.map((p) => ({ value: p.uri, label: p.title })),
]}
handleChange={
(val) => {
uiActions.set({ library_tracks_source: val });
uiActions.hideContextMenu();
}
}
/>
<Button
onClick={this.playAll}
noHover
discrete
tracking={{ category: 'LibraryTracks', action: 'Play' }}
>
<Icon name="play_circle_filled" />
<I18n path="actions.play_all" />
</Button>
<Button
noHover
discrete
onClick={loading_progress ? this.cancelRefresh : this.refresh}
tracking={{ category: 'LibraryTracks', action: 'Refresh' }}
>
{loading_progress ? <Icon name="close" /> : <Icon name="refresh" /> }
{loading_progress ? <I18n path="actions.cancel" /> : <I18n path="actions.refresh" /> }
</Button>
</>
);
return (
<div className="view library-tracks-view">
<Header options={options} uiActions={uiActions}>
<Icon name="album" type="material" />
<I18n path="library.tracks.title" />
</Header>
{this.renderView()}
</div>
);
}
}
const librarySelector = makeLibrarySelector('tracks');
const processProgressSelector = makeProcessProgressSelector(processKeys);
const providersSelector = makeProvidersSelector('tracks');
const mapStateToProps = (state) => {
const [sortField, sortReverse] = getSortSelector(state, SORT_KEY, null);
return {
loading_progress: processProgressSelector(state),
mopidy_uri_schemes: state.mopidy.uri_schemes,
tracks: librarySelector(state, 'tracks'),
view: state.ui.library_tracks_view,
source: getLibrarySource(state, 'tracks'),
providers: providersSelector(state),
sortField,
sortReverse,
};
};
const mapDispatchToProps = (dispatch) => ({
coreActions: bindActionCreators(coreActions, dispatch),
uiActions: bindActionCreators(uiActions, dispatch),
mopidyActions: bindActionCreators(mopidyActions, dispatch),
spotifyActions: bindActionCreators(spotifyActions, dispatch),
});
export default connect(mapStateToProps, mapDispatchToProps)(Tracks);
|
jaedb/Iris
|
src/js/views/Library/Tracks.js
|
JavaScript
|
apache-2.0
| 8,097
|
package org.shirdrn.smart.dag;
@InterfaceAudience.Private
public abstract class AbstractVertexBuilder<A> implements VertexBuilder<A> {
protected final DAG dag;
private final DAGMonitor dagMonitor;
public AbstractVertexBuilder(DAG dag) {
super();
this.dag = dag;
this.dagMonitor = dag.getDAGMonitor();
}
protected void notifyVertexCreated(Vertex<A> vertex) {
dagMonitor.vertexCreated(dag, vertex);
}
}
|
shirdrn/smart-dag
|
smart-dag-core/src/main/java/org/shirdrn/smart/dag/AbstractVertexBuilder.java
|
Java
|
apache-2.0
| 421
|
# Lasianthus kerrii Craib SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null
|
mdoering/backbone
|
life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Lasianthus/Lasianthus schmidtii/ Syn. Lasianthus kerrii/README.md
|
Markdown
|
apache-2.0
| 180
|
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the source distribution
// Automatically generated by LOXI from template of_class.java
// Do not modify
package org.projectfloodlight.openflow.protocol.ver15;
import org.projectfloodlight.openflow.protocol.*;
import org.projectfloodlight.openflow.protocol.action.*;
import org.projectfloodlight.openflow.protocol.actionid.*;
import org.projectfloodlight.openflow.protocol.bsntlv.*;
import org.projectfloodlight.openflow.protocol.errormsg.*;
import org.projectfloodlight.openflow.protocol.meterband.*;
import org.projectfloodlight.openflow.protocol.instruction.*;
import org.projectfloodlight.openflow.protocol.instructionid.*;
import org.projectfloodlight.openflow.protocol.match.*;
import org.projectfloodlight.openflow.protocol.stat.*;
import org.projectfloodlight.openflow.protocol.oxm.*;
import org.projectfloodlight.openflow.protocol.oxs.*;
import org.projectfloodlight.openflow.protocol.queueprop.*;
import org.projectfloodlight.openflow.types.*;
import org.projectfloodlight.openflow.util.*;
import org.projectfloodlight.openflow.exceptions.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Set;
import io.netty.buffer.ByteBuf;
import com.google.common.hash.PrimitiveSink;
import com.google.common.hash.Funnel;
class OFBsnTlvActorPortPriorityVer15 implements OFBsnTlvActorPortPriority {
private static final Logger logger = LoggerFactory.getLogger(OFBsnTlvActorPortPriorityVer15.class);
// version: 1.5
final static byte WIRE_VERSION = 6;
final static int LENGTH = 6;
private final static int DEFAULT_VALUE = 0x0;
// OF message fields
private final int value;
//
// Immutable default instance
final static OFBsnTlvActorPortPriorityVer15 DEFAULT = new OFBsnTlvActorPortPriorityVer15(
DEFAULT_VALUE
);
// package private constructor - used by readers, builders, and factory
OFBsnTlvActorPortPriorityVer15(int value) {
this.value = U16.normalize(value);
}
// Accessors for OF message fields
@Override
public int getType() {
return 0x2a;
}
@Override
public int getValue() {
return value;
}
@Override
public OFVersion getVersion() {
return OFVersion.OF_15;
}
public OFBsnTlvActorPortPriority.Builder createBuilder() {
return new BuilderWithParent(this);
}
static class BuilderWithParent implements OFBsnTlvActorPortPriority.Builder {
final OFBsnTlvActorPortPriorityVer15 parentMessage;
// OF message fields
private boolean valueSet;
private int value;
BuilderWithParent(OFBsnTlvActorPortPriorityVer15 parentMessage) {
this.parentMessage = parentMessage;
}
@Override
public int getType() {
return 0x2a;
}
@Override
public int getValue() {
return value;
}
@Override
public OFBsnTlvActorPortPriority.Builder setValue(int value) {
this.value = value;
this.valueSet = true;
return this;
}
@Override
public OFVersion getVersion() {
return OFVersion.OF_15;
}
@Override
public OFBsnTlvActorPortPriority build() {
int value = this.valueSet ? this.value : parentMessage.value;
//
return new OFBsnTlvActorPortPriorityVer15(
value
);
}
}
static class Builder implements OFBsnTlvActorPortPriority.Builder {
// OF message fields
private boolean valueSet;
private int value;
@Override
public int getType() {
return 0x2a;
}
@Override
public int getValue() {
return value;
}
@Override
public OFBsnTlvActorPortPriority.Builder setValue(int value) {
this.value = value;
this.valueSet = true;
return this;
}
@Override
public OFVersion getVersion() {
return OFVersion.OF_15;
}
//
@Override
public OFBsnTlvActorPortPriority build() {
int value = this.valueSet ? this.value : DEFAULT_VALUE;
return new OFBsnTlvActorPortPriorityVer15(
value
);
}
}
final static Reader READER = new Reader();
static class Reader implements OFMessageReader<OFBsnTlvActorPortPriority> {
@Override
public OFBsnTlvActorPortPriority readFrom(ByteBuf bb) throws OFParseError {
int start = bb.readerIndex();
// fixed value property type == 0x2a
short type = bb.readShort();
if(type != (short) 0x2a)
throw new OFParseError("Wrong type: Expected=0x2a(0x2a), got="+type);
int length = U16.f(bb.readShort());
if(length != 6)
throw new OFParseError("Wrong length: Expected=6(6), got="+length);
if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
// Buffer does not have all data yet
bb.readerIndex(start);
return null;
}
if(logger.isTraceEnabled())
logger.trace("readFrom - length={}", length);
int value = U16.f(bb.readShort());
OFBsnTlvActorPortPriorityVer15 bsnTlvActorPortPriorityVer15 = new OFBsnTlvActorPortPriorityVer15(
value
);
if(logger.isTraceEnabled())
logger.trace("readFrom - read={}", bsnTlvActorPortPriorityVer15);
return bsnTlvActorPortPriorityVer15;
}
}
public void putTo(PrimitiveSink sink) {
FUNNEL.funnel(this, sink);
}
final static OFBsnTlvActorPortPriorityVer15Funnel FUNNEL = new OFBsnTlvActorPortPriorityVer15Funnel();
static class OFBsnTlvActorPortPriorityVer15Funnel implements Funnel<OFBsnTlvActorPortPriorityVer15> {
private static final long serialVersionUID = 1L;
@Override
public void funnel(OFBsnTlvActorPortPriorityVer15 message, PrimitiveSink sink) {
// fixed value property type = 0x2a
sink.putShort((short) 0x2a);
// fixed value property length = 6
sink.putShort((short) 0x6);
sink.putInt(message.value);
}
}
public void writeTo(ByteBuf bb) {
WRITER.write(bb, this);
}
final static Writer WRITER = new Writer();
static class Writer implements OFMessageWriter<OFBsnTlvActorPortPriorityVer15> {
@Override
public void write(ByteBuf bb, OFBsnTlvActorPortPriorityVer15 message) {
// fixed value property type = 0x2a
bb.writeShort((short) 0x2a);
// fixed value property length = 6
bb.writeShort((short) 0x6);
bb.writeShort(U16.t(message.value));
}
}
@Override
public String toString() {
StringBuilder b = new StringBuilder("OFBsnTlvActorPortPriorityVer15(");
b.append("value=").append(value);
b.append(")");
return b.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
OFBsnTlvActorPortPriorityVer15 other = (OFBsnTlvActorPortPriorityVer15) obj;
if( value != other.value)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + value;
return result;
}
}
|
floodlight/loxigen-artifacts
|
openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver15/OFBsnTlvActorPortPriorityVer15.java
|
Java
|
apache-2.0
| 7,927
|
//
// AppDelegate.h
// kalestenika
//
// Created by Gian Marco Sibilla on 29/07/15.
// Copyright (c) 2015 Gian Marco Sibilla. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
gmbilla/mobidev
|
kalestenika/kalestenika/AppDelegate.h
|
C
|
apache-2.0
| 299
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Ilwis-Objects: Ilwis::ScriptSyntaxError Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ilwisobjectsgeneral.PNG"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Ilwis-Objects
 <span id="projectnumber">1.0</span>
</div>
<div id="projectbrief">GIS and Remote Sensing framework for data access and processing</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>Ilwis</b></li><li class="navelem"><a class="el" href="class_ilwis_1_1_script_syntax_error.html">ScriptSyntaxError</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="class_ilwis_1_1_script_syntax_error-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Ilwis::ScriptSyntaxError Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for Ilwis::ScriptSyntaxError:</div>
<div class="dyncontent">
<div class="center">
<img src="class_ilwis_1_1_script_syntax_error.png" usemap="#Ilwis::ScriptSyntaxError_map" alt=""/>
<map id="Ilwis::ScriptSyntaxError_map" name="Ilwis::ScriptSyntaxError_map">
<area href="class_ilwis_1_1_script_error.html" alt="Ilwis::ScriptError" shape="rect" coords="0,112,143,136"/>
<area href="class_ilwis_1_1_error_object.html" title="The ErrorObject class base class for all exceptions in Ilwis." alt="Ilwis::ErrorObject" shape="rect" coords="0,56,143,80"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a290045ae10b0fde0a654963274d450f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a290045ae10b0fde0a654963274d450f9"></a>
 </td><td class="memItemRight" valign="bottom"><b>ScriptSyntaxError</b> (const QString &<a class="el" href="class_ilwis_1_1_error_object.html#af06a4d34e68cd89356bae013026a9815">message</a>)</td></tr>
<tr class="separator:a290045ae10b0fde0a654963274d450f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc51441d20df815113ae270795e77a2a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc51441d20df815113ae270795e77a2a"></a>
const char * </td><td class="memItemRight" valign="bottom"><b>what</b> () const throw ()</td></tr>
<tr class="separator:afc51441d20df815113ae270795e77a2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_class_ilwis_1_1_script_error"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_ilwis_1_1_script_error')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_ilwis_1_1_script_error.html">Ilwis::ScriptError</a></td></tr>
<tr class="memitem:a37b39d283fca6fbee8076c31f9cefc68 inherit pub_methods_class_ilwis_1_1_script_error"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37b39d283fca6fbee8076c31f9cefc68"></a>
 </td><td class="memItemRight" valign="bottom"><b>ScriptError</b> (const QString &<a class="el" href="class_ilwis_1_1_error_object.html#af06a4d34e68cd89356bae013026a9815">message</a>)</td></tr>
<tr class="separator:a37b39d283fca6fbee8076c31f9cefc68 inherit pub_methods_class_ilwis_1_1_script_error"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_class_ilwis_1_1_error_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_ilwis_1_1_error_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_ilwis_1_1_error_object.html">Ilwis::ErrorObject</a></td></tr>
<tr class="memitem:a3eed425a392fb5950b7bd35bc6b78738 inherit pub_methods_class_ilwis_1_1_error_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_ilwis_1_1_error_object.html#a3eed425a392fb5950b7bd35bc6b78738">ErrorObject</a> (const QString &<a class="el" href="class_ilwis_1_1_error_object.html#af06a4d34e68cd89356bae013026a9815">message</a>)</td></tr>
<tr class="memdesc:a3eed425a392fb5950b7bd35bc6b78738 inherit pub_methods_class_ilwis_1_1_error_object"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_ilwis_1_1_error_object.html" title="The ErrorObject class base class for all exceptions in Ilwis.">ErrorObject</a> constructor. <a href="#a3eed425a392fb5950b7bd35bc6b78738">More...</a><br/></td></tr>
<tr class="separator:a3eed425a392fb5950b7bd35bc6b78738 inherit pub_methods_class_ilwis_1_1_error_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af06a4d34e68cd89356bae013026a9815 inherit pub_methods_class_ilwis_1_1_error_object"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_ilwis_1_1_error_object.html#af06a4d34e68cd89356bae013026a9815">message</a> () const </td></tr>
<tr class="memdesc:af06a4d34e68cd89356bae013026a9815 inherit pub_methods_class_ilwis_1_1_error_object"><td class="mdescLeft"> </td><td class="mdescRight">message <a href="#af06a4d34e68cd89356bae013026a9815">More...</a><br/></td></tr>
<tr class="separator:af06a4d34e68cd89356bae013026a9815 inherit pub_methods_class_ilwis_1_1_error_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="errorobject_8h_source.html">errorobject.h</a></li>
<li>errorobject.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 28 2014 13:51:04 for Ilwis-Objects by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
|
ridoo/IlwisCore
|
CPPAPI/class_ilwis_1_1_script_syntax_error.html
|
HTML
|
apache-2.0
| 9,880
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Sat Mar 16 04:11:58 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.swarm.config.jgroups.channel.Fork.ForkResources (BOM: * : All 2.3.1.Final-SNAPSHOT API)</title>
<meta name="date" content="2019-03-16">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.wildfly.swarm.config.jgroups.channel.Fork.ForkResources (BOM: * : All 2.3.1.Final-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/Fork.ForkResources.html" title="class in org.wildfly.swarm.config.jgroups.channel">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">Thorntail API, 2.3.1.Final-SNAPSHOT</div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/wildfly/swarm/config/jgroups/channel/class-use/Fork.ForkResources.html" target="_top">Frames</a></li>
<li><a href="Fork.ForkResources.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.wildfly.swarm.config.jgroups.channel.Fork.ForkResources" class="title">Uses of Class<br>org.wildfly.swarm.config.jgroups.channel.Fork.ForkResources</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/Fork.ForkResources.html" title="class in org.wildfly.swarm.config.jgroups.channel">Fork.ForkResources</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.wildfly.swarm.config.jgroups.channel">org.wildfly.swarm.config.jgroups.channel</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.wildfly.swarm.config.jgroups.channel">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/Fork.ForkResources.html" title="class in org.wildfly.swarm.config.jgroups.channel">Fork.ForkResources</a> in <a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/package-summary.html">org.wildfly.swarm.config.jgroups.channel</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/package-summary.html">org.wildfly.swarm.config.jgroups.channel</a> that return <a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/Fork.ForkResources.html" title="class in org.wildfly.swarm.config.jgroups.channel">Fork.ForkResources</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/Fork.ForkResources.html" title="class in org.wildfly.swarm.config.jgroups.channel">Fork.ForkResources</a></code></td>
<td class="colLast"><span class="typeNameLabel">Fork.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/Fork.html#subresources--">subresources</a></span>()</code> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../../org/wildfly/swarm/config/jgroups/channel/Fork.ForkResources.html" title="class in org.wildfly.swarm.config.jgroups.channel">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">Thorntail API, 2.3.1.Final-SNAPSHOT</div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/wildfly/swarm/config/jgroups/channel/class-use/Fork.ForkResources.html" target="_top">Frames</a></li>
<li><a href="Fork.ForkResources.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2019 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p>
</body>
</html>
|
wildfly-swarm/wildfly-swarm-javadocs
|
2.3.1.Final-SNAPSHOT/apidocs/org/wildfly/swarm/config/jgroups/channel/class-use/Fork.ForkResources.html
|
HTML
|
apache-2.0
| 7,513
|
package org.onetwo.boot.module.redission;
import java.util.Map;
import lombok.Data;
import org.onetwo.common.propconf.JFishProperties;
import org.redisson.client.codec.Codec;
import org.redisson.spring.cache.CacheConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import com.google.common.collect.Maps;
/**
* @author wayshall
* <br/>
*/
@Data
@ConfigurationProperties(RedissonProperties.PREFIX)
public class RedissonProperties {
public static final String PREFIX = "jfish.redisson";
public static final String ENABLED_KEY = PREFIX + ".enabled";
String yamlConfig;
String jsonConfig;
Class<Codec> codec;
// SingleServerConfig singleServerConfig = new SingleServerConfig();
JFishProperties singleServer = new JFishProperties();
//非文件配置的方式,只提供两个配置,方便测试开发
String address = "redis://127.0.0.1:6379";
String password;
SpringCache springCache = new SpringCache();
@Data
public static class SpringCache {
public static final String SPRING_CACHE_ENABLED_KEY = PREFIX + ".springCache.enabled";
String configPath;
Map<String, ? extends CacheConfig> config = Maps.newHashMap();
}
}
|
wayshall/onetwo
|
core/modules/boot/src/main/java/org/onetwo/boot/module/redission/RedissonProperties.java
|
Java
|
apache-2.0
| 1,187
|
package com.uned.rfernandez.resolver;
import com.uned.rfernandez.Input;
import com.uned.rfernandez.print.Printer;
public class ResolverFactory {
public static Resolver get(Printer printer, Input input) {
return new Queens(printer, input);
}
}
|
colymore/Uned
|
Preda-N-Queens/src/com/uned/rfernandez/resolver/ResolverFactory.java
|
Java
|
apache-2.0
| 252
|
# Asclepias texana A. Heller SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null
|
mdoering/backbone
|
life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Apocynaceae/Asclepias/Asclepias texana/README.md
|
Markdown
|
apache-2.0
| 184
|
/* eslint-disable */
var webpack = require('webpack');
var path = require('path');
var PATHS = {
CONTEXT: __dirname,
BUILD: path.join(__dirname, 'dist')
};
module.exports = {
context: PATHS.CONTEXT,
entry: './playground',
output: {
path: PATHS.BUILD,
filename: 'bundle.js',
chunkFilename: '[name].[chunkhash].js'
},
devtool: 'cheap-eval-source-map',
module: {
loaders: [
{test: /\.js$/, loader: 'babel', exclude: /node_modules|(redocs\/lib)/},
{test: /\-fixture\.js$/, loader: 'babel!redocs/lib/webpack/manifest-loader', exclude: /node_modules/},
]
},
plugins: [
new webpack.DefinePlugin({
// would be nice to use minimatch or similar in future
MATCH_COMPONENTS: process.env.MATCH ? '/' + process.env.MATCH + '/' : '/\\-fixture\\\.js$/'
}),
new webpack.optimize.DedupePlugin()
]
};
|
lystable/redocs
|
examples/the-full-works/playground.webpack.config.js
|
JavaScript
|
apache-2.0
| 863
|
# Cacumisporium tenebrosum Preuss, 1851 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Linnaea 24: 130 (1851)
#### Original name
Cacumisporium tenebrosum Preuss, 1851
### Remarks
null
|
mdoering/backbone
|
life/Fungi/Ascomycota/Sordariomycetes/Hypocreales/Cacumisporium/Cacumisporium capitulatum/ Syn. Cacumisporium tenebrosum/README.md
|
Markdown
|
apache-2.0
| 245
|
package com.rklaehn.abc
import org.github.jamm.MemoryMeter
import cats.kernel.instances.all._
import org.scalatest.FunSuite
class SizeTest extends FunSuite {
lazy val mm = new MemoryMeter()
lazy val overhead = mm.measure(new java.lang.Object)
lazy val pointerSize = (mm.measure(new Array[java.lang.Object](256)) - mm.measure(new Array[java.lang.Object](128))) / 128
def measureElements[K](xs: Seq[K]): Long =
xs.foldLeft(0L) { case (sum, x) ⇒ sum + mm.measureDeep(x) }
test("intArraySet") {
val es = (0 until 100).toArray
val a = ArraySet(es: _*)
val b = Set(es: _*)
val payload = mm.measureDeep(es)
println("Set[Int] 100")
println("Elements: " + payload)
println("ArraySet: " + (mm.measureDeep(a) - payload))
println("Set: " + (mm.measureDeep(b) - payload))
}
test("stringArraySet") {
val es = (0 until 100).map(_.toString).toArray
val a = ArraySet(es: _*)
val b = Set(es: _*)
val payload = mm.measureDeep(es)
println("Set[String] 100")
println("Elements: " + payload)
println("ArraySet: " + (mm.measureDeep(a) - payload))
println("Set: " + (mm.measureDeep(b) - payload))
}
test("intArrayMap") {
val ks = (0 until 100).toArray
val vs = ks
val a = ArrayMap(ks zip vs: _*)
val b = Map(ks zip vs: _*)
val payload = mm.measureDeep(ks) + mm.measureDeep(vs)
println("Map[Int, Int] 100")
println("Elements: " + payload)
println("ArraySet: " + (mm.measureDeep(a) - payload))
println("Set: " + (mm.measureDeep(b) - payload))
}
test("intArrayMapLarge") {
val ks = (0 until 100000).toArray
val vs = ks
val a = ArrayMap(ks zip vs: _*)
val b = Map(ks zip vs: _*)
val payload = mm.measureDeep(ks) + mm.measureDeep(vs)
println("Map[Int, Int] 100")
println("Elements: " + payload)
println("ArraySet: " + (mm.measureDeep(a) - payload))
println("Set: " + (mm.measureDeep(b) - payload))
}
test("intStringArrayMap") {
val ks = (0 until 100).toArray
val vs = ks.map(_.toString)
val a = ArrayMap(ks zip vs: _*)
val b = Map(ks zip vs: _*)
val payload = mm.measureDeep(ks) + measureElements(vs)
println("Map[Int, String] 100")
println("Elements: " + payload)
println("ArrayMap: " + (mm.measureDeep(a) - payload))
println("Map: " + (mm.measureDeep(b) - payload))
}
test("stringArrayMap") {
val ks = (0 until 100).map(_.toString).toArray
val vs = (0 until 100).map(_.toString).toArray
val a = ArrayMap(ks zip vs: _*)
val b = Map(ks zip vs: _*)
println(b.size)
val payload = mm.measureDeep(ks) + mm.measureDeep(vs)
println("Map[String, String] 100")
println("Elements: " + payload)
println("ArrayMap: " + (mm.measureDeep(a) - payload))
println("Map: " + (mm.measureDeep(b) - payload))
}
test("intIntMultiMap") {
val ks = (100000 until 101000).toArray
val vs = (100000 until 101000).toArray
val a = ArrayMultiMap[Int, Int](ks zip vs.map(x => ArraySet(0 until 100: _*)): _*)
val b = Map[Int, Set[Int]](ks zip vs.map(x => Set(0 until 100: _*)): _*)
val payload = mm.measureDeep(ks) + mm.measureDeep(vs) * 100
println("MultiMap[Int, Int] 100*100")
println("Elements: " + payload)
println("ArraySet: " + (mm.measureDeep(a) - payload))
println("Set: " + (mm.measureDeep(b) - payload))
}
}
|
rklaehn/abc
|
instrumentedTests/src/test/scala/com/rklaehn/abc/SizeTest.scala
|
Scala
|
apache-2.0
| 3,398
|
TWICE
=====
Toolkit for Webbased Interactive Collaborative Environments.
Please visit the [wiki](https://github.com/olinux/twice/wiki) for further instructions of how to use the code and the toolkit. Documentation is a work in progress and will improve constantly - so revisit the page for updates and let us know which modules and pieces of code you would like to be put focus on with high priority in the [issues](https://github.com/olinux/twice/issues/new) tracking list.
For module specific descriptions, please visit the [Maven Sites](http://olinux.github.com/twice/twice/index.html) or the [JavaDoc Sites](http://www.olischmid.ch/twice/javadoc/index.html).
This project is licensed under the [Apache License v. 2.0] (http://www.apache.org/licenses/LICENSE-2.0) -- some parts and/or dependencies of the code are work of third party authors which partially have different licenses. Please see the NOTICE document for further information.
[](http://githalytics.com/olinux/twice)
|
incidincer/twice
|
README.md
|
Markdown
|
apache-2.0
| 1,099
|
package org.gradle.test.performance.mediummonolithicjavaproject.p221;
public class Production4438 {
private Production4429 property0;
public Production4429 getProperty0() {
return property0;
}
public void setProperty0(Production4429 value) {
property0 = value;
}
private Production4433 property1;
public Production4433 getProperty1() {
return property1;
}
public void setProperty1(Production4433 value) {
property1 = value;
}
private Production4437 property2;
public Production4437 getProperty2() {
return property2;
}
public void setProperty2(Production4437 value) {
property2 = value;
}
private String property3;
public String getProperty3() {
return property3;
}
public void setProperty3(String value) {
property3 = value;
}
private String property4;
public String getProperty4() {
return property4;
}
public void setProperty4(String value) {
property4 = value;
}
private String property5;
public String getProperty5() {
return property5;
}
public void setProperty5(String value) {
property5 = value;
}
private String property6;
public String getProperty6() {
return property6;
}
public void setProperty6(String value) {
property6 = value;
}
private String property7;
public String getProperty7() {
return property7;
}
public void setProperty7(String value) {
property7 = value;
}
private String property8;
public String getProperty8() {
return property8;
}
public void setProperty8(String value) {
property8 = value;
}
private String property9;
public String getProperty9() {
return property9;
}
public void setProperty9(String value) {
property9 = value;
}
}
|
oehme/analysing-gradle-performance
|
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p221/Production4438.java
|
Java
|
apache-2.0
| 1,963
|
#!/usr/bin/env python
def makeYqlQuery(req):
result = req.get("result")
parameters = result.get("parameters")
city = parameters.get("geo-city")
if city is None:
return None
return "select * from weather.forecast where woeid in (select woeid from geo.places(1) where text='" + city + "') and u='c'"
|
jacoboariza/BotIntendHub
|
yahooWeatherForecast.py
|
Python
|
apache-2.0
| 335
|
/**
* Copyright 2013 Netflix, 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import scala.concurrent.duration.DurationInt
import scala.language.postfixOps
import org.junit.Test
import org.mockito.Matchers._
import org.mockito.Mockito._
import org.scalatest.junit.JUnitSuite
import rx.lang.scala._
import rx.lang.scala.schedulers.TestScheduler
import rx.observers.TestSubscriber
import rx.lang.scala.JavaConversions._
class TestSchedulerExample extends JUnitSuite {
@Test def testInterval() {
val scheduler = TestScheduler()
// Use a Java Observer for Mockito
val observer = mock(classOf[rx.Observer[Long]])
val o = Observable.interval(1 second, scheduler)
// Wrap Java Observer in Scala Observer, then subscribe
val sub = o.subscribe(toScalaSubscriber(new TestSubscriber(observer)))
verify(observer, never).onNext(0L)
verify(observer, never).onCompleted()
verify(observer, never).onError(any(classOf[Throwable]))
scheduler.advanceTimeTo(2 seconds)
val inOrdr = inOrder(observer)
inOrdr.verify(observer, times(1)).onNext(0L)
inOrdr.verify(observer, times(1)).onNext(1L)
inOrdr.verify(observer, never).onNext(2L)
verify(observer, never).onCompleted()
verify(observer, never).onError(any(classOf[Throwable]))
verify(observer, never).onNext(2L)
sub.unsubscribe()
scheduler.advanceTimeTo(4 seconds)
// after unsubscription we expect no further events
verifyNoMoreInteractions(observer)
}
}
|
joohnnie/RxScala
|
examples/src/test/scala/examples/TestSchedulerExample.scala
|
Scala
|
apache-2.0
| 2,016
|
package com.kingleung.androidhodgepodge.basic;
import android.app.Activity;
/**
* @author kingleung
* Created on 2018/6/21.
*/
/*
Android studio 3.0 和 Databinding冲突
*/
//@EActivity(R.layout.activity_android_annotation)
public class AndroidAnnotationActivity extends Activity {
// @ViewById(R.id.myInput)
// EditText myInput;
//
// @ViewById(R.id.myTextView)
// TextView textView;
//
// @DrawableRes(R.drawable.ic_camera)
// int mIcCamera;
//
// @AfterViews
// void initBookmarkList() {
// textView.setBackgroundResource(mIcCamera);
// searchAsync();
// updateBookmarks();
// }
//
// @Click
// void myButton() {
// String name = myInput.getText().toString();
// textView.setText("Hello "+name);
// }
//
// @Background
// void searchAsync() {
// System.out.println(Thread.currentThread().getId());
// textView.setText("123");
// }
//
// @UiThread
// void updateBookmarks() {
// System.out.println(Thread.currentThread().getId());
// textView.setText("123");
// }
}
|
kingleung10/AndroidHodgepodge
|
app/src/main/java/com/kingleung/androidhodgepodge/basic/AndroidAnnotationActivity.java
|
Java
|
apache-2.0
| 1,098
|
package com.lc.wechat.crm.exception;
public class RestException extends Exception {
private static final long serialVersionUID = 2079144167612964345L;
private int code;
private String message;
public RestException() {
}
public RestException(String message) {
super(message);
this.message = message;
}
public RestException(Throwable cause) {
super(cause);
}
public RestException(int code, String message) {
super(message);
this.code = code;
this.message = message;
}
public RestException(String message, Throwable cause) {
super(message, cause);
}
public int getCode() {
return code;
}
public String getMessage() {
return message;
}
}
|
yoking-zhang/wechat-crm
|
wechat-crm-core/src/main/java/com/lc/wechat/crm/exception/RestException.java
|
Java
|
apache-2.0
| 679
|
/*
* Copyright 2016-2020 DiffPlug
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.diffplug.spotless.maven.antlr4;
import java.util.Set;
import com.diffplug.common.collect.ImmutableSet;
import com.diffplug.spotless.antlr4.Antlr4Defaults;
import com.diffplug.spotless.maven.FormatterFactory;
import com.diffplug.spotless.maven.generic.LicenseHeader;
/**
* A {@link FormatterFactory} implementation that corresponds to {@code <antlr4>...</antlr4>} configuration element.
* <p>
* It defines a formatter for ANTLR4 source files that can execute both language agnostic (e.g. {@link LicenseHeader})
* and anltr4-specific (e.g. {@link Antlr4Formatter}) steps.
*/
public class Antlr4 extends FormatterFactory {
@Override
public Set<String> defaultIncludes() {
return ImmutableSet.of(Antlr4Defaults.includes());
}
@Override
public String licenseHeaderDelimiter() {
return Antlr4Defaults.licenseHeaderDelimiter();
}
public void addAntlr4Formatter(Antlr4Formatter antlr4Formatter) {
addStepFactory(antlr4Formatter);
}
}
|
diffplug/spotless
|
plugin-maven/src/main/java/com/diffplug/spotless/maven/antlr4/Antlr4.java
|
Java
|
apache-2.0
| 1,560
|
/*
* Copyright 2012-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.bootstrap;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.annotation.AnnotationAwareOrderComparator;
import org.springframework.core.annotation.Order;
import org.springframework.core.env.Environment;
import org.springframework.core.io.support.SpringFactoriesLoader;
import org.springframework.core.style.ToStringCreator;
import org.springframework.core.type.AnnotationMetadata;
import org.springframework.core.type.classreading.CachingMetadataReaderFactory;
import org.springframework.core.type.classreading.MetadataReader;
import org.springframework.core.type.classreading.MetadataReaderFactory;
import org.springframework.util.StringUtils;
/**
* This class uses {@link SpringFactoriesLoader} to load {@link BootstrapConfiguration}
* entries from {@code spring.factories}. The classes are then loaded so they can be
* sorted using {@link AnnotationAwareOrderComparator#sort(List)}. This class is a
* {@link DeferredImportSelector} so {@code @Conditional} annotations on imported classes
* are supported.
*
* @author Spencer Gibb
*/
public class BootstrapImportSelector implements EnvironmentAware, DeferredImportSelector {
private Environment environment;
private MetadataReaderFactory metadataReaderFactory = new CachingMetadataReaderFactory();
@Override
public void setEnvironment(Environment environment) {
this.environment = environment;
}
@Override
public String[] selectImports(AnnotationMetadata annotationMetadata) {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
// Use names and ensure unique to protect against duplicates
List<String> names = new ArrayList<>(
SpringFactoriesLoader.loadFactoryNames(BootstrapConfiguration.class, classLoader));
names.addAll(Arrays.asList(StringUtils
.commaDelimitedListToStringArray(this.environment.getProperty("spring.cloud.bootstrap.sources", ""))));
List<OrderedAnnotatedElement> elements = new ArrayList<>();
for (String name : names) {
try {
elements.add(new OrderedAnnotatedElement(this.metadataReaderFactory, name));
}
catch (IOException e) {
continue;
}
}
AnnotationAwareOrderComparator.sort(elements);
String[] classNames = elements.stream().map(e -> e.name).toArray(String[]::new);
return classNames;
}
class OrderedAnnotatedElement implements AnnotatedElement {
private final String name;
private Order order = null;
private Integer value;
OrderedAnnotatedElement(MetadataReaderFactory metadataReaderFactory, String name) throws IOException {
MetadataReader metadataReader = metadataReaderFactory.getMetadataReader(name);
AnnotationMetadata metadata = metadataReader.getAnnotationMetadata();
Map<String, Object> attributes = metadata.getAnnotationAttributes(Order.class.getName());
this.name = name;
if (attributes != null && attributes.containsKey("value")) {
this.value = (Integer) attributes.get("value");
this.order = new Order() {
@Override
public Class<? extends Annotation> annotationType() {
return Order.class;
}
@Override
public int value() {
return OrderedAnnotatedElement.this.value;
}
};
}
}
@Override
@SuppressWarnings("unchecked")
public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
if (annotationClass == Order.class) {
return (T) this.order;
}
return null;
}
@Override
public Annotation[] getAnnotations() {
return this.order == null ? new Annotation[0] : new Annotation[] { this.order };
}
@Override
public Annotation[] getDeclaredAnnotations() {
return getAnnotations();
}
@Override
public String toString() {
return new ToStringCreator(this).append("name", this.name).append("value", this.value).toString();
}
}
}
|
spring-cloud/spring-cloud-commons
|
spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/BootstrapImportSelector.java
|
Java
|
apache-2.0
| 4,734
|
/*
* Copyright (c) 2018 <Carlos Chacón>
* 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 in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#ifndef _PHYSIC_COLLIDER_BOX_H
#define _PHYSIC_COLLIDER_BOX_H
/**********************
* System Includes *
***********************/
/*************************
* 3rd Party Includes *
**************************/
/***************************
* Game Engine Includes *
****************************/
#include "PhysicsDefs.h"
#include "PhysicCollider.h"
/********************
* Forward Decls *
*********************/
class Object3D;
class PhysicsManager;
/*****************
* Class Decl *
******************/
class PhysicColliderBox sealed : public PhysicCollider
{
private:
/************************
* Private Variables *
*************************/
#pragma region Private Variables
physx::PxBoxGeometry m_PxBoxGeometry;
#pragma endregion
/**********************
* Private Methods *
***********************/
#pragma region Private Methods
glm::vec3 m_Size = AEMathHelpers::Vec3fOne;
physx::PxGeometry& CreateGeomtry(physx::PxPhysics* pxPhysics);
#pragma endregion
public:
/***************************************
* Constructor & Destructor Methods *
****************************************/
#pragma region Constructor & Destructor Methods
/// <summary>
/// Default PhysicColliderBox Constructor
/// </summary>
PhysicColliderBox();
/// <summary>
/// Default PhysicColliderBox Destructor
/// </summary>
virtual ~PhysicColliderBox();
#pragma endregion
/******************
* Get Methods *
*******************/
#pragma region Get Methods
inline const glm::vec3& GetSize() const
{
return m_Size;
}
#pragma endregion
/******************
* Set Methods *
*******************/
#pragma region Set Methods
void SetSize(const glm::vec3& size);
void SetScale(const glm::vec3& scale) override;
#pragma endregion
/************************
* Framework Methods *
*************************/
#pragma region Framework Methods
#pragma endregion
};
#endif
|
aliascc/Arenal-Engine
|
CodeSolution/Code/AEngine_Physics/PhysicColliderBox.h
|
C
|
apache-2.0
| 2,813
|
# Eleocharis parodii Barros SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null
|
mdoering/backbone
|
life/Plantae/Magnoliophyta/Liliopsida/Poales/Cyperaceae/Eleocharis/Eleocharis parodii/README.md
|
Markdown
|
apache-2.0
| 183
|
body, h1, h2, h3 {
font-weight: 400;
font-family: "Varela Round", sans-serif;
}
.start-header {
color: #eee;
background-color: #34302d;
font-size: 25px;
padding: 0.5em 0;
border-top: 4px solid #6db33f;
}
.start-header h1 {
text-transform: uppercase;
}
.start-header small {
text-transform: none;
font-size: 50%;
}
.project-choice {
margin: 1em 0;
}
#starters {
min-height: 3em;
}
button.btn-primary {
margin-top: 1em;
}
button kbd {
background: none;
margin-left: 0.5em;
box-shadow: none;
}
input[type=text] {
font-family: monospace;
background-color: #fafafa;
}
.tag {
background-color: #6db33f;
color: #fff;
font-weight: 700;
border-radius: .25em;
display: inline-block;
padding: 0.4em 0.7em;
margin: 0.2em;
}
.tag .close {
float: none;
margin-left: 0.2em;
}
.advanced {
margin: 1em 0;
}
/* autocomplete */
#autocomplete, .twitter-typeahead, .tt-hint {
width: 100%;
}
.tt-query {
width: 550px;
}
.tt-query,
.tt-hint {
height: 34px;
padding: 8px 12px;
line-height: 30px;
border: 2px solid #ccc;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
outline: none;
}
#autocomplete:focus {
border: 2px solid #0097cf;
}
.tt-query {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.tt-hint {
color: #999
}
.tt-menu {
width: 550px;
margin: 12px 0;
padding: 8px 0;
background-color: #fff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}
.tt-suggestion {
padding: 3px 20px;
font-size: 18px;
line-height: 24px;
}
.tt-suggestion:hover {
cursor: pointer;
color: #fff;
background-color: #0097cf;
}
.tt-suggestion.tt-cursor {
color: #fff;
background-color: #0097cf;
}
|
jadekler/initializr
|
initializr/src/main/resources/static/css/spring.css
|
CSS
|
apache-2.0
| 2,195
|
{% extends "base.html" %}
{% block js %}
{{ super() }}
{% endblock %}
{% block content %}
<div id="title_index" class="title">
<h1>404</h1>
<p id="subtitle">Oups! Something went wrong...</p>
</div>
<div id="main_index">
<br/>
If it's a problem, please try to report it.
<br/>
<br/>
<a href="{{ url_for('index') }}">Home</a>
</div>
{% endblock %}
|
AmadeusITGroup/GraphDash
|
graphdash/templates/404.html
|
HTML
|
apache-2.0
| 426
|
/*
* Copyright 2016 The Error Prone 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 agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.errorprone;
import static com.google.common.base.Preconditions.checkState;
import static com.google.common.collect.ImmutableList.toImmutableList;
import static com.google.common.collect.ImmutableMap.toImmutableMap;
import static com.google.common.collect.Streams.stream;
import static com.google.common.truth.Truth.assertAbout;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth.assertWithMessage;
import static com.google.errorprone.FileObjects.forResource;
import static com.google.errorprone.FileObjects.forSourceLines;
import static com.google.testing.compile.JavaSourceSubjectFactory.javaSource;
import static org.junit.Assert.fail;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableBiMap;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
import com.google.common.collect.Iterators;
import com.google.errorprone.BugPattern.SeverityLevel;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import com.google.errorprone.annotations.CheckReturnValue;
import com.google.errorprone.apply.DescriptionBasedDiff;
import com.google.errorprone.apply.ImportOrganizer;
import com.google.errorprone.apply.SourceFile;
import com.google.errorprone.bugpatterns.BugChecker;
import com.google.errorprone.fixes.Fix;
import com.google.errorprone.scanner.ErrorProneScanner;
import com.google.errorprone.scanner.ErrorProneScannerTransformer;
import com.google.errorprone.scanner.Scanner;
import com.google.errorprone.scanner.ScannerSupplier;
import com.google.errorprone.util.RuntimeVersion;
import com.google.googlejavaformat.java.Formatter;
import com.google.googlejavaformat.java.FormatterException;
import com.google.testing.compile.JavaFileObjects;
import com.sun.source.tree.CompilationUnitTree;
import com.sun.source.util.TreePath;
import com.sun.tools.javac.api.JavacTaskImpl;
import com.sun.tools.javac.api.JavacTool;
import com.sun.tools.javac.main.JavaCompiler;
import com.sun.tools.javac.tree.JCTree.JCClassDecl;
import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
import com.sun.tools.javac.util.Context;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.UncheckedIOException;
import java.net.URI;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.tools.Diagnostic;
import javax.tools.DiagnosticCollector;
import javax.tools.JavaFileObject;
/**
* Compare a file transformed as suggested by {@link BugChecker} to an expected source.
*
* <p>Inputs are a {@link BugChecker} instance, input file and expected file.
*
* @author kurs@google.com (Jan Kurs)
*/
@CheckReturnValue
public class BugCheckerRefactoringTestHelper {
/** Test mode for matching refactored source against expected source. */
public enum TestMode {
TEXT_MATCH {
@Override
void verifyMatch(JavaFileObject refactoredSource, JavaFileObject expectedSource)
throws IOException {
assertThat(maybeFormat(refactoredSource.getCharContent(false).toString()))
.isEqualTo(maybeFormat(expectedSource.getCharContent(false).toString()));
}
private String maybeFormat(String input) {
try {
return new Formatter().formatSource(input);
} catch (FormatterException e) {
return input;
}
}
},
AST_MATCH {
@Override
void verifyMatch(JavaFileObject refactoredSource, JavaFileObject expectedSource) {
assertAbout(javaSource()).that(refactoredSource).parsesAs(expectedSource);
}
};
abstract void verifyMatch(JavaFileObject refactoredSource, JavaFileObject expectedSource)
throws IOException;
}
/**
* For checks that provide multiple possible fixes, chooses the one that will be applied for the
* test.
*/
public interface FixChooser {
Fix choose(List<Fix> fixes);
}
/** Predefined FixChoosers for selecting a fix by its position in the list */
public enum FixChoosers implements FixChooser {
FIRST {
@Override
public Fix choose(List<Fix> fixes) {
return fixes.get(0);
}
},
SECOND {
@Override
public Fix choose(List<Fix> fixes) {
return fixes.get(1);
}
},
THIRD {
@Override
public Fix choose(List<Fix> fixes) {
return fixes.get(2);
}
},
FOURTH {
@Override
public Fix choose(List<Fix> fixes) {
return fixes.get(3);
}
}
}
private final Map<JavaFileObject, JavaFileObject> sources = new HashMap<>();
private final Class<?> clazz;
private final ScannerSupplier scannerSupplier;
private FixChooser fixChooser = FixChoosers.FIRST;
private List<String> options = ImmutableList.of();
private boolean allowBreakingChanges = false;
private String importOrder = "static-first";
private boolean run = false;
private BugCheckerRefactoringTestHelper(Class<?> clazz, ScannerSupplier scannerSupplier) {
this.clazz = clazz;
this.scannerSupplier = scannerSupplier;
}
/** @deprecated prefer {@link #newInstance(Class, Class)} */
@Deprecated
public static BugCheckerRefactoringTestHelper newInstance(
BugChecker refactoringBugChecker, Class<?> clazz) {
return new BugCheckerRefactoringTestHelper(
clazz, new OverrideIgnoringScannerSupplier(new ErrorProneScanner(refactoringBugChecker)));
}
/**
* Returns a new {@link CompilationTestHelper}.
*
* @param scannerSupplier the {@link ScannerSupplier} to test
* @param clazz the class to use to locate file resources
*/
public static BugCheckerRefactoringTestHelper newInstance(
ScannerSupplier scannerSupplier, Class<?> clazz) {
return new BugCheckerRefactoringTestHelper(clazz, scannerSupplier);
}
public static BugCheckerRefactoringTestHelper newInstance(
Class<? extends BugChecker> checkerClass, Class<?> clazz) {
return new BugCheckerRefactoringTestHelper(
clazz, ScannerSupplier.fromBugCheckerClasses(checkerClass));
}
public BugCheckerRefactoringTestHelper.ExpectOutput addInput(String inputFilename) {
return new ExpectOutput(forResource(clazz, inputFilename));
}
public BugCheckerRefactoringTestHelper.ExpectOutput addInputLines(String path, String... input) {
return new ExpectOutput(forSourceLines(path, input));
}
public BugCheckerRefactoringTestHelper setFixChooser(FixChooser chooser) {
this.fixChooser = chooser;
return this;
}
public BugCheckerRefactoringTestHelper addModules(String... modules) {
if (!RuntimeVersion.isAtLeast9()) {
return this;
}
return setArgs(
Arrays.stream(modules)
.map(m -> String.format("--add-exports=%s=ALL-UNNAMED", m))
.collect(toImmutableList()));
}
public BugCheckerRefactoringTestHelper setArgs(ImmutableList<String> args) {
checkState(options.isEmpty());
this.options = args;
return this;
}
public BugCheckerRefactoringTestHelper setArgs(String... args) {
this.options = ImmutableList.copyOf(args);
return this;
}
/** If set, fixes that produce output that doesn't compile are allowed. Off by default. */
public BugCheckerRefactoringTestHelper allowBreakingChanges() {
allowBreakingChanges = true;
return this;
}
public BugCheckerRefactoringTestHelper setImportOrder(String importOrder) {
this.importOrder = importOrder;
return this;
}
public void doTest() {
this.doTest(TestMode.AST_MATCH);
}
public void doTest(TestMode testMode) {
checkState(!run, "doTest should only be called once");
this.run = true;
for (Map.Entry<JavaFileObject, JavaFileObject> entry : sources.entrySet()) {
try {
runTestOnPair(entry.getKey(), entry.getValue(), testMode);
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
}
private BugCheckerRefactoringTestHelper addInputAndOutput(
JavaFileObject input, JavaFileObject output) {
sources.put(input, output);
return this;
}
private void runTestOnPair(JavaFileObject input, JavaFileObject output, TestMode testMode)
throws IOException {
Context context = new Context();
JCCompilationUnit tree = doCompile(input, sources.keySet(), context);
JavaFileObject transformed = applyDiff(input, context, tree);
closeCompiler(context);
testMode.verifyMatch(transformed, output);
if (!allowBreakingChanges) {
Context anotherContext = new Context();
doCompile(output, sources.values(), anotherContext);
closeCompiler(anotherContext);
}
}
@CanIgnoreReturnValue
private JCCompilationUnit doCompile(
final JavaFileObject input, Iterable<JavaFileObject> files, Context context)
throws IOException {
JavacTool tool = JavacTool.create();
DiagnosticCollector<JavaFileObject> diagnosticsCollector = new DiagnosticCollector<>();
ErrorProneOptions errorProneOptions;
try {
errorProneOptions = ErrorProneOptions.processArgs(options);
} catch (InvalidCommandLineOptionException e) {
throw new IllegalArgumentException("Exception during argument processing: " + e);
}
context.put(ErrorProneOptions.class, errorProneOptions);
StringWriter out = new StringWriter();
JavacTaskImpl task =
(JavacTaskImpl)
tool.getTask(
new PrintWriter(out, true),
FileManagers.testFileManager(),
diagnosticsCollector,
ImmutableList.copyOf(errorProneOptions.getRemainingArgs()),
/*classes=*/ null,
files,
context);
Iterable<? extends CompilationUnitTree> trees = task.parse();
task.analyze();
ImmutableMap<URI, ? extends CompilationUnitTree> byURI =
stream(trees).collect(toImmutableMap(t -> t.getSourceFile().toUri(), t -> t));
URI inputURI = input.toUri();
assertWithMessage(out + Joiner.on('\n').join(diagnosticsCollector.getDiagnostics()))
.that(byURI)
.containsKey(inputURI);
JCCompilationUnit tree = (JCCompilationUnit) byURI.get(inputURI);
Iterable<Diagnostic<? extends JavaFileObject>> errorDiagnostics =
Iterables.filter(
diagnosticsCollector.getDiagnostics(), d -> d.getKind() == Diagnostic.Kind.ERROR);
if (!Iterables.isEmpty(errorDiagnostics)) {
fail("compilation failed unexpectedly: " + errorDiagnostics);
}
return tree;
}
private JavaFileObject applyDiff(
JavaFileObject sourceFileObject, Context context, JCCompilationUnit tree) throws IOException {
ImportOrganizer importOrganizer = ImportOrderParser.getImportOrganizer(importOrder);
final DescriptionBasedDiff diff = DescriptionBasedDiff.create(tree, importOrganizer);
ErrorProneOptions errorProneOptions = context.get(ErrorProneOptions.class);
ErrorProneScannerTransformer.create(scannerSupplier.applyOverrides(errorProneOptions).get())
.apply(
new TreePath(tree),
context,
description -> {
if (!description.fixes.isEmpty()) {
diff.handleFix(fixChooser.choose(description.fixes));
}
});
SourceFile sourceFile = SourceFile.create(sourceFileObject);
diff.applyDifferences(sourceFile);
JavaFileObject transformed =
JavaFileObjects.forSourceString(getFullyQualifiedName(tree), sourceFile.getSourceText());
return transformed;
}
private static String getFullyQualifiedName(JCCompilationUnit tree) {
Iterator<JCClassDecl> types =
Iterables.filter(tree.getTypeDecls(), JCClassDecl.class).iterator();
if (types.hasNext()) {
return Iterators.getOnlyElement(types).sym.getQualifiedName().toString();
}
// Fallback: if no class is declared, then assume we're looking at a `package-info.java`.
return tree.getPackage().packge.package_info.toString();
}
/** To assert the proper {@code .addInput().addOutput()} chain. */
public class ExpectOutput {
private final JavaFileObject input;
private ExpectOutput(JavaFileObject input) {
this.input = input;
}
public BugCheckerRefactoringTestHelper addOutputLines(String path, String... output) {
return addInputAndOutput(input, forSourceLines(path, output));
}
public BugCheckerRefactoringTestHelper addOutput(String outputFilename) {
return addInputAndOutput(input, forResource(clazz, outputFilename));
}
public BugCheckerRefactoringTestHelper expectUnchanged() {
return addInputAndOutput(input, input);
}
}
private static void closeCompiler(Context context) {
JavaCompiler compiler = context.get(JavaCompiler.compilerKey);
if (compiler != null) {
compiler.close();
}
}
/**
* Wraps a {@code InstanceReturningScannerSupplier}, but silently skips {@link #applyOverrides}
* instead of throwing {@code UOE}.
*/
private static class OverrideIgnoringScannerSupplier extends ScannerSupplier {
private final ScannerSupplier delegate;
public OverrideIgnoringScannerSupplier(ErrorProneScanner scanner) {
delegate = ScannerSupplier.fromScanner(scanner);
}
@Override
public Scanner get() {
return delegate.get();
}
@Override
public ScannerSupplier applyOverrides(ErrorProneOptions errorProneOptions) {
return this;
}
@Override
public ImmutableBiMap<String, BugCheckerInfo> getAllChecks() {
throw new UnsupportedOperationException();
}
@Override
public ImmutableSet<BugCheckerInfo> getEnabledChecks() {
throw new UnsupportedOperationException();
}
@Override
public ImmutableMap<String, SeverityLevel> severities() {
throw new UnsupportedOperationException();
}
@Override
protected ImmutableSet<String> disabled() {
throw new UnsupportedOperationException();
}
@Override
public ErrorProneFlags getFlags() {
throw new UnsupportedOperationException();
}
}
}
|
cushon/error-prone
|
test_helpers/src/main/java/com/google/errorprone/BugCheckerRefactoringTestHelper.java
|
Java
|
apache-2.0
| 14,822
|
package com.android.camera.util;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.support.v4.view.accessibility.AccessibilityRecordCompat;
import android.view.View;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityManager;
/**
* AccessibilityUtils provides functions needed in accessibility mode. All the functions
* in this class are made compatible with gingerbread and later API's
*/
public class AccessibilityUtils {
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
public static void makeAnnouncement(View view, CharSequence announcement) {
if (view == null)
return;
if (ApiHelper.HAS_ANNOUNCE_FOR_ACCESSIBILITY) {
view.announceForAccessibility(announcement);
} else {
// For API 15 and earlier, we need to construct an accessibility event
Context ctx = view.getContext();
AccessibilityManager am = (AccessibilityManager) ctx.getSystemService(
Context.ACCESSIBILITY_SERVICE);
if (!am.isEnabled()) return;
AccessibilityEvent event = AccessibilityEvent.obtain(
AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED);
AccessibilityRecordCompat arc = new AccessibilityRecordCompat(event);
arc.setSource(view);
event.setClassName(view.getClass().getName());
event.setPackageName(view.getContext().getPackageName());
event.setEnabled(view.isEnabled());
event.getText().add(announcement);
am.sendAccessibilityEvent(event);
}
}
}
|
kesenhoo/Camera2
|
src/com/android/camera/util/AccessibilityUtils.java
|
Java
|
apache-2.0
| 1,685
|
<html lang="zh-CN"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<meta name="description" content="">
<meta name="author" content="">
<title>YanTai University coding OnlineJudge</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="./css/cover.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="../../assets/js/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<div class="masthead clearfix">
<div class="inner">
<h3 class="masthead-brand">OnlineJudge</h3>
<nav>
<ul class="nav masthead-nav">
<li class="active"><a href="./">首页</a></li>
<li><a href="javascript:window.alert('敬请期待')">新特性</a></li>
<li><a href="#">联系我们</a></li>
</ul>
</nav>
</div>
</div>
<div class="inner cover">
<h1 class="cover-heading">Martin Fowler:“任何傻瓜都能写出计算机可以理解的代码。好的程序员能写出人能读懂的代码” </h1>
<p class="lead">听说,帅的人都在用OJ做题。</p>
<p class="lead">
<a href="./default.php" class="btn btn-lg btn-default">进入OJ!</a>
</p>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
</body></html>
|
Ph0enixxx/MyOj
|
Public/index.html
|
HTML
|
apache-2.0
| 2,806
|
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.parsing.console;
import com.intellij.lang.PsiBuilder;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyPsiBundle;
import com.jetbrains.python.PyTokenTypes;
import com.jetbrains.python.parsing.ExpressionParsing;
import com.jetbrains.python.parsing.ParsingContext;
import com.jetbrains.python.parsing.StatementParsing;
import com.jetbrains.python.psi.LanguageLevel;
import org.jetbrains.annotations.Nullable;
public class PyConsoleParsingContext extends ParsingContext {
private final StatementParsing stmtParser;
private final ExpressionParsing expressionParser;
public PyConsoleParsingContext(final PsiBuilder builder,
LanguageLevel languageLevel,
StatementParsing.FUTURE futureFlag,
PythonConsoleData pythonConsoleData,
boolean startsWithIPythonSymbol) {
super(builder, languageLevel, futureFlag);
stmtParser = new ConsoleStatementParsing(this, futureFlag, startsWithIPythonSymbol, pythonConsoleData);
if (pythonConsoleData.isIPythonEnabled()) {
expressionParser = new ConsoleExpressionParsing(this);
}
else {
expressionParser = new ExpressionParsing(this);
}
}
@Override
public StatementParsing getStatementParser() {
return stmtParser;
}
@Override
public ExpressionParsing getExpressionParser() {
return expressionParser;
}
public static class ConsoleStatementParsing extends StatementParsing {
private final boolean myStartsWithIPythonSymbol;
private final PythonConsoleData myPythonConsoleData;
protected ConsoleStatementParsing(ParsingContext context,
@Nullable FUTURE futureFlag,
boolean startsWithIPythonSymbol,
PythonConsoleData pythonConsoleData) {
super(context, futureFlag);
myStartsWithIPythonSymbol = startsWithIPythonSymbol;
myPythonConsoleData = pythonConsoleData;
}
@Override
public void parseStatement() {
if (parseIPythonHelp()) {
return;
}
if (shouldParseIPythonCommand()) {
parseIPythonCommand();
}
else {
if (myPythonConsoleData.isIPythonEnabled()) {
if (myPythonConsoleData.isIPythonAutomagic()) {
if (myPythonConsoleData.isMagicCommand(myBuilder.getTokenText())) {
parseIPythonCommand();
}
}
}
if (myPythonConsoleData.getIndentSize() > 0) {
if (myBuilder.getTokenType() == PyTokenTypes.INDENT) {
myBuilder.advanceLexer();
}
}
super.parseStatement();
}
}
private boolean parseIPythonHelp() {
return parseIPythonGlobalHelp() ||
parseIPythonSuffixHelp();
}
/**
* Parse statements consisting of the single question mark.
*/
private boolean parseIPythonGlobalHelp() {
PsiBuilder.Marker ipythonHelp = myBuilder.mark();
if (myBuilder.getTokenType() == PyConsoleTokenTypes.QUESTION_MARK) {
myBuilder.advanceLexer();
if (myBuilder.getTokenType() == PyTokenTypes.STATEMENT_BREAK || myBuilder.eof()) {
myBuilder.advanceLexer();
ipythonHelp.done(PyElementTypes.EMPTY_EXPRESSION);
return true;
}
}
ipythonHelp.rollbackTo();
return false;
}
/**
* Parse statements ending with a question mark.
*/
private boolean parseIPythonSuffixHelp() {
PsiBuilder.Marker ipythonHelp = myBuilder.mark();
while (myBuilder.getTokenType() != PyTokenTypes.STATEMENT_BREAK &&
myBuilder.getTokenType() != PyTokenTypes.LINE_BREAK &&
!myBuilder.eof()
) {
myBuilder.advanceLexer();
}
if (myBuilder.rawLookup(-1) != PyConsoleTokenTypes.QUESTION_MARK) {
ipythonHelp.rollbackTo();
return false;
}
int lookupIndex = -2;
if (myBuilder.rawLookup(lookupIndex) == PyConsoleTokenTypes.QUESTION_MARK) {
--lookupIndex;
}
if (myBuilder.rawLookup(lookupIndex) == PyTokenTypes.MULT) {
ipythonHelp.rollbackTo();
parseIPythonCommand();
return true;
}
if (myBuilder.rawLookup(lookupIndex) != PyTokenTypes.IDENTIFIER) {
myBuilder.error(PyPsiBundle.message("PARSE.console.help.request.warn"));
}
ipythonHelp.done(PyElementTypes.EMPTY_EXPRESSION);
myBuilder.advanceLexer();
return true;
}
protected boolean shouldParseIPythonCommand() {
return myStartsWithIPythonSymbol;
}
protected boolean continueParseIPythonCommand() {
return !myBuilder.eof();
}
private void parseIPythonCommand() {
PsiBuilder.Marker ipythonCommand = myBuilder.mark();
while (continueParseIPythonCommand()) {
myBuilder.advanceLexer();
}
ipythonCommand.done(PyElementTypes.EMPTY_EXPRESSION);
}
}
public static class ConsoleExpressionParsing extends ExpressionParsing {
public ConsoleExpressionParsing(ParsingContext context) {
super(context);
}
@Override
public boolean parseExpressionOptional() {
if (myBuilder.getTokenType() == PyTokenTypes.PERC ||
myBuilder.getTokenType() == PyConsoleTokenTypes.PLING ||
myBuilder.getTokenType() == PyConsoleTokenTypes.QUESTION_MARK) {
PsiBuilder.Marker expr = myBuilder.mark();
PsiBuilder.Marker command = myBuilder.mark();
myBuilder.advanceLexer();
if (myBuilder.getTokenType() == PyConsoleTokenTypes.PLING) {
myBuilder.advanceLexer();
}
if (myBuilder.getTokenType() == PyTokenTypes.IDENTIFIER) {
myBuilder.advanceLexer();
command.done(getReferenceType());
}
else {
expr.drop();
command.drop();
myBuilder.error(PyPsiBundle.message("PARSE.console.identifier.expected"));
return false;
}
while (myBuilder.getTokenType() != null) {
myBuilder.advanceLexer();
}
expr.done(PyElementTypes.EMPTY_EXPRESSION);
return true;
}
else {
return super.parseExpressionOptional();
}
}
@Override
public boolean parseYieldOrTupleExpression(boolean isTargetExpression) {
if (parseIPythonCaptureExpression()) {
return true;
}
else {
return super.parseYieldOrTupleExpression(isTargetExpression);
}
}
private boolean parseIPythonCaptureExpression() {
if (myBuilder.getTokenType() == PyConsoleTokenTypes.PLING) {
captureIPythonExpression();
return true;
}
if (myBuilder.getTokenType() == PyTokenTypes.PERC) {
if (myBuilder.lookAhead(1) == PyTokenTypes.PERC) {
myBuilder.error(PyPsiBundle.message("PARSE.console.multiline.magic.warn"));
}
captureIPythonExpression();
return true;
}
return false;
}
private void captureIPythonExpression() {
PsiBuilder.Marker mark = myBuilder.mark();
while (myBuilder.getTokenType() != PyTokenTypes.STATEMENT_BREAK) {
myBuilder.advanceLexer();
}
mark.done(PyElementTypes.EMPTY_EXPRESSION);
}
}
}
|
leafclick/intellij-community
|
python/python-psi-impl/src/com/jetbrains/python/parsing/console/PyConsoleParsingContext.java
|
Java
|
apache-2.0
| 7,502
|
/*
* 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 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.pointr.spark.p2p
import com.pointr.spark.rdd.SolverRDD
import org.apache.spark.ml.MLProxy._
import org.apache.spark.mllib.linalg.{DenseVector, SparseVector, Vectors, Vector => SparkVector}
import com.pointr.spark.rdd.{MData, SolverRDD}
object MllibImports {
import org.apache.spark.mllib.optimization._
/**
* CostFun implements Breeze's DiffFunction[T], which returns the loss and gradient
* at a particular point (weights). It's used in Breeze's convex optimization routines.
*/
import breeze.linalg.{DenseVector => BDV, SparseVector => BSV, Vector => BV}
import breeze.optimize.{DiffFunction, LBFGS => BreezeLBFGS}
class AsyncConvergenceCostFun(
data: SolverRDD[(String,String),MData],
gradient: Gradient,
updater: Updater,
regParam: Double,
numExamples: Long) extends DiffFunction[BDV[Double]] {
/**
* Creates a vector instance from a breeze vector.
*/
private[spark] def fromBreeze(breezeVector: BV[Double]): SparkVector = {
breezeVector match {
case v: BDV[Double] =>
if (v.offset == 0 && v.stride == 1 && v.length == v.data.length) {
new DenseVector(v.data)
} else {
new DenseVector(v.toArray) // Can't use underlying array directly, so make a new one
}
case v: BSV[Double] =>
if (v.index.length == v.used) {
new SparseVector(v.length, v.index, v.data)
} else {
new SparseVector(v.length, v.index.slice(0, v.used), v.data.slice(0, v.used))
}
case v: BV[_] =>
sys.error("Unsupported Breeze vector type: " + v.getClass.getName)
}
}
override def calculate(weights: BDV[Double]): (Double, BDV[Double]) = {
// Have a local copy to avoid the serialization of CostFun object which is not serializable.
val w = fromBreeze(weights)
val n = w.size
val bcW = data.context.broadcast(w)
val localGradient = gradient
val (gradientSum, lossSum) = (new DenseVector(List(1.0).toArray),2.0) // data.asyncConvergence((Vectors.zeros(n), 0.0))(
// seqOp = (c, v) => (c, v) match {
// case ((grad, loss), (label, features)) =>
// val l = localGradient.compute(
// features, label, bcW.value, grad)
// (grad, loss + l)
// },
// combOp = (c1, c2) => (c1, c2) match {
// case ((grad1, loss1), (grad2, loss2)) =>
// axpy(1.0, grad2, grad1)
// (grad1, loss1 + loss2)
// }
// )
/**
* regVal is sum of weight squares if it's L2 updater;
* for other updater, the same logic is followed.
*/
val regVal = updater.compute(w, Vectors.zeros(n), 0, 1, regParam)._2
val loss = lossSum / numExamples + regVal
/**
* It will return the gradient part of regularization using updater.
*
* Given the input parameters, the updater basically does the following,
*
* w' = w - thisIterStepSize * (gradient + regGradient(w))
* Note that regGradient is function of w
*
* If we set gradient = 0, thisIterStepSize = 1, then
*
* regGradient(w) = w - w'
*
* TODO: We need to clean it up by separating the logic of regularization out
* from updater to regularizer.
*/
// The following gradientTotal is actually the regularization part of gradient.
// Will add the gradientSum computed from the data with weights in the next step.
val gradientTotal = w.copy
axpy(-1.0, updater.compute(w, Vectors.zeros(n), 1, 1, regParam)._1, gradientTotal)
// gradientTotal = gradientSum / numExamples + gradientTotal
axpy(1.0 / numExamples, gradientSum, gradientTotal)
(loss, toBreeze(gradientTotal).asInstanceOf[BDV[Double]])
}
}
def toBreeze(values: SparkVector): BV[Double] =
values match {
case values: SparseVector => new BSV[Double](values.indices, values.toArray, values.size)
case values: DenseVector => new BDV[Double](values.toArray)
}
}
|
OpenChaiSpark/OCspark
|
p2prdd/src/main/scala/com/pointr/spark/p2p/MllibImports.scala
|
Scala
|
apache-2.0
| 4,886
|
在 Ubuntu 15.04 上安装 Justniffer
================================================================================
### 简介 ###
[Justniffer][1] 是一个可用于替换 Snort 的网络协议分析器。它非常流行,可交互式地跟踪/探测一个网络连接。它能从实时环境中抓取流量,支持 “lipcap” 和 “tcpdump” 文件格式。它可以帮助用户分析一个用 wireshark 难以抓包的复杂网络。尤其是它可以有效的帮助分析应用层流量,能提取类似图像、脚本、HTML 等 http 内容。Justniffer 有助于理解不同组件之间是如何通信的。
### 功能 ###
Justniffer 收集一个复杂网络的所有流量而不影响系统性能,这是 Justniffer 的一个优势,它还可以保存日志用于之后的分析,Justniffer 其它一些重要功能包括:
#### 1. 可靠的 TCP 流重建 ####
它可以使用主机 Linux 内核的一部分用于记录并重现 TCP 片段和 IP 片段。
#### 2. 日志 ####
保存日志用于之后的分析,并能自定义保存内容和时间。
#### 3. 可扩展 ####
可以通过外部 python、 perl 和 bash 脚本扩展来从分析报告中获取一些额外的结果。
#### 4. 性能管理 ####
基于连接时间、关闭时间、响应时间或请求时间等提取信息。
### 安装 ###
Justniffer 可以通过 PPA 安装:
运行下面命令添加库:
$ sudo add-apt-repository ppa:oreste-notelli/ppa
更新系统:
$ sudo apt-get update
安装 Justniffer 工具:
$ sudo apt-get install justniffer
make 的时候失败了,然后我运行下面的命令并尝试重新安装服务
$ sudo apt-get -f install
### 事例 ###
首先用 -v 选项验证安装的 Justniffer 版本,你需要用超级用户权限来使用这个工具。
$ sudo justniffer -V
事例输出:

**1. 为 eth1 接口导出 apache 中的流量到终端**
$ sudo justniffer -i eth1
事例输出:

**2. 可以永恒下面的选项跟踪正在运行的 tcp 流**
$ sudo justniffer -i eth1 -r
事例输出:

**3. 获取 web 服务器的响应时间**
$ sudo justniffer -i eth1 -a " %response.time"
事例输出:

**4. 使用 Justniffer 读取一个 tcpdump 抓取的文件**
首先,用 tcpdump 抓取流量。
$ sudo tcpdump -w /tmp/file.cap -s0 -i eth0
然后用 Justniffer 访问数据
$ justniffer -f file.cap
事例输出:

**5. 只抓取 http 数据**
$ sudo justniffer -i eth1 -r -p "port 80 or port 8080"
事例输出:

**6. 从一个指定主机获取 http 数据**
$ justniffer -i eth1 -r -p "host 192.168.1.250 and tcp port 80"
事例输出:

**7. 以更精确的格式抓取数据**
当你输入 **justniffer -h** 的时候你可以看到很多用于以更精确的方式获取数据的格式关键字
$ justniffer -h
事例输出:

让我们用 Justniffer 根据预先定义的参数提取数据
$ justniffer -i eth1 -l "%request.timestamp %request.header.host %request.url %response.time"
事例输出:

其中还有很多你可以探索的选项
### 总结 ###
Justniffer 是用于网络测试一个很好的工具。在我看来对于那些用 Snort 来进行网络探测的用户来说,Justniffer 是一个更简单的工具。它提供了很多 **格式关键字** 用于按照你的需要精确地提取数据。你可以用 .cap 文件格式记录网络信息,之后用于分析监视网络服务性能。
**参考资料:**
- [Justniffer 官网][2]
--------------------------------------------------------------------------------
via: http://www.unixmen.com/install-justniffer-ubuntu-15-04/
作者:[Rajneesh Upadhyay][a]
译者:[ictlyh](http://mutouxiaogui.cn/blog)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/rajneesh/
[1]:http://sourceforge.net/projects/justniffer/?source=directory
[2]:http://justniffer.sourceforge.net/
|
zky001/TranslateProject
|
translated/tech/20150918 Install Justniffer In Ubuntu 15.04.md
|
Markdown
|
apache-2.0
| 4,830
|
#ifndef OPENSIM_PSIM_CONCRETE_PARAMETERS_H_
#define OPENSIM_PSIM_CONCRETE_PARAMETERS_H_
/* -------------------------------------------------------------------------- *
* OpenSim: ConcreteParameters.h *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
* See http://opensim.stanford.edu and the NOTICE file for more information. *
* OpenSim is developed at Stanford University and supported by the US *
* National Institutes of Health (U54 GM072970, R24 HD065690) and by DARPA *
* through the Warrior Web program. *
* *
* Copyright (c) 2005-2014 Stanford University and the Authors *
* Author(s): Chris Dembia *
* *
* 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 *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
* -------------------------------------------------------------------------- */
#include "PSimParameter.h"
#include "osimPSimDLL.h"
namespace OpenSim {
/** The value of a coordinate (translation or rotation) at the start
* of the motion.
*/
class OSIMPSIM_API PSimCoordInitialValueParameter : public PSimParameter
{
OpenSim_DECLARE_CONCRETE_OBJECT(PSimCoordInitialValueParameter, PSimParameter);
public:
/// @name Property declarations
/// @{
OpenSim_DECLARE_PROPERTY(coordinate_name, std::string,
"Name of the coordinate.");
/// @}
PSimCoordInitialValueParameter() { constructProperties(); }
void extendApplyToInitialState(const double param,
const Model& model, SimTK::State& initState) const override {
model.getCoordinateSet().get(get_coordinate_name()).
setValue(initState, param);
}
private:
void constructProperties() { constructProperty_coordinate_name(""); }
};
/** The speed for a coordinate at the start of a motion.
*/
class OSIMPSIM_API PSimCoordInitialSpeedParameter : public PSimParameter
{
OpenSim_DECLARE_CONCRETE_OBJECT(PSimCoordInitialSpeedParameter, PSimParameter);
public:
/// @name Property declarations
/// @{
OpenSim_DECLARE_PROPERTY(coordinate_name, std::string,
"Name of the coordinate.");
/// @}
PSimCoordInitialSpeedParameter() { constructProperties(); }
void extendApplyToInitialState(const double param,
const Model& model, SimTK::State& initState) const override {
model.getCoordinateSet().get(get_coordinate_name()).
setSpeedValue(initState, param);
}
private:
void constructProperties() { constructProperty_coordinate_name(""); }
};
} // namespace OpenSim
#endif // OPENSIM_PSIM_CONCRETE_PARAMETERS_H_
|
chrisdembia/psim
|
PSim/ConcreteParameters.h
|
C
|
apache-2.0
| 3,578
|
/*
Copyright 2017, 2020 the Velero contributors.
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
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package controller
import (
"context"
"time"
snapshotterClientSet "github.com/kubernetes-csi/external-snapshotter/v2/pkg/client/clientset/versioned"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
kuberrs "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/client-go/kubernetes"
"github.com/vmware-tanzu/velero/internal/velero"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/features"
velerov1client "github.com/vmware-tanzu/velero/pkg/generated/clientset/versioned/typed/velero/v1"
velerov1listers "github.com/vmware-tanzu/velero/pkg/generated/listers/velero/v1"
"github.com/vmware-tanzu/velero/pkg/label"
"github.com/vmware-tanzu/velero/pkg/persistence"
"github.com/vmware-tanzu/velero/pkg/plugin/clientmgmt"
"sigs.k8s.io/controller-runtime/pkg/client"
)
type backupSyncController struct {
*genericController
backupClient velerov1client.BackupsGetter
kbClient client.Client
podVolumeBackupClient velerov1client.PodVolumeBackupsGetter
backupLister velerov1listers.BackupLister
csiSnapshotClient *snapshotterClientSet.Clientset
kubeClient kubernetes.Interface
namespace string
defaultBackupLocation string
defaultBackupSyncPeriod time.Duration
newPluginManager func(logrus.FieldLogger) clientmgmt.Manager
newBackupStore func(*velerov1api.BackupStorageLocation, persistence.ObjectStoreGetter, logrus.FieldLogger) (persistence.BackupStore, error)
}
func NewBackupSyncController(
backupClient velerov1client.BackupsGetter,
kbClient client.Client,
podVolumeBackupClient velerov1client.PodVolumeBackupsGetter,
backupLister velerov1listers.BackupLister,
syncPeriod time.Duration,
namespace string,
csiSnapshotClient *snapshotterClientSet.Clientset,
kubeClient kubernetes.Interface,
defaultBackupLocation string,
newPluginManager func(logrus.FieldLogger) clientmgmt.Manager,
logger logrus.FieldLogger,
) Interface {
if syncPeriod <= 0 {
syncPeriod = time.Minute
}
logger.Infof("Backup sync period is %v", syncPeriod)
c := &backupSyncController{
genericController: newGenericController("backup-sync", logger),
backupClient: backupClient,
kbClient: kbClient,
podVolumeBackupClient: podVolumeBackupClient,
namespace: namespace,
defaultBackupLocation: defaultBackupLocation,
defaultBackupSyncPeriod: syncPeriod,
backupLister: backupLister,
csiSnapshotClient: csiSnapshotClient,
kubeClient: kubeClient,
// use variables to refer to these functions so they can be
// replaced with fakes for testing.
newPluginManager: newPluginManager,
newBackupStore: persistence.NewObjectBackupStore,
}
c.resyncFunc = c.run
c.resyncPeriod = 30 * time.Second
return c
}
// orderedBackupLocations returns a new slice with the default backup location first (if it exists),
// followed by the rest of the locations in no particular order.
func orderedBackupLocations(locationList *velerov1api.BackupStorageLocationList, defaultLocationName string) []velerov1api.BackupStorageLocation {
var result []velerov1api.BackupStorageLocation
for i := range locationList.Items {
if locationList.Items[i].Name == defaultLocationName {
// put the default location first
result = append(result, locationList.Items[i])
// append everything before the default
result = append(result, locationList.Items[:i]...)
// append everything after the default
result = append(result, locationList.Items[i+1:]...)
return result
}
}
return locationList.Items
}
func (c *backupSyncController) run() {
c.logger.Debug("Checking for existing backup storage locations to sync into cluster")
locationList, err := velero.ListBackupStorageLocations(c.kbClient, context.Background(), c.namespace)
if err != nil {
c.logger.WithError(err).Error("No backup storage locations found, at least one is required")
return
}
// sync the default location first, if it exists
locations := orderedBackupLocations(&locationList, c.defaultBackupLocation)
pluginManager := c.newPluginManager(c.logger)
defer pluginManager.CleanupClients()
for _, location := range locations {
log := c.logger.WithField("backupLocation", location.Name)
syncPeriod := c.defaultBackupSyncPeriod
if location.Spec.BackupSyncPeriod != nil {
syncPeriod = location.Spec.BackupSyncPeriod.Duration
if syncPeriod == 0 {
log.Debug("Backup sync period for this location is set to 0, skipping sync")
continue
}
if syncPeriod < 0 {
log.Debug("Backup sync period must be non-negative")
syncPeriod = c.defaultBackupSyncPeriod
}
}
lastSync := location.Status.LastSyncedTime
if lastSync != nil {
log.Debug("Checking if backups need to be synced at this time for this location")
nextSync := lastSync.Add(syncPeriod)
if time.Now().UTC().Before(nextSync) {
continue
}
}
log.Debug("Checking backup location for backups to sync into cluster")
backupStore, err := c.newBackupStore(&location, pluginManager, log)
if err != nil {
log.WithError(err).Error("Error getting backup store for this location")
continue
}
// get a list of all the backups that are stored in the backup storage location
res, err := backupStore.ListBackups()
if err != nil {
log.WithError(err).Error("Error listing backups in backup store")
continue
}
backupStoreBackups := sets.NewString(res...)
log.WithField("backupCount", len(backupStoreBackups)).Debug("Got backups from backup store")
// get a list of all the backups that exist as custom resources in the cluster
clusterBackups, err := c.backupLister.Backups(c.namespace).List(labels.Everything())
if err != nil {
log.WithError(errors.WithStack(err)).Error("Error getting backups from cluster, proceeding with sync into cluster")
} else {
log.WithField("backupCount", len(clusterBackups)).Debug("Got backups from cluster")
}
// get a list of backups that *are* in the backup storage location and *aren't* in the cluster
clusterBackupsSet := sets.NewString()
for _, b := range clusterBackups {
clusterBackupsSet.Insert(b.Name)
}
backupsToSync := backupStoreBackups.Difference(clusterBackupsSet)
if count := backupsToSync.Len(); count > 0 {
log.Infof("Found %v backups in the backup location that do not exist in the cluster and need to be synced", count)
} else {
log.Debug("No backups found in the backup location that need to be synced into the cluster")
}
// sync each backup
for backupName := range backupsToSync {
log = log.WithField("backup", backupName)
log.Info("Attempting to sync backup into cluster")
backup, err := backupStore.GetBackupMetadata(backupName)
if err != nil {
log.WithError(errors.WithStack(err)).Error("Error getting backup metadata from backup store")
continue
}
backup.Namespace = c.namespace
backup.ResourceVersion = ""
// update the StorageLocation field and label since the name of the location
// may be different in this cluster than in the cluster that created the
// backup.
backup.Spec.StorageLocation = location.Name
if backup.Labels == nil {
backup.Labels = make(map[string]string)
}
backup.Labels[velerov1api.StorageLocationLabel] = label.GetValidName(backup.Spec.StorageLocation)
// attempt to create backup custom resource via API
backup, err = c.backupClient.Backups(backup.Namespace).Create(context.TODO(), backup, metav1.CreateOptions{})
switch {
case err != nil && kuberrs.IsAlreadyExists(err):
log.Debug("Backup already exists in cluster")
continue
case err != nil && !kuberrs.IsAlreadyExists(err):
log.WithError(errors.WithStack(err)).Error("Error syncing backup into cluster")
continue
default:
log.Info("Successfully synced backup into cluster")
}
// process the pod volume backups from object store, if any
podVolumeBackups, err := backupStore.GetPodVolumeBackups(backupName)
if err != nil {
log.WithError(errors.WithStack(err)).Error("Error getting pod volume backups for this backup from backup store")
continue
}
for _, podVolumeBackup := range podVolumeBackups {
log := log.WithField("podVolumeBackup", podVolumeBackup.Name)
log.Debug("Checking this pod volume backup to see if it needs to be synced into the cluster")
for i, ownerRef := range podVolumeBackup.OwnerReferences {
if ownerRef.APIVersion == velerov1api.SchemeGroupVersion.String() && ownerRef.Kind == "Backup" && ownerRef.Name == backup.Name {
log.WithField("uid", backup.UID).Debugf("Updating pod volume backup's owner reference UID")
podVolumeBackup.OwnerReferences[i].UID = backup.UID
}
}
if _, ok := podVolumeBackup.Labels[velerov1api.BackupUIDLabel]; ok {
podVolumeBackup.Labels[velerov1api.BackupUIDLabel] = string(backup.UID)
}
podVolumeBackup.Namespace = backup.Namespace
podVolumeBackup.ResourceVersion = ""
_, err = c.podVolumeBackupClient.PodVolumeBackups(backup.Namespace).Create(context.TODO(), podVolumeBackup, metav1.CreateOptions{})
switch {
case err != nil && kuberrs.IsAlreadyExists(err):
log.Debug("Pod volume backup already exists in cluster")
continue
case err != nil && !kuberrs.IsAlreadyExists(err):
log.WithError(errors.WithStack(err)).Error("Error syncing pod volume backup into cluster")
continue
default:
log.Debug("Synced pod volume backup into cluster")
}
}
if features.IsEnabled(velerov1api.CSIFeatureFlag) {
// we are syncing these objects only to ensure that the storage snapshots are cleaned up
// on backup deletion or expiry.
log.Info("Syncing CSI volumesnapshotcontents in backup")
snapConts, err := backupStore.GetCSIVolumeSnapshotContents(backupName)
if err != nil {
log.WithError(errors.WithStack(err)).Error("Error getting CSI volumesnapshotcontents for this backup from backup store")
continue
}
log.Infof("Syncing %d CSI volumesnapshotcontents in backup", len(snapConts))
for _, snapCont := range snapConts {
// TODO: Reset ResourceVersion prior to persisting VolumeSnapshotContents
snapCont.ResourceVersion = ""
created, err := c.csiSnapshotClient.SnapshotV1beta1().VolumeSnapshotContents().Create(context.TODO(), snapCont, metav1.CreateOptions{})
switch {
case err != nil && kuberrs.IsAlreadyExists(err):
log.Debugf("volumesnapshotcontent %s already exists in cluster", snapCont.Name)
continue
case err != nil && !kuberrs.IsAlreadyExists(err):
log.WithError(errors.WithStack(err)).Errorf("Error syncing volumesnapshotcontent %s into cluster", snapCont.Name)
continue
default:
log.Infof("Created CSI volumesnapshotcontent %s", created.Name)
}
}
}
}
c.deleteOrphanedBackups(location.Name, backupStoreBackups, log)
// update the location's last-synced time field
statusPatch := client.MergeFrom(location.DeepCopyObject())
location.Status.LastSyncedTime = &metav1.Time{Time: time.Now().UTC()}
if err := c.kbClient.Status().Patch(context.Background(), &location, statusPatch); err != nil {
log.WithError(errors.WithStack(err)).Error("Error patching backup location's last-synced time")
continue
}
}
}
// deleteOrphanedBackups deletes backup objects (CRDs) from Kubernetes that have the specified location
// and a phase of Completed, but no corresponding backup in object storage.
func (c *backupSyncController) deleteOrphanedBackups(locationName string, backupStoreBackups sets.String, log logrus.FieldLogger) {
locationSelector := labels.Set(map[string]string{
velerov1api.StorageLocationLabel: label.GetValidName(locationName),
}).AsSelector()
backups, err := c.backupLister.Backups(c.namespace).List(locationSelector)
if err != nil {
log.WithError(errors.WithStack(err)).Error("Error listing backups from cluster")
return
}
if len(backups) == 0 {
return
}
for _, backup := range backups {
log = log.WithField("backup", backup.Name)
if backup.Status.Phase != velerov1api.BackupPhaseCompleted || backupStoreBackups.Has(backup.Name) {
continue
}
if err := c.backupClient.Backups(backup.Namespace).Delete(context.TODO(), backup.Name, metav1.DeleteOptions{}); err != nil {
log.WithError(errors.WithStack(err)).Error("Error deleting orphaned backup from cluster")
} else {
log.Debug("Deleted orphaned backup from cluster")
}
}
}
|
heptio/ark
|
pkg/controller/backup_sync_controller.go
|
GO
|
apache-2.0
| 13,217
|
/*******************************************************************************
* Copyright 2011 Clockwork
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package nl.clockwork.mule.ebms.dao.postgresql;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.activation.DataSource;
import nl.clockwork.common.dao.DAOException;
import nl.clockwork.common.util.XMLMessageBuilder;
import nl.clockwork.mule.ebms.Constants;
import nl.clockwork.mule.ebms.Constants.EbMSMessageStatus;
import nl.clockwork.mule.ebms.dao.AbstractEbMSDAO;
import nl.clockwork.mule.ebms.model.EbMSAcknowledgment;
import nl.clockwork.mule.ebms.model.EbMSMessage;
import nl.clockwork.mule.ebms.model.EbMSMessageError;
import nl.clockwork.mule.ebms.model.cpp.cpa.CollaborationProtocolAgreement;
import nl.clockwork.mule.ebms.model.cpp.cpa.ReliableMessaging;
import nl.clockwork.mule.ebms.model.ebxml.AckRequested;
import nl.clockwork.mule.ebms.model.ebxml.Acknowledgment;
import nl.clockwork.mule.ebms.model.ebxml.ErrorList;
import nl.clockwork.mule.ebms.model.ebxml.Manifest;
import nl.clockwork.mule.ebms.model.ebxml.MessageHeader;
import nl.clockwork.mule.ebms.model.ebxml.MessageOrder;
import nl.clockwork.mule.ebms.model.ebxml.SyncReply;
import nl.clockwork.mule.ebms.model.xml.xmldsig.ObjectFactory;
import nl.clockwork.mule.ebms.model.xml.xmldsig.SignatureType;
import nl.clockwork.mule.ebms.util.CPAUtils;
import org.apache.commons.io.IOUtils;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.PreparedStatementCreator;
import org.springframework.jdbc.core.ResultSetExtractor;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallback;
import org.springframework.transaction.support.TransactionTemplate;
public class EbMSDAOImpl extends AbstractEbMSDAO
{
public class EbMSMessagePreparedStatement implements PreparedStatementCreator
{
private Date timestamp;
private String cpaId;
private String conversationId;
private Long sequenceNr;
private String messageId;
private String refToMessageId;
private String fromRole;
private String toRole;
private String serviceType;
private String service;
private String action;
private byte[] original;
private String signature;
private String messageHeader;
private String syncReply;
private String messageOrder;
private String ackRequested;
private String content;
private EbMSMessageStatus status;
public EbMSMessagePreparedStatement(Date timestamp, String cpaId, String conversationId, String messageId, String refToMessageId, String fromRole, String toRole, String serviceType, String service, String action, String messageHeader, String content)
{
this(timestamp,cpaId,conversationId,null,messageId,refToMessageId,fromRole,toRole,serviceType,service,action,null,null,messageHeader,null,null,null,content,null);
}
public EbMSMessagePreparedStatement(Date timestamp, String cpaId, String conversationId, String messageId, String refToMessageId, String fromRole, String toRole, String serviceType, String service, String action, String messageHeader, String content, EbMSMessageStatus status)
{
this(timestamp,cpaId,conversationId,null,messageId,refToMessageId,fromRole,toRole,serviceType,service,action,null,null,messageHeader,null,null,null,content,status);
}
public EbMSMessagePreparedStatement(Date timestamp, String cpaId, String conversationId, Long sequenceNr, String messageId, String refToMessageId, String fromRole, String toRole, String serviceType, String service, String action, String messageHeader, String syncReply, String messageOrder, String ackRequested, String content)
{
this(timestamp,cpaId,conversationId,sequenceNr,messageId,refToMessageId,fromRole,toRole,serviceType,service,action,null,null,messageHeader,syncReply,messageOrder,ackRequested,content,null);
}
public EbMSMessagePreparedStatement(Date timestamp, String cpaId, String conversationId, Long sequenceNr, String messageId, String refToMessageId, String fromRole, String toRole, String serviceType, String service, String action, byte[] original, String signature, String messageHeader, String syncReply, String messageOrder, String ackRequested, String content, EbMSMessageStatus status)
{
this.timestamp = timestamp;
this.cpaId = cpaId;
this.conversationId = conversationId;
this.sequenceNr = sequenceNr;
this.messageId = messageId;
this.refToMessageId = refToMessageId;
this.fromRole = fromRole;
this.toRole = toRole;
this.serviceType = serviceType;
this.service = service;
this.action = action;
this.original = original;
this.signature = signature;
this.messageHeader = messageHeader;
this.syncReply = syncReply;
this.messageOrder = messageOrder;
this.ackRequested = ackRequested;
this.content = content;
this.status = status;
}
public PreparedStatement createPreparedStatement(Connection connection) throws SQLException
{
PreparedStatement ps = connection.prepareStatement
(
"insert into ebms_message (" +
"time_stamp," +
"cpa_id," +
"conversation_id," +
"sequence_nr," +
"message_id," +
"ref_to_message_id," +
"from_role," +
"to_role," +
"service_type," +
"service," +
"action," +
"original," +
"signature," +
"message_header," +
"sync_reply," +
"message_order," +
"ack_requested," +
"content," +
"status," +
"status_time" +
") values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?," + (status == null ? "null" : getTimestampFunction()) + ")" +
"returning id"
);
//ps.setDate(1,new java.sql.Date(timestamp.getTime()));
//ps.setString(1,String.format(getDateFormat(),timestamp));
//ps.setTimestamp(1,new Timestamp(timestamp.getTime()));
ps.setObject(1,timestamp,Types.TIMESTAMP);
ps.setString(2,cpaId);
ps.setString(3,conversationId);
if (sequenceNr == null)
ps.setNull(4,java.sql.Types.BIGINT);
else
ps.setLong(4,sequenceNr);
ps.setString(5,messageId);
ps.setString(6,refToMessageId);
ps.setString(7,fromRole);
ps.setString(8,toRole);
ps.setString(9,serviceType);
ps.setString(10,service);
ps.setString(11,action);
ps.setBytes(12,original);
ps.setString(13,signature);
ps.setString(14,messageHeader);
ps.setString(15,syncReply);
ps.setString(16,messageOrder);
ps.setString(17,ackRequested);
ps.setString(18,content);
if (status == null)
ps.setNull(19,java.sql.Types.INTEGER);
else
ps.setInt(19,status.id());
//ps.setString(20,status == null ? null : String.format(getDateFormat(),timestamp));
//ps.setTimestamp(20,status == null ? null : new Timestamp(timestamp.getTime()));
//ps.setOject(20,status == null ? null : timestamp,Types.TIMESTAMP);
return ps;
}
}
public class IdExtractor implements ResultSetExtractor
{
@Override
public Object extractData(ResultSet rs) throws SQLException, DataAccessException
{
if (rs.next())
return rs.getLong("id");
else
return null;
}
}
public EbMSDAOImpl(PlatformTransactionManager transactionManager, javax.sql.DataSource dataSource)
{
super(transactionManager,dataSource);
}
public EbMSDAOImpl(TransactionTemplate transactionTemplate, javax.sql.DataSource dataSource)
{
super(transactionTemplate,dataSource);
}
// @Override
// public String getDateFormat()
// {
// return "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL";
// }
@Override
public String getTimestampFunction()
{
return "NOW()";
}
@Override
public String getReceivedMessageIdsQuery(String messageContextFilter, int maxNr)
{
return "select message_id" +
" from ebms_message" +
" where status=" + EbMSMessageStatus.RECEIVED.id() +
messageContextFilter +
" order by time_stamp asc" +
" limit " + maxNr;
}
@Override
public void insertMessage(final EbMSMessage message) throws DAOException
{
try
{
transactionTemplate.execute(
new TransactionCallback()
{
@Override
public Object doInTransaction(TransactionStatus transactionStatus)
{
try
{
Date timestamp = new Date();
Long key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
message.getMessageHeader().getCPAId(),
message.getMessageHeader().getConversationId(),
message.getMessageOrder() == null ? null : message.getMessageOrder().getSequenceNumber().getValue().longValue(),
message.getMessageHeader().getMessageData().getMessageId(),
message.getMessageHeader().getMessageData().getRefToMessageId(),
message.getMessageHeader().getFrom().getRole(),
message.getMessageHeader().getTo().getRole(),
message.getMessageHeader().getService().getType(),
message.getMessageHeader().getService().getValue(),
message.getMessageHeader().getAction(),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(message.getMessageHeader()),
XMLMessageBuilder.getInstance(SyncReply.class).handle(message.getSyncReply()),
XMLMessageBuilder.getInstance(MessageOrder.class).handle(message.getMessageOrder()),
XMLMessageBuilder.getInstance(AckRequested.class).handle(message.getAckRequested()),
XMLMessageBuilder.getInstance(Manifest.class).handle(message.getManifest())
),
new IdExtractor()
);
for (DataSource attachment : message.getAttachments())
{
simpleJdbcTemplate.update
(
"insert into ebms_attachment (" +
"ebms_message_id," +
"name," +
"content_type," +
"content" +
") values (?,?,?,?)",
key,
attachment.getName() == null ? Constants.DEFAULT_FILENAME : attachment.getName(),
attachment.getContentType().split(";")[0].trim(),
IOUtils.toByteArray(attachment.getInputStream())
);
}
Date sendTime = (Date)timestamp.clone();
CollaborationProtocolAgreement cpa = getCPA(message.getMessageHeader().getCPAId());
ReliableMessaging rm = CPAUtils.getReliableMessaging(cpa,message.getMessageHeader());
List<Object[]> sendEvents = new ArrayList<Object[]>();
if (rm != null)
{
for (int i = 0; i < rm.getRetries().intValue(); i++)
{
sendEvents.add(new Object[]{key,sendTime.clone()});
//retries.add(new Object[]{key,String.format(getDateFormat(),sendTime)});
rm.getRetryInterval().addTo(sendTime);
}
simpleJdbcTemplate.batchUpdate
(
"insert into ebms_send_event (" +
"ebms_message_id," +
"time" +
") values (?,?)",
sendEvents
);
}
return key;
}
catch (Exception e)
{
transactionStatus.setRollbackOnly();
throw new RuntimeException(e);
}
}
}
);
}
catch (Exception e)
{
throw new DAOException(e);
}
}
@Override
public void insertMessage(final EbMSMessage message, final EbMSMessageStatus status) throws DAOException
{
try
{
transactionTemplate.execute(
new TransactionCallback()
{
@Override
public Object doInTransaction(TransactionStatus transactionStatus)
{
try
{
Date timestamp = new Date();
Long key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
message.getMessageHeader().getCPAId(),
message.getMessageHeader().getConversationId(),
message.getMessageOrder() == null ? null : message.getMessageOrder().getSequenceNumber().getValue().longValue(),
message.getMessageHeader().getMessageData().getMessageId(),
message.getMessageHeader().getMessageData().getRefToMessageId(),
message.getMessageHeader().getFrom().getRole(),
message.getMessageHeader().getTo().getRole(),
message.getMessageHeader().getService().getType(),
message.getMessageHeader().getService().getValue(),
message.getMessageHeader().getAction(),
message.getOriginal(),
XMLMessageBuilder.getInstance(SignatureType.class).handle(new ObjectFactory().createSignature(message.getSignature())),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(message.getMessageHeader()),
XMLMessageBuilder.getInstance(SyncReply.class).handle(message.getSyncReply()),
XMLMessageBuilder.getInstance(MessageOrder.class).handle(message.getMessageOrder()),
XMLMessageBuilder.getInstance(AckRequested.class).handle(message.getAckRequested()),
XMLMessageBuilder.getInstance(Manifest.class).handle(message.getManifest()),
status
),
new IdExtractor()
);
for (DataSource attachment : message.getAttachments())
{
simpleJdbcTemplate.update
(
"insert into ebms_attachment (" +
"ebms_message_id," +
"name," +
"content_type," +
"content" +
") values (?,?,?,?)",
key,
attachment.getName() == null ? Constants.DEFAULT_FILENAME : attachment.getName(),
attachment.getContentType().split(";")[0].trim(),
IOUtils.toByteArray(attachment.getInputStream())
);
}
return key;
}
catch (Exception e)
{
transactionStatus.setRollbackOnly();
throw new RuntimeException(e);
}
}
}
);
}
catch (Exception e)
{
throw new DAOException(e);
}
}
@Override
public void insertMessage(final EbMSMessage message, final EbMSMessageStatus status, final EbMSMessageError messageError) throws DAOException
{
try
{
transactionTemplate.execute(
new TransactionCallback()
{
@Override
public Object doInTransaction(TransactionStatus transactionStatus)
{
try
{
Date timestamp = new Date();
Long key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
message.getMessageHeader().getCPAId(),
message.getMessageHeader().getConversationId(),
message.getMessageOrder() == null ? null : message.getMessageOrder().getSequenceNumber().getValue().longValue(),
message.getMessageHeader().getMessageData().getMessageId(),
message.getMessageHeader().getMessageData().getRefToMessageId(),
message.getMessageHeader().getFrom().getRole(),
message.getMessageHeader().getTo().getRole(),
message.getMessageHeader().getService().getType(),
message.getMessageHeader().getService().getValue(),
message.getMessageHeader().getAction(),
message.getOriginal(),
XMLMessageBuilder.getInstance(SignatureType.class).handle(new ObjectFactory().createSignature(message.getSignature())),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(message.getMessageHeader()),
XMLMessageBuilder.getInstance(SyncReply.class).handle(message.getSyncReply()),
XMLMessageBuilder.getInstance(MessageOrder.class).handle(message.getMessageOrder()),
XMLMessageBuilder.getInstance(AckRequested.class).handle(message.getAckRequested()),
XMLMessageBuilder.getInstance(Manifest.class).handle(message.getManifest()),
status
),
new IdExtractor()
);
for (DataSource attachment : message.getAttachments())
{
simpleJdbcTemplate.update
(
"insert into ebms_attachment (" +
"ebms_message_id," +
"name," +
"content_type," +
"content" +
") values (?,?,?,?)",
key,
attachment.getName() == null ? Constants.DEFAULT_FILENAME : attachment.getName(),
attachment.getContentType().split(";")[0].trim(),
IOUtils.toByteArray(attachment.getInputStream())
);
}
key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
messageError.getMessageHeader().getCPAId(),
messageError.getMessageHeader().getConversationId(),
messageError.getMessageHeader().getMessageData().getMessageId(),
messageError.getMessageHeader().getMessageData().getRefToMessageId(),
messageError.getMessageHeader().getFrom().getRole(),
messageError.getMessageHeader().getTo().getRole(),
messageError.getMessageHeader().getService().getType(),
messageError.getMessageHeader().getService().getValue(),
messageError.getMessageHeader().getAction(),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(messageError.getMessageHeader()),
XMLMessageBuilder.getInstance(ErrorList.class).handle(messageError.getErrorList())
),
new IdExtractor()
);
simpleJdbcTemplate.update
(
"insert into ebms_send_event (" +
"ebms_message_id," +
"time" +
") values (?,?)",
key,
//String.format(getDateFormat(),timestamp)
timestamp
);
return null;
}
catch (Exception e)
{
transactionStatus.setRollbackOnly();
throw new RuntimeException(e);
}
}
}
);
}
catch (Exception e)
{
throw new DAOException(e);
}
}
@Override
public void insertMessage(final EbMSMessage message, final EbMSMessageStatus status, final EbMSAcknowledgment acknowledgment) throws DAOException
{
try
{
transactionTemplate.execute(
new TransactionCallback()
{
@Override
public Object doInTransaction(TransactionStatus transactionStatus)
{
try
{
Date timestamp = new Date();
Long key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
message.getMessageHeader().getCPAId(),
message.getMessageHeader().getConversationId(),
message.getMessageOrder() == null ? null : message.getMessageOrder().getSequenceNumber().getValue().longValue(),
message.getMessageHeader().getMessageData().getMessageId(),
message.getMessageHeader().getMessageData().getRefToMessageId(),
message.getMessageHeader().getFrom().getRole(),
message.getMessageHeader().getTo().getRole(),
message.getMessageHeader().getService().getType(),
message.getMessageHeader().getService().getValue(),
message.getMessageHeader().getAction(),
message.getOriginal(),
XMLMessageBuilder.getInstance(SignatureType.class).handle(new ObjectFactory().createSignature(message.getSignature())),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(message.getMessageHeader()),
XMLMessageBuilder.getInstance(SyncReply.class).handle(message.getSyncReply()),
XMLMessageBuilder.getInstance(MessageOrder.class).handle(message.getMessageOrder()),
XMLMessageBuilder.getInstance(AckRequested.class).handle(message.getAckRequested()),
XMLMessageBuilder.getInstance(Manifest.class).handle(message.getManifest()),
status
),
new IdExtractor()
);
for (DataSource attachment : message.getAttachments())
{
simpleJdbcTemplate.update
(
"insert into ebms_attachment (" +
"ebms_message_id," +
"name," +
"content_type," +
"content" +
") values (?,?,?,?)",
key,
attachment.getName() == null ? Constants.DEFAULT_FILENAME : attachment.getName(),
attachment.getContentType().split(";")[0].trim(),
IOUtils.toByteArray(attachment.getInputStream())
);
}
key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
acknowledgment.getMessageHeader().getCPAId(),
acknowledgment.getMessageHeader().getConversationId(),
acknowledgment.getMessageHeader().getMessageData().getMessageId(),
acknowledgment.getMessageHeader().getMessageData().getRefToMessageId(),
acknowledgment.getMessageHeader().getFrom().getRole(),
acknowledgment.getMessageHeader().getTo().getRole(),
acknowledgment.getMessageHeader().getService().getType(),
acknowledgment.getMessageHeader().getService().getValue(),
acknowledgment.getMessageHeader().getAction(),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(acknowledgment.getMessageHeader()),
XMLMessageBuilder.getInstance(Acknowledgment.class).handle(acknowledgment.getAcknowledgment())
),
new IdExtractor()
);
simpleJdbcTemplate.update
(
"insert into ebms_send_event (" +
"ebms_message_id," +
"time" +
") values (?,?)",
key,
//String.format(getDateFormat(),timestamp)
timestamp
);
return null;
}
catch (Exception e)
{
transactionStatus.setRollbackOnly();
throw new RuntimeException(e);
}
}
}
);
}
catch (Exception e)
{
throw new DAOException(e);
}
}
@Override
public void insertMessage(final EbMSMessageError messageError, final EbMSMessageStatus status) throws DAOException
{
try
{
transactionTemplate.execute(
new TransactionCallback()
{
@Override
public Object doInTransaction(TransactionStatus transactionStatus)
{
try
{
Date timestamp = new Date();
Long key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
messageError.getMessageHeader().getCPAId(),
messageError.getMessageHeader().getConversationId(),
messageError.getMessageHeader().getMessageData().getMessageId(),
messageError.getMessageHeader().getMessageData().getRefToMessageId(),
messageError.getMessageHeader().getFrom().getRole(),
messageError.getMessageHeader().getTo().getRole(),
messageError.getMessageHeader().getService().getType(),
messageError.getMessageHeader().getService().getValue(),
messageError.getMessageHeader().getAction(),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(messageError.getMessageHeader()),
XMLMessageBuilder.getInstance(ErrorList.class).handle(messageError.getErrorList()),
status
),
new IdExtractor()
);
Long id = getEbMSMessageId(messageError.getMessageHeader().getMessageData().getRefToMessageId());
if (id != null)
simpleJdbcTemplate.update
(
"delete from ebms_send_event" +
" where ebms_message_id=? and status=0",
id
);
return key;
}
catch (Exception e)
{
transactionStatus.setRollbackOnly();
throw new RuntimeException(e);
}
}
}
);
}
catch (Exception e)
{
throw new DAOException(e);
}
}
@Override
public void insertMessage(final EbMSAcknowledgment acknowledgment, final EbMSMessageStatus status) throws DAOException
{
try
{
transactionTemplate.execute(
new TransactionCallback()
{
@Override
public Object doInTransaction(TransactionStatus transactionStatus)
{
try
{
Date timestamp = new Date();
Long key = (Long)jdbcTemplate.query(
new EbMSMessagePreparedStatement(
timestamp,
acknowledgment.getMessageHeader().getCPAId(),
acknowledgment.getMessageHeader().getConversationId(),
acknowledgment.getMessageHeader().getMessageData().getMessageId(),
acknowledgment.getMessageHeader().getMessageData().getRefToMessageId(),
acknowledgment.getMessageHeader().getFrom().getRole(),
acknowledgment.getMessageHeader().getTo().getRole(),
acknowledgment.getMessageHeader().getService().getType(),
acknowledgment.getMessageHeader().getService().getValue(),
acknowledgment.getMessageHeader().getAction(),
XMLMessageBuilder.getInstance(MessageHeader.class).handle(acknowledgment.getMessageHeader()),
XMLMessageBuilder.getInstance(Acknowledgment.class).handle(acknowledgment.getAcknowledgment()),
status
),
new IdExtractor()
);
Long id = getEbMSMessageId(acknowledgment.getMessageHeader().getMessageData().getRefToMessageId());
if (id != null)
simpleJdbcTemplate.update
(
"delete from ebms_send_event" +
" where ebms_message_id=? and status=0",
id
);
return key;
}
catch (Exception e)
{
transactionStatus.setRollbackOnly();
throw new RuntimeException(e);
}
}
}
);
}
catch (Exception e)
{
throw new DAOException(e);
}
}
}
|
MartinMulder/ebmsadapter
|
src/main/java/nl/clockwork/mule/ebms/dao/postgresql/EbMSDAOImpl.java
|
Java
|
apache-2.0
| 26,696
|
/**
* AdGroupAdService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201402.cm;
public interface AdGroupAdService extends javax.xml.rpc.Service {
public java.lang.String getAdGroupAdServiceInterfacePortAddress();
public com.google.api.ads.adwords.axis.v201402.cm.AdGroupAdServiceInterface getAdGroupAdServiceInterfacePort() throws javax.xml.rpc.ServiceException;
public com.google.api.ads.adwords.axis.v201402.cm.AdGroupAdServiceInterface getAdGroupAdServiceInterfacePort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
}
|
nafae/developer
|
modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201402/cm/AdGroupAdService.java
|
Java
|
apache-2.0
| 678
|
package def
/*
A list of warehouse coordinates, as simple strings (they're serialized
as such).
FIXME this is really ambiguous vs `rio.SiloURI`, should probably try
to refactor to only be one.
*/
type WarehouseCoords []WarehouseCoord
type WarehouseCoord string
|
subuser-security/repeatr
|
api/def/warehouse.go
|
GO
|
apache-2.0
| 268
|
package VMOMI::HostRuntimeInfo;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['connectionState', 'HostSystemConnectionState', 0, ],
['powerState', 'HostSystemPowerState', 0, ],
['standbyMode', undef, 0, 1],
['inMaintenanceMode', 'boolean', 0, ],
['inQuarantineMode', 'boolean', 0, 1],
['bootTime', undef, 0, 1],
['healthSystemRuntime', 'HealthSystemRuntime', 0, 1],
['dasHostState', 'ClusterDasFdmHostState', 0, 1],
['tpmPcrValues', 'HostTpmDigestInfo', 1, 1],
['vsanRuntimeInfo', 'VsanHostRuntimeInfo', 0, 1],
['networkRuntimeInfo', 'HostRuntimeInfoNetworkRuntimeInfo', 0, 1],
['vFlashResourceRuntimeInfo', 'HostVFlashManagerVFlashResourceRunTimeInfo', 0, 1],
['hostMaxVirtualDiskCapacity', undef, 0, 1],
['cryptoState', undef, 0, 1],
['cryptoKeyId', 'CryptoKeyId', 0, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $class->SUPER::get_class_members();
return (@super_members, @class_members);
}
1;
|
stumpr/p5-vmomi
|
lib/VMOMI/HostRuntimeInfo.pm
|
Perl
|
apache-2.0
| 1,143
|
(function () {
'use strict';
angular.module('components.provider')
.controller('ProvidersController', Controller);
/** @ngInject */
function Controller() {
var ctrl = this;
ctrl.$onChanges = onChanges;
ctrl.doEvent = doEvent;
function onChanges(changes) {
if (changes.providers) {
ctrl.providers = angular.copy(ctrl.providers);
}
}
function doEvent(event, provider) {
return ctrl['on' + event]({
$event: {
provider: provider
}
});
}
}
})();
|
boozallen/projectjellyfish
|
app/assets/javascripts/app/components/provider/providers/providers.controller.js
|
JavaScript
|
apache-2.0
| 546
|
from __future__ import unicode_literals
import datetime
import django
from django.utils.timezone import now
from django.test import TransactionTestCase
from mock import call, patch
from job.seed.metadata import SeedMetadata
from source.configuration.source_data_file import SourceDataFileParseSaver
from storage.models import ScaleFile, Workspace
from util.parse import parse_datetime
class TestSourceDataFileParseSaverSaveParseResults(TransactionTestCase):
def setUp(self):
django.setup()
self.workspace = Workspace.objects.create(name='Test workspace')
self.file_name_1 = 'my_file.txt'
self.media_type_1 = 'text/plain'
self.source_file_1 = ScaleFile.objects.create(file_name=self.file_name_1, file_type='SOURCE',
media_type=self.media_type_1, file_size=10, data_type_tags=['Dummy'],
file_path='the_path', workspace=self.workspace)
self.file_name_2 = 'my_file.json'
self.media_type_2 = 'application/json'
self.source_file_2 = ScaleFile.objects.create(file_name=self.file_name_2, file_type='SOURCE',
media_type=self.media_type_2, file_size=10, data_type_tags=['Dummy'],
file_path='the_path', workspace=self.workspace)
self.extra_source_file_id = 99999
@patch('source.configuration.source_data_file.SourceFile.objects.save_parse_results')
def test_successful(self, mock_save):
"""Tests calling SourceDataFileParseSaver.save_parse_results() successfully"""
geo_json = {'type': 'Feature'}
started = now()
ended = started + datetime.timedelta(days=1)
# quick hack to give these a valid timezone. Easier than creating a TZ object since we don't really care about the time for this test.
started = parse_datetime(started.isoformat() + "Z")
ended = parse_datetime(ended.isoformat() + "Z")
file_ids = [self.source_file_1.id, self.source_file_2.id, self.extra_source_file_id]
parse_results = {self.file_name_1: (geo_json, started, None, [], None),
self.file_name_2: (None, None, ended, [], None),
'FILE_WITH_NO_SOURCE_FILE_MODEL': (None, None, None, None, None)}
SourceDataFileParseSaver().save_parse_results(parse_results, file_ids)
calls = [call(self.source_file_1.id, geo_json, started, None, [], None),
call(self.source_file_2.id, None, None, ended, [], None)]
self.assertEqual(mock_save.call_count, 2)
mock_save.assert_has_calls(calls, any_order=True)
@patch('source.configuration.source_data_file.SourceFile.objects.save_parse_results')
def test_successful_v6(self, mock_save):
"""Tests calling SourceDataFileParseSaver.save_parse_results_v6() successfully"""
started = '2018-06-01T00:00:00Z'
ended = '2018-06-01T01:00:00Z'
types = ['one', 'two', 'three']
new_workspace_path = 'awful/path'
data = {
'type': 'Feature',
'geometry': {
'type': 'Point',
'coordinates': [0, 1]
},
'properties':
{
'dataStarted': started,
'dataEnded': ended,
'dataTypes': types,
'newWorkspacePath': new_workspace_path
}
}
metadata = {self.source_file_1.id: SeedMetadata.metadata_from_json(data, do_validate=False)}
calls = [call(self.source_file_1.id, data, parse_datetime(started), parse_datetime(ended), types, new_workspace_path)]
SourceDataFileParseSaver().save_parse_results_v6(metadata)
self.assertEqual(mock_save.call_count, 1)
mock_save.assert_has_calls(calls, any_order=True)
|
ngageoint/scale
|
scale/source/test/configuration/test_source_data_file.py
|
Python
|
apache-2.0
| 4,106
|
import { HorizontalScrollDirective } from './horizontal.scroll.directive';
import { ClearBoxDirective } from './clearbox.directive';
export const DIRECTIVES_DECLARATIONS: any[] = [
HorizontalScrollDirective,
ClearBoxDirective
];
|
slamby/slamby-insight
|
src/app/common/directives/directives.module.ts
|
TypeScript
|
apache-2.0
| 238
|
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License. See accompanying
* LICENSE file.
*/
package com.pivotal.gemfirexd.jdbc.offheap;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
import com.gemstone.gemfire.distributed.internal.DistributionConfig;
import com.gemstone.gemfire.internal.cache.CacheObserverHolder;
import com.gemstone.gemfire.internal.cache.LocalRegion;
import com.pivotal.gemfirexd.internal.engine.GemFireXDQueryObserverHolder;
import com.pivotal.gemfirexd.internal.engine.jdbc.GemFireXDRuntimeException;
import com.pivotal.gemfirexd.internal.engine.management.GfxdManagementService;
import com.pivotal.gemfirexd.jdbc.BlobSetMethodsTest;
import com.pivotal.gemfirexd.jdbc.JdbcTestBase;
import com.pivotal.gemfirexd.jdbc.JdbcTestBase.RegionMapClearDetector;
public class OffheapBlobSetMethodsTest extends BlobSetMethodsTest {
private RegionMapClearDetector rmcd = null;
public static void main(String[] args) {
TestRunner.run(new TestSuite(OffheapBlobSetMethodsTest.class));
}
public OffheapBlobSetMethodsTest(String name) {
super(name);
}
@Override
public void setUp() throws Exception {
super.setUp();
System.setProperty("gemfire.OFF_HEAP_TOTAL_SIZE", "500m");
System.setProperty("gemfire."+DistributionConfig.OFF_HEAP_MEMORY_SIZE_NAME, "500m");
System.setProperty(GfxdManagementService.DISABLE_MANAGEMENT_PROPERTY,"true");
LocalRegion.ISSUE_CALLBACKS_TO_CACHE_OBSERVER = true;
rmcd = new JdbcTestBase.RegionMapClearDetector();
CacheObserverHolder.setInstance(rmcd);
GemFireXDQueryObserverHolder.putInstance(rmcd);
}
@Override
public void tearDown() throws Exception {
LocalRegion.ISSUE_CALLBACKS_TO_CACHE_OBSERVER = false;
CacheObserverHolder.setInstance(null);
GemFireXDQueryObserverHolder.clearInstance();
super.tearDown();
System.setProperty("gemfire.OFF_HEAP_TOTAL_SIZE", "");
System.setProperty("gemfire."+DistributionConfig.OFF_HEAP_MEMORY_SIZE_NAME, "");
System.setProperty(GfxdManagementService.DISABLE_MANAGEMENT_PROPERTY,"");
}
@Override
public String getSuffix() {
return " offheap ";
}
@Override
public void waitTillAllClear() {
try {
rmcd.waitTillAllClear();
}catch(InterruptedException ie) {
Thread.currentThread().interrupt();
throw new GemFireXDRuntimeException(ie);
}
}
@Override
protected void doEndOffHeapValidations() throws Exception {
//TODO:Asif: Remove this once the LOBS are correctly accounted for
}
}
|
papicella/snappy-store
|
gemfirexd/tools/src/test/java/com/pivotal/gemfirexd/jdbc/offheap/OffheapBlobSetMethodsTest.java
|
Java
|
apache-2.0
| 3,090
|
/*
* Copyright 2016 HM Revenue & Customs
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package uk.gov.hmrc.ct.computations
import uk.gov.hmrc.ct.box.{CtBoxIdentifier, CtOptionalInteger, Input}
case class CP286(value: Option[Int]) extends CtBoxIdentifier(name = "Losses claimed from a later AP") with CtOptionalInteger with Input
|
ahudspith-equalexperts/ct-calculations
|
src/main/scala/uk/gov/hmrc/ct/computations/CP286.scala
|
Scala
|
apache-2.0
| 849
|
find|grep debug.apk >apklist.txt
cat apklist.txt |sed 's/^/adb install /g' >installall.sh
chmod +x *.sh
chmod +x ~/bin -R
./installall.sh
|
bayvictor/distributed-polling-system
|
bin/adb_install_all_subdir_apk.sh
|
Shell
|
apache-2.0
| 157
|
package me.thenpush.rest;
import android.content.Context;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.IOException;
import me.thenpush.BuildConfig;
import me.thenpush.ConfigFetcher;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* Created by pappacena on 12/04/16.
*/
public class RestApi {
public static final String BASE_URL = "https://thenpush.me/api/v1/";
private Context context;
private static RestApi instance;
private Retrofit retrofit;
private RestApi(final Context context) {
this.context = context;
// My machine :-)
String url = BASE_URL;
try {
if((boolean) Class.forName(context.getPackageName() + ".BuildConfig").getField("DEBUG").get(null)) {
url = "http://192.168.1.46:8000/";
}
} catch (ClassNotFoundException e) {
} catch (NoSuchFieldException e) {
} catch (IllegalAccessException e) {
}
Gson gson = new GsonBuilder()
.setDateFormat("yyyy-MM-dd'T'HH:mm:ssZ")
.create();
OkHttpClient httpClient = new OkHttpClient.Builder()
.addInterceptor(new Interceptor() {
@Override
public Response intercept(Chain chain) throws IOException {
String token = ConfigFetcher.getToken(context);
Request request = chain.request().newBuilder()
.addHeader("Authorization", token).build();
return chain.proceed(request);
}
}).build();
this.retrofit = new Retrofit.Builder()
.baseUrl(url)
.addConverterFactory(GsonConverterFactory.create(gson))
.client(httpClient)
.build();
}
public static RestApi getInstance(Context context) {
if (RestApi.instance == null) {
RestApi.instance = new RestApi(context);
}
return RestApi.instance;
}
public Retrofit getRetrofit() {
return this.retrofit;
}
}
|
thenpush/thenpush-android
|
client/src/main/java/me/thenpush/rest/RestApi.java
|
Java
|
apache-2.0
| 2,282
|
/*!
* Start Bootstrap - Stylish Portfolio Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
/* Global Styles */
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.text-red {
color: #ad0101;
}
.bg-primary {
background-color: #ad0101;
}
.bg-primary a {
color: white;
}
.text-vertical-center {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.text-vertical-center h1 {
margin: 0;
padding: 0;
/*font-size: 4.5em;*/
/*font-weight: 700;*/
}
@media (min-width: 768px) {
.valign {
display: flex;
align-items: center;
}
}
/* Custom Button Styles */
.btn-dark {
border-radius: 0;
color: #fff;
background-color: rgba(0,0,0,0.4);
}
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
color: #fff;
background-color: rgba(0,0,0,0.7);
}
.btn-light {
border-radius: 0;
color: #333;
background-color: rgb(255,255,255);
}
.btn-light:hover,
.btn-light:focus,
.btn-light:active {
color: #333;
background-color: rgba(255,255,255,0.8);
}
/* Custom Horizontal Rule */
hr.small {
max-width: 100px;
}
/* Side Menu */
#sidebar-wrapper {
z-index: 1000;
position: fixed;
right: 0;
width: 250px;
height: 100%;
margin-right: -250px;
overflow-y: auto;
background: #222;
-webkit-transition: all 0.4s ease 0s;
-moz-transition: all 0.4s ease 0s;
-ms-transition: all 0.4s ease 0s;
-o-transition: all 0.4s ease 0s;
transition: all 0.4s ease 0s;
}
.sidebar-nav {
position: absolute;
top: 0;
width: 250px;
margin: 0;
padding: 0;
list-style: none;
}
.sidebar-nav li {
text-indent: 20px;
line-height: 40px;
}
.sidebar-nav li a {
display: block;
text-decoration: none;
color: #999;
}
.sidebar-nav li a:hover {
text-decoration: none;
color: #fff;
background: rgba(255,255,255,0.2);
}
.sidebar-nav li a:active,
.sidebar-nav li a:focus {
text-decoration: none;
}
.sidebar-nav > .sidebar-brand {
height: 55px;
font-size: 18px;
line-height: 55px;
}
.sidebar-nav > .sidebar-brand a {
color: #999;
}
.sidebar-nav > .sidebar-brand a:hover {
color: #fff;
background: none;
}
#menu-toggle {
z-index: 1;
position: fixed;
top: 0;
right: 0;
}
#sidebar-wrapper.active {
right: 250px;
width: 250px;
-webkit-transition: all 0.4s ease 0s;
-moz-transition: all 0.4s ease 0s;
-ms-transition: all 0.4s ease 0s;
-o-transition: all 0.4s ease 0s;
transition: all 0.4s ease 0s;
}
.toggle {
margin: 5px 5px 0 0;
}
/* Header */
.header {
display: table;
position: relative;
width: 100%;
height: 100%;
background: url(../img/background-main.jpg) no-repeat center center scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
/* About */
.about {
padding: 50px 0;
}
/* Services */
.services {
padding: 50px 0;
}
@media(max-width:768px) {
.services {
padding: 20px 0;
}
}
.service-item {
margin-bottom: 30px;
}
/* Callout */
.callout {
display: table;
width: 100%;
height: 200px;
color: #fff;
background: url(../img/trenner-holz.jpg) no-repeat center center scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
@media(max-width:768px) {
.callout {
height: 80px;
}
}
/* Portfolio */
.portfolio {
padding: 50px 0;
}
@media(max-width:768px) {
.portfolio {
padding: 20px 0;
}
}
.portfolio-item {
margin-bottom: 30px;
}
.img-portfolio {
margin: 0 auto;
}
.img-portfolio:hover {
opacity: 0.8;
}
/* Call to Action */
.call-to-action {
padding: 50px 0;
}
.call-to-action .btn {
margin: 10px;
}
/* Map */
div.container.map {
/*width: 100%;*/
}
.map {
height: 500px;
}
@media(max-width:768px) {
.map {
height: 300px;
}
}
/* Footer */
footer {
padding: 100px 0;
}
/* ------------------- Carousel Styling ------------------- */
@media(max-width:768px) {
.carousel-caption > h2 {
font-size: 18px;
}
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
width: 100%;
height: auto;
}
.carousel-inner {
border-radius: 15px;
}
.carousel-caption {
background-color: rgba(0,0,0,.2);
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
padding: 0 0 10px 14px;
color: #fff;
text-align: left;
}
.carousel-caption h2 {
font-size: 14px;
margin-bottom: 4px;
}
.carousel-indicators {
position: absolute;
bottom: 0;
right: 0;
left: 0;
width: 100%;
z-index: 15;
margin: 0;
padding: 0 25px 25px 0;
text-align: right;
}
.carousel-control.left,
.carousel-control.right {
background-image: none;
}
@media (min-width: 576px) {
.carousel-caption h2 {
font-size: 18px;
padding: 0 0 10px 25px;
}
.carousel-indicators {
padding: 0 25px 19px 0;
}
}
.mapmarker {
color: black;
}
.nav-row {
margin-top: 15px;
}
img {
opacity: 1;
transition: opacity 0.3s;
}
img[data-src] {
opacity: 0;
}
|
fstm/fstm.github.io
|
css/stylish-portfolio.css
|
CSS
|
apache-2.0
| 5,495
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Json;
using System.Text;
namespace CommunityHeart.Tools
{
public static class Json
{
public static T Deserialize<T>(string json)
{
var bytes = Encoding.Unicode.GetBytes(json);
using (MemoryStream stream = new MemoryStream(bytes))
{
var serializer = new DataContractJsonSerializer(typeof(T));
return (T)serializer.ReadObject(stream);
}
}
public static string Serialize(object instance)
{
using (MemoryStream stream = new MemoryStream())
{
var serializer = new DataContractJsonSerializer(instance.GetType());
serializer.WriteObject(stream, instance);
stream.Position = 0;
using (StreamReader reader = new StreamReader(stream))
{
return reader.ReadToEnd();
}
}
}
}
}
|
danvy/communityheart
|
src/CommunityHeart.Shared/Tools/Json.cs
|
C#
|
apache-2.0
| 1,061
|
/*
* Copyright 2016 Dmitry Avtonomov.
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package umich.ms.datatypes;
import com.google.common.base.FinalizablePhantomReference;
import com.google.common.base.FinalizableReferenceQueue;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.RemovalListener;
import com.google.common.cache.RemovalNotification;
import com.google.common.collect.Sets;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentMap;
import umich.ms.datatypes.scan.StorageStrategy;
import umich.ms.datatypes.scancollection.IScanCollection;
import umich.ms.datatypes.scancollection.impl.ScanCollectionDefault;
import umich.ms.fileio.exceptions.FileParsingException;
import umich.ms.fileio.filetypes.LCMSDataSource;
/**
* A wrapper uniting a data source and a scan collection.
*
* @author Dmitry Avtonomov
*/
public class LCMSData implements Serializable {
protected final static transient FinalizableReferenceQueue FRQ = new FinalizableReferenceQueue();
private static final long serialVersionUID = 7653994906958188619L;
private final transient Set<User> userPhantomRefs = Sets.newConcurrentHashSet();
private final Object USER_DUMMY = new Object();
protected LCMSDataSource<?> source;
protected IScanCollection scans;
protected volatile boolean isReleasingMemory = false;
private transient RemovalListener<Object, Set<LCMSDataSubset>> listener;
/**
* Holds weak references to the objects using data as keys.
*/
private transient Cache<Object, Set<LCMSDataSubset>> cache;
/**
* Will create LCMSData backed up by {@link ScanCollectionDefault} with spectra auto-loading
* turned off.
*/
public LCMSData(LCMSDataSource<?> source) {
this(source, new ScanCollectionDefault(false));
}
/**
* You can pass you IScanCollection implementation, but you likely won't want to do that.
*/
public LCMSData(LCMSDataSource<?> source, IScanCollection scans) {
if (source == null || scans == null) {
throw new IllegalArgumentException("Both source and scans must be non-null");
}
this.source = source;
this.scans = scans;
this.scans.setDataSource(source);
// usage tracking setup
this.listener = buildRemovalListener();
this.cache = CacheBuilder.newBuilder()
.weakKeys()
.concurrencyLevel(1)
.removalListener(listener)
.build();
}
public LCMSDataSource<?> getSource() {
return source;
}
public IScanCollection getScans() {
return scans;
}
private RemovalListener<Object, Set<LCMSDataSubset>> buildRemovalListener() {
return new RemovalListener<Object, Set<LCMSDataSubset>>() {
@Override
public void onRemoval(RemovalNotification<Object, Set<LCMSDataSubset>> notification) {
if (isReleasingMemory) {
return;
}
Set<LCMSDataSubset> subsets = notification.getValue();
for (LCMSDataSubset subset : subsets) {
unsafeUnload(subset);
}
}
};
}
/**
* Checks among the loaded by all users if this particular subset has already been loaded by
* someone else. <b>Note</b> that if for scan collection you've set a {@link StorageStrategy}
* other than {@link StorageStrategy#STRONG}, this check won't guarantee anything other than the
* scan meta info was loaded. Spectra might have been garbage collected. You can remedy this by
* setting {@link IScanCollection#isAutoloadSpectra(boolean) } true, in which case spectra will be
* automatically loaded, whenever spectrum references are null.
*/
public synchronized boolean isLoaded(LCMSDataSubset subset) {
for (Map.Entry<Object, Set<LCMSDataSubset>> entry : cache.asMap().entrySet()) {
Object user = entry.getKey();
if (user == null) {
// it has already been reclaimed, move on
// this condition should not be triggered though, because we
// have eviction listener, which should run cleanup whenever
// any key in the cache becomes null
continue;
}
Set<LCMSDataSubset> subsets = entry.getValue();
for (LCMSDataSubset subsetInUse : subsets) {
if (subsetInUse.contains(subset)) {
return true;
}
}
}
return false;
}
/**
* Will load scan meta-info and spectra for the specified subset. Will also keep track of loaded
* subsets. If a subset is loaded, then it is considered to be in use by some component until it
* doesn't explicitly call {@link #unload(umich.ms.datatypes.LCMSDataSubset) }.
*/
public synchronized void load(LCMSDataSubset subset) throws FileParsingException {
load(subset, USER_DUMMY);
}
/**
* Will load scan meta-info and spectra for the specified subset. Will also keep track of loaded
* subsets. If a subset is loaded, then it is considered to be in use by some component until it
* doesn't explicitly call {@link #unload(umich.ms.datatypes.LCMSDataSubset) }.
*
* @param user identify yourself somehow, other components might be using this LCMSData as well,
* so if you don't provide that identifier, there is no way to tell, for example, when unloading a
* subset if it's in use by you or someone else. So some other component, might call unload() and
* without the identifier your spectra will be lost.
*/
public synchronized void load(LCMSDataSubset subset, Object user) throws FileParsingException {
if (user == null) {
throw new IllegalArgumentException("User can't be null");
}
// load data, if it's not there yet
if (!isLoaded(subset)) {
scans.loadData(subset, null);
}
// add the subset
Set<LCMSDataSubset> userSubsets = cache.getIfPresent(user);
if (userSubsets == null) {
addNewUser(user);
userSubsets = new HashSet<>(2);
userSubsets.add(subset);
cache.put(user, userSubsets);
} else {
userSubsets.add(subset);
}
}
/**
* Unloads spectra matched by this subset.
*/
public synchronized void unload(LCMSDataSubset subset) {
//System.err.println("=========== UNLOAD (no-user) CALLED ***********************");
unload(subset, USER_DUMMY, null);
}
/**
* Unloads spectra matched by this subset.
*
* @param subset to be unloaded
* @param user the user, that has had this subset loaded. If other users have parts of this subset
* loaded, those parts won't be unloaded.
* @param exclude can be null. If specified, data from these subsets won't be excluded.
*/
public synchronized void unload(LCMSDataSubset subset, Object user, Set<LCMSDataSubset> exclude) {
//System.err.println("=========== UNLOAD (user) CALLED ***********************");
if (!isLoaded(subset)) {
throw new IllegalStateException("LCMSData load/unload methods only"
+ " work for subsets loaded/unloaded using LCMSData API. The"
+ " subset you requested to unload wasn't loaded. If you've"
+ " loaded data into ScanCollection manually, then use"
+ " IScanCollection's API for unloading data manually as"
+ " well.");
}
Set<LCMSDataSubset> userSubsets = cache.getIfPresent(user);
if (userSubsets == null) {
throw new IllegalStateException("The user was not present in cache,"
+ " which means it either has never been there, or has already"
+ " been reclaimed by GC.");
}
if (!userSubsets.contains(subset)) {
throw new IllegalArgumentException("This user has not loaded the subset"
+ " in the first place. The user must load the subset using"
+ " LCMSData API first. Unloading a subset that a user has not"
+ " loaded itself is illegal.");
}
// removing the subset from the user's currently loaded subsets
userSubsets.remove(subset);
// getting subsets loaded by all other users of this LCMSData
ConcurrentMap<Object, Set<LCMSDataSubset>> otherUserMaps = cache.asMap();
HashSet<LCMSDataSubset> otherUsersSubsetsCombined = new HashSet<>();
for (Map.Entry<Object, Set<LCMSDataSubset>> entry : otherUserMaps.entrySet()) {
Object otherUser = entry.getKey();
if (otherUser != user) {
// we need to exclude the user requesting the unloading operation from the
// list of other loaded subsets
Set<LCMSDataSubset> otherUserSubsets = entry.getValue();
otherUsersSubsetsCombined.addAll(otherUserSubsets);
}
}
if (exclude != null) {
otherUsersSubsetsCombined.addAll(exclude);
}
if (otherUsersSubsetsCombined.isEmpty()) {
scans.unloadData(subset);
} else {
scans.unloadData(subset, otherUsersSubsetsCombined);
}
}
/**
* Unloads the subset without checking the user. It's required by our user-tracking automatic
* cleanup, if a user was GCed and it hasn't unloaded its subsets, we detect the GC automatically,
* and unload all the subsets, used by this killed user. It will still check for other users using
* scans from this subset.
*/
private void unsafeUnload(LCMSDataSubset subset) {
//System.err.println("=========== UNLOAD (unsafe) CALLED ***********************");
// getting subsets loaded by all other users of this LCMSData
ConcurrentMap<Object, Set<LCMSDataSubset>> otherUserMaps = cache.asMap();
HashSet<LCMSDataSubset> otherUsersSubsetsCombined = new HashSet<>();
for (Map.Entry<Object, Set<LCMSDataSubset>> entry : otherUserMaps.entrySet()) {
Set<LCMSDataSubset> otherUserSubsets = entry.getValue();
otherUsersSubsetsCombined.addAll(otherUserSubsets);
// for (LCMSDataSubset otherSubset : otherUserSubsets) {
// if (otherSubset != subset) {
// otherUsersSubsetsCombined.add(otherSubset);
// }
// }
}
if (otherUsersSubsetsCombined.isEmpty()) {
scans.unloadData(subset);
} else {
scans.unloadData(subset, otherUsersSubsetsCombined);
}
}
/**
* Releases all memory by calling {@link LCMSDataSource#releaseMemory() } and {@link
* IScanCollection#reset() }. Effectively, you get this object to the same state as it was after
* calling the constructor, however any ScanCollection configurations are preserved (e.g. spectra
* auto-loading) setting.
* <b>IMPORTANT: will clear the registry of loaded subsets without warning!</b>
* It's up to you to make sure you don't call this method while some component is still using the
* data.
*/
public synchronized void releaseMemory() {
isReleasingMemory = true;
userPhantomRefs.clear();
cache.invalidateAll();
scans.reset();
source.releaseMemory();
//loadedSubsets.clear();
isReleasingMemory = false;
}
private User addNewUser(Object user) {
User u = new User(user);
userPhantomRefs.add(u);
return u;
}
/**
* This is a PhantomRef for the object, that requests loading of data, so we could track it being
* garbage collected. If a user hasn't explicitly unloaded its data-region(s) from this LCMSData
* before being garbage collected, we'll notice that using this reference and trigger cleanup.
*/
protected class User extends FinalizablePhantomReference<Object> {
public User(Object referent) {
super(referent, FRQ);
}
@Override
public void finalizeReferent() {
userPhantomRefs.remove(this);
// when some user has been reclaimed - fire up cleaning utilities
LCMSData.this.cache.cleanUp();
}
}
}
|
chhh/MSFTBX
|
MSFileToolbox/src/main/java/umich/ms/datatypes/LCMSData.java
|
Java
|
apache-2.0
| 12,150
|
/**
* Copyright (C) 2006-2013 phloc systems
* http://www.phloc.com
* office[at]phloc[dot]com
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.phloc.commons.mock;
import org.junit.Test;
/**
* Test class for class {@link MockException}.
*
* @author Philip Helger
*/
public final class MockExceptionTest
{
@Test (expected = MockException.class)
public void testEmpty () throws MockException
{
throw new MockException ();
}
@Test (expected = MockException.class)
public void testWithMessage () throws MockException
{
throw new MockException ("msg");
}
@Test (expected = MockException.class)
public void testWithException () throws MockException
{
throw new MockException (new Exception ());
}
@Test (expected = MockException.class)
public void testWithExceptionAndMessage () throws MockException
{
throw new MockException ("msg", new Exception ());
}
}
|
lsimons/phloc-schematron-standalone
|
phloc-commons/src/test/java/com/phloc/commons/mock/MockExceptionTest.java
|
Java
|
apache-2.0
| 1,439
|
/*
* 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 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 distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.rave.portal.web.api.rest;
import org.apache.commons.lang.Validate;
import org.apache.rave.portal.model.RegionWidgetPreference;
import org.apache.rave.portal.service.RegionWidgetService;
import org.apache.rave.portal.web.model.RegionWidgetPreferenceListWrapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import org.apache.rave.portal.model.RegionWidget;
/**
* Handler for all services exposed under the /api/regionWidgets path.
*/
@Controller
@RequestMapping("/api/rest/regionWidgets")
public class RegionWidgetApi extends AbstractRestApi {
private static Logger logger = LoggerFactory.getLogger(RegionWidgetApi.class);
private RegionWidgetService regionWidgetService;
@Autowired
public RegionWidgetApi(RegionWidgetService regionWidgetService) {
this.regionWidgetService = regionWidgetService;
}
@ResponseBody
@RequestMapping(value = "/{regionWidgetId}/preferences", method = RequestMethod.PUT)
public RegionWidgetPreferenceListWrapper replaceAllRegionWidgetPreferences(@PathVariable long regionWidgetId,
@RequestBody RegionWidgetPreferenceListWrapper
regionWidgetPreferenceListWrapper) {
if (logger.isDebugEnabled()) {
logger.debug("PUT received to replace all preferences for regionWidget: " + regionWidgetId + " with data: " +
regionWidgetPreferenceListWrapper);
}
List<RegionWidgetPreference> regionWidgetPreferences = regionWidgetService.saveRegionWidgetPreferences(
regionWidgetId, regionWidgetPreferenceListWrapper.getPreferences());
return new RegionWidgetPreferenceListWrapper(regionWidgetPreferences);
}
@ResponseBody
@RequestMapping(value = "/{regionWidgetId}/preferences/{regionWidgetPreferenceName}", method = RequestMethod.PUT)
public RegionWidgetPreference createOrReplaceRegionWidgetPreference(@PathVariable long regionWidgetId,
@PathVariable String regionWidgetPreferenceName,
@RequestBody RegionWidgetPreference regionWidgetPreference) {
if (logger.isDebugEnabled()) {
logger.debug("PUT received to create or replace preference: " + regionWidgetPreferenceName + " for regionWidget: " +
regionWidgetId + " with data: " + regionWidgetPreference);
}
Validate.isTrue(regionWidgetPreferenceName.equalsIgnoreCase(regionWidgetPreference.getName()),
"The preference name in the URL does not match the preference name in the RegionWidgetPreference object.");
return regionWidgetService.saveRegionWidgetPreference(regionWidgetId, regionWidgetPreference);
}
/**
* REST call to update the collapsed value of a RegionWidget
*
* @param regionWidgetId the ID of the RegionWidget to update
* @param collapsed boolean representing the new collapse state
* @return the updated RegionWidget object
*/
@ResponseBody
@RequestMapping(value = "/{regionWidgetId}/collapsed", method = RequestMethod.PUT)
public RegionWidget updateRegionWidgetCollapsedStatus(@PathVariable long regionWidgetId,
@RequestBody Boolean collapsed) {
if (logger.isDebugEnabled()) {
logger.debug("POST received to update regionWidget " +
regionWidgetId + ": " + collapsed);
}
return regionWidgetService.saveRegionWidgetCollapsedState(regionWidgetId, collapsed);
}
}
|
machak/rave
|
rave-components/rave-web/src/main/java/org/apache/rave/portal/web/api/rest/RegionWidgetApi.java
|
Java
|
apache-2.0
| 4,904
|
/*
* Created by SharpDevelop.
* User: Andrei Mejov <andrei.mejov@gmail.com>
* Date: 13.01.2010
* Time: 21:35
*
*/
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Xml;
using System.IO;
namespace OneCService2
{
public class ServiceConfig : ConfigurationSection
{
[ConfigurationProperty("Port")]
public int Port
{
get{return (int)this["Port"];}
set{this["Port"] = value; }
}
[ConfigurationProperty("Host")]
public string Host
{
get{return (string)this["Host"];}
set{this["Host"] = value; }
}
}
public class Connection
{
private Dictionary<string, string> parameters = new Dictionary<string, string>();
public Dictionary<string, string> Parameters
{
get {return parameters;}
}
}
public class Connections : IConfigurationSectionHandler
{
public object Create(
object _parent,
object _configContext,
XmlNode _section
)
{
Dictionary<string, Connection> connections = new Dictionary<string, Connection>();
XmlNodeList nodes = _section.SelectNodes("Connection");
foreach (XmlNode node in nodes)
{
Connection connection = new Connection();
foreach (XmlAttribute attr in node.Attributes)
{
connection.Parameters.Add(attr.Name, attr.Value);
}
CheckConnection(connection.Parameters);
connections.Add(connection.Parameters["Name"], connection);
}
return connections;
}
// throw Exceptions if there is not correct params
// add support for ralaitive part and
// TODO check the COM.Connector params definitions
private void CheckConnection(Dictionary<string, string> _parameters)
{
if (!_parameters.ContainsKey("Name"))
{
throw new Exception("Connection must contain attribute Name");
}
if (_parameters.ContainsKey("File"))
{
string _tempCurentDirectory = System.IO.Directory.GetCurrentDirectory();
System.IO.Directory.SetCurrentDirectory(OneCService2.GetBinPath());
DirectoryInfo _connectionDir = new DirectoryInfo(_parameters["File"]);
System.IO.Directory.SetCurrentDirectory(_tempCurentDirectory);
if (!_connectionDir.Exists)
{
throw new Exception("Directory "+_connectionDir.FullName+" does not exist");
}
_parameters["File"] = _connectionDir.FullName; // поддержка относительных путей
}
}
}
public class Config
{
private static ServiceConfig serviceConfig = null;
private static Dictionary<string, Connection> connections = null;
public static ServiceConfig ServiceConfig
{
get
{
if (serviceConfig == null)
{
serviceConfig = (ServiceConfig)ConfigurationSettings.GetConfig("ServiceConfig");
}
return serviceConfig;
}
}
public static Dictionary<string, Connection> Connections
{
get
{
if (connections == null)
{
connections = (Dictionary<string, Connection>)ConfigurationSettings.GetConfig("Connections");
}
return connections;
}
}
}
}
|
allustin/one-c-connectors
|
Projects/OneCService2/OneCService2/Config.cs
|
C#
|
apache-2.0
| 3,432
|
---
copyright:
years: 2015, 2016
lastupdated: "2016-10-22"
---
{:new_window: target="_blank"}
{:shortdesc: .shortdesc}
# Kundenunterstützung abrufen
{: #getting-customer-support}
Wenn Probleme mit {{site.data.keyword.Bluemix}} auftreten, stehen Ihnen unterschiedliche Unterstützungsoptionen zur Verfügung, z. B. das Anfordern von Hilfe über ein Forum oder das Öffnen eines Support-Tickets.
{:shortdesc}
## Hilfe anfordern
{: #getting-help}
Um ein Support-Ticket zu öffnen oder andere Hilfeoptionen zu finden, können Sie das Widget 'Support' verwenden. Sie können auch direkt an die Foren von Stack Overflow oder developerWorks (dW) Answers posten oder dort nach Informationen suchen. Wenn Sie ein Konto verwenden, das zwischen {{site.data.keyword.Bluemix_notm}} und {{site.data.keyword.BluSoftlayer}} verknüpft ist, lesen Sie die Informationen in den Abschnitten [Widget 'Support' für verknüpfte Konten verwenden](#using-avatar-linked) und [Support-Ticket für verknüpfte Konten verwenden](#open-ticket-linked).
{:shortdesc}
### Widget 'Support' verwenden
{: #using-avatar}
Das Widget 'Support' ermöglicht Ihnen das Anfordern von Hilfe und das Geben von Feedback.
Um das Widget 'Support' zu öffnen, melden Sie sich bei der {{site.data.keyword.Bluemix_notm}}-Konsole an. Klicken Sie in der Menüleiste auf **Support** > **Hilfe anfordern**, um nach Antworten auf Ihre Fragen zu suchen. Geben Sie auf der angezeigten Seite im Suchfeld Ihre Frage ein. Es werden Antworten aus der gesamten {{site.data.keyword.Bluemix_notm}}-Dokumentation und aus Stack Overflow angezeigt. Auf dieser Seite sind auch Optionen zum Posten von Fragen an Stack Overflow oder zum Öffnen einen Tickets durch Klicken auf die Option **Kontakt aufnehmen** enthalten.
### Widget 'Support' für verknüpfte Konten verwenden
{: #using-avatar-linked}
Wenn Sie ein Konto verwenden, das zwischen {{site.data.keyword.Bluemix_notm}} und {{site.data.keyword.BluSoftlayer}} verknüpft ist, unterscheidet sich das Widget 'Support' etwas. Melden Sie sich bei der Bluemix-Konsole an und klicken Sie in der Menüleiste auf den Link **Support**, um das Widget 'Support' zu öffnen, und wählen Sie dann **Ticket hinzufügen** > **Antworten suchen** aus. Folgende Optionen stehen Ihnen zur Verfügung:
* Sie können Bluemix-Dokumente, Stack Overflow und dW Answers durchsuchen, indem Sie einen Filter setzen, um in den Suchergebnissen nur die gesuchten Elemente zu erhalten.
* Sie können Verknüpfungen direkt zu Stack Overflow **#IBMBluemix** oder dW Answers erstellen, um Antworten zu suchen oder Fragen zu posten.
* Sie können eine Idee an IBM User Voice einreichen.
* Sie können den Vertrieb entweder telefonisch oder über die Suche nach einem Vertriebsbeauftragten oder durch Verknüpfung zum Formular 'Vertriebsbeauftragten finden' erreichen.
* Sie können eine Verbindung zu **@IBMBluemixHelp** auf Twitter herstellen, um Ihre Bluemix-Erfahrung zu verbessern.
### Konto-Menüelemente verwenden
{: #using-accountmenu}
Sie können die Konto-Menüelemente zum Überprüfen der Kontoinformationen, zur Anzeige des Status, zum Einsehen von aktuellen Benachrichtigungen, Auswählen Ihrer Region, Wählen und Verwalten von Organisationen und zur Abmeldung verwenden.
### Fragen stellen
{: #asking-a-question}
Die Foren Stack Overflow und dW Answers bieten beide eine breite Palette durchsuchbarer Antworten für Ihre Fragen zu Bluemix. Wenn Sie keine Antwort vorfinden, stellen Sie eine neue Frage.
* Wechseln Sie zu [Stack Overflow](http://stackoverflow.com/questions/tagged/ibm-bluemix){: new_window}, um technische Fragen zu Entwicklungs-Apps auf der Bluemix-Plattform und zu Services zu stellen.
* Wechseln Sie zu [dW Answers](https://developer.ibm.com/answers/smart-spaces/12/bluemix.html){: new_window}, um Fragen zu {{site.data.keyword.Bluemix_notm}}-Angeboten zu stellen und um einführende Anweisungen zu erhalten.
Sie können eine Frage in Stack Overflow auch direkt vom Widget 'Support' aus stellen, indem Sie die folgenden Schritte ausführen:
1. Klicken Sie im Widget 'Support' auf **Hilfe anfordern**.
2. Geben Sie auf der angezeigten Seite im Suchfeld Ihre Frage ein, um nach Antworten darauf zu suchen.
3. Wird die erwartete Antwort nicht zurückgegeben, klicken Sie auf **An Stack Overflow posten**, um Ihr Problem zu posten.
Die {{site.data.keyword.Bluemix_notm}}-Entwicklungs- und Support-Teams überwachen Stack Overflow und dW Answers aktiv und verfolgen die Fragen, die mit der Kennung **bluemix** versehen sind. Wenn Sie eine Frage in einem der Foren stellen, fügen Sie die Kennung **bluemix** zu Ihrer Frage hinzu, um sicherzustellen, dass sie von den {{site.data.keyword.Bluemix_notm}}-Entwicklungs- und Support-Teams wahrgenommen wird.
## {{site.data.keyword.Bluemix_notm}}-Status anzeigen
{: #viewing-bluemix-status}
Die Seite 'Status' in {{site.data.keyword.Bluemix_notm}} ist der zentrale Ort zum Suchen nach Benachrichtigungen und Ankündigungen in Bezug auf bedeutende Ereignisse, die die {{site.data.keyword.Bluemix_notm}}-Plattform und die übergeordneten Services in {{site.data.keyword.Bluemix_notm}} betreffen.
Auf der Seite 'Status' sind die folgenden Informationen zu finden:
* Der aktuelle Status von Services und Komponenten in allen {{site.data.keyword.Bluemix_notm}}-Regionen.
* Eine Liste mit Ankündigungen in chronologischer Reihenfolge zu Wartungszwecken und zur Behebung von Vorfällen. Für weitere Details können Sie die Liste filtern oder eine einzelne Ankündigung öffnen.
* Geplante Wartungszeiten, die mindestens 24 Stunden im Voraus angekündigt werden, außer in extremen Situationen.
* Ungeplante Vorfälle oder Ausfallzeiten, die mitgeteilt werden, sobald das {{site.data.keyword.Bluemix_notm}}-Team diese bemerkt. Benachrichtigungen zu Vorfällen werden regelmäßig aktualisiert, bis die Probleme behoben sind.
* Referenzen auf Sicherheitsbulletins, die die verschiedenen {{site.data.keyword.Bluemix_notm}}-Services oder die Plattform betreffen.
* Weitere plattformweite Ankündigungen allgemeiner Art, die Sie interessieren könnten.
* Ein RSS-Feed, den Sie abonnieren können.
Die Seite 'Status' wird angezeigt, wenn Sie eine der beiden folgenden Optionen auswählen:
* Melden Sie sich bei der {{site.data.keyword.Bluemix_notm}}-Konsole an. Klicken Sie in der Menüleiste auf **Support** und anschließend auf **Status**. Prüfen Sie die aufgelisteten Ressourcen auf das Symbol . Dieses Symbol könnte auf einen Ausfall hinweisen.
* Greifen Sie direkt über [IBM {{site.data.keyword.Bluemix_notm}} - System Status](http://ibm.biz/bluemixstatus){: new_window} zu.
### RSS-Feed abonnieren
{: #subscribing-rss-feed}
Durch ein Abonnement des RSS-Feeds für die {{site.data.keyword.Bluemix_notm}}-Seite 'Status' können Sie Alerts über Benachrichtigungen empfangen. Auf diese Weise haben Sie die Möglichkeit, Updates ohne regelmäßiges Besuchen der Statusseite zu erhalten.
Führen Sie die folgenden Schritte durch, um einen RSS-Feed zu abonnieren:
1. Laden Sie einen RSS-Reader herunter und installieren Sie ihn.
2. Verwenden Sie Ihren Reader, um den Feed über eine der folgenden Methoden zu abonnieren:
* Ziehen Sie das RSS-Symbol  in den RSS-Reader.
* Klicken Sie mit der rechten Maustaste auf das RSS-Symbol, wählen Sie die Option zum Kopieren der Linkadresse aus und fügen Sie die URL in Ihren RSS-Reader ein.
Im Abschnitt **Hilfe** Ihre Readers finden Sie weitere Informationen.
Weitere Methoden zum Lesen von RSS-Feeds stehen über Web-Browser-Plug-ins zur Verfügung. Beispiele:
* [RSS-Feed-](http://feeder.co/){: new_window}-Reader für Chrome
* [Brief](https://addons.mozilla.org/en-US/firefox/addon/brief/){: new_window}-Add-on für Firefox
Neue Quellen wie die folgenden bieten ebenfalls Möglichkeiten zum Lesen von RSS-Feeds:
* [Feedly](http://www.feedly.com/){: new_window}
* [G2reader](http://www.g2reader.com/en/){: new_window}
Sie können auch einen Drittanbieterservice nutzen, damit automatisch eine E-Mail für die einzelnen RSS-Updates gesendet wird. In der folgenden Liste sind einige Beispiele für Drittanbieterservices aufgeführt:
* www.feedmyinbox.com
* www.rssforward.com
* www.feedrabbit.com
* www.mailchimp.com
* www.feedmailer.com
* www.iftt.com
Für {{site.data.keyword.Bluemix_notm}} gibt es standardmäßig ungefähr 50 Updates pro Monat.
### E-Mail-Benachrichtigungen zu Vorfällen und Wartungsmaßnahmen einrichten
{: #setting-up-notifications}
Bei {{site.data.keyword.Bluemix_notm}} Public können Sie sich für Plattformbenachrichtigungen anmelden. Plattformbenachrichtigungen sind optionale E-Mail-Alerts für Vorfall- und Wartungsereignisse für die {{site.data.keyword.Bluemix_notm}}-Plattform. Sie können den Empfang solcher E-Mail-Benachrichtigungen auswählen, indem Sie auf das Menüelement **Konto** und auf die Optionen > **Benachrichtigungen** > **Plattform** klicken. Weitere Informationen zum Einrichten von Kontobenachrichtigungen finden Sie in [Benachrichtigungen einstellen](/docs/admin/account.html#notifications).
### Bewährte Verfahren für die Statusüberwachung
{: #best-practices}
* Prüfen, ob Wartungszeiten bevorstehen
Prüfen Sie mindestens einmal alle 24 Stunden, ob Wartungszeiten bevorstehen, die auf der Statusseite veröffentlicht werden; verwenden Sie hierfür eine der folgenden Optionen:
* Direktes Navigieren zur Seite [Status](http://ibm.biz/bluemixstatus){: new_window}.
* Verwenden des RSS-Feeds oder eines Weiterleitungsservers, der RSS-Feeds an eine E-Mail-Adresse weiterleitet
* Prüfen, ob derzeit Wartungszeiten existieren oder ob es einen Vorfall gibt
Wenn Sie vermuten, dass {{site.data.keyword.Bluemix_notm}} nicht wie erwartet funktioniert, überprüfen Sie die Seite 'Status' auf aktuelle Wartungszeiten oder ein aktueller Vorfall hin. Wenn Sie einen Vorfall melden möchten, der noch nicht auf der Seite 'Status' aufgeführt ist, öffnen Sie ein Support-Ticket über das Menüelement **Support** in der Menüleiste oder über die Hilfetextseite [IBM Bluemix-Support](https://support.eu-gb.bluemix.net/gethelp/){: new_window}.
* Nutzen der Vorteile mehrerer {{site.data.keyword.Bluemix_notm}}-Regionen
Alle Benutzer von {{site.data.keyword.Bluemix_notm}} Public haben automatisch Zugriff auf die Regionen US-SOUTH, EU-GB und AU-SYD:
* US-SOUTH: https://console.ng.bluemix.net
* EU-GB: https://console.eu-gb.bluemix.net
* AU-SYD: https://console.au-syd.bluemix.net
Das {{site.data.keyword.Bluemix_notm}} Global Operations-Team verwaltet alle Regionen, um Auswirkungen von Instandhaltungsmaßnahmen zu verhindern und um das Risiko von Zwischenfällen zu minimieren, die sich auf alle Regionen gleichzeitig auswirken.
* Auf kleinere Unterbrechungen vorbereitet sein
In den meisten Fällen kann {{site.data.keyword.Bluemix_notm}} normal weiterverwendet werden, auch während der Wartungszeit. Allerdings können kleinere Unterbrechungen eines Service nicht immer vermieden werden. Aktive Anwendungen bleiben standardmäßig verfügbar, auch wenn die Anwendungsmanagementfunktionen von {{site.data.keyword.Bluemix_notm}} wie das Starten und Stoppen von Apps vorübergehend unterbrochen sind. Um die Verfügbarkeit Ihrer aktiven Anwendungen zu maximieren, führen Sie mindestens drei Instanzen jeder Anwendung aus.
## Support kontaktieren
{: #contacting-support}
Zum Öffnen von Support-Tickets gibt es eine Reihe von Optionen, sofern Sie über ein gültiges {{site.data.keyword.Bluemix_notm}}-Konto verfügen. [Support-Ticket öffnen](#open-ticket).
Wenn Sie über ein {{site.data.keyword.Bluemix_notm}}-Konto verfügen, das mit einem {{site.data.keyword.BluSoftlayer_full}}-Konto verknüpft ist, können Sie Support-Tickets {{site.data.keyword.Bluemix_notm}} über das {{site.data.keyword.BluSoftlayer}}-Kundenportal oder über die {{site.data.keyword.Bluemix_notm}}-Konsole öffnen, indem Sie das Widget 'Support' verwenden. Siehe dazu den Abschnitt [Support-Ticket für verknüpfte Konten verwenden](#open-ticket-linked).
### Kontaktaufnahme mit dem Support für {{site.data.keyword.Bluemix_notm}} Public
{: #contacting-bluemix-support}
Alle {{site.data.keyword.Bluemix_notm}}-Kunden erhalten kostenlose technische Unterstützung in der Bluemix-Community oder über Stack Overflow. Darüber hinaus werden entsprechend den Kundenanforderungen verschiedene Supportstufen angeboten. Informationen zu den Merkmalen der Supportstufen 'Free', 'Basic', 'Standard' und 'Premium' finden Sie in der folgenden Tabelle.
Stufen | Free | Basic | Standard | Premium
--- | --- | --- | --- | --- |
Beschreibung | Support für alle Bluemix-Testkunden. | Support für Nicht-Produktionsumgebungen oder -Workloads, für die keine konventionellen Prioritäten und Reaktionszeiten benötigt werden. | Support für Umgebungen mit einer begrenzten Anzahl geschäftskritischer Anwendungen. Kunden mit {{site.data.keyword.Bluemix_notm}} Dedicated und {{site.data.keyword.Bluemix_notm}} Local erhalten den Standard-Support. | Support für geschäftskritische Umgebungen mit strategischer Abhängigkeit von {{site.data.keyword.Bluemix_notm}}.
Support mit hoher Priorität | Nicht zutreffend | Nicht zutreffend | Inbegriffen | Inbegriffene
Support-Sprache | Englisch | Englisch | Englisch | Englisch
Zugeordneter Client Success Manager (CSM) | Nicht inbegriffen | Nicht inbegriffen | Nicht inbegriffen | Inbegriffen für<br> 8 Stunden pro Woche
{: caption="Table 1. Support levels" caption-side="top"}
### Support-Ticket öffnen
{: #open-ticket}
Wenn Sie Ihr technisches Problem nicht mithilfe der Fehlerbehebungs- und Hilfeoptionen lösen können, können Sie Unterstützung anfordern. Stellen Sie vor der Anforderung von Unterstützung für ein technisches Problem jedoch durch Prüfen des {{site.data.keyword.Bluemix_notm}}-Status sicher, dass das Problem nicht auf einen Ausfall zurückzuführen ist.
Wenn das Problem nicht auf einen Ausfall zurückzuführen ist, öffnen Sie ein Support-Ticket mit einer der folgenden Optionen:
* Klicken Sie im Widget 'Support' auf **Hilfe anfordern**. Klicken Sie auf der angezeigten Seite auf **Kontakt aufnehmen**. Füllen Sie das Formular aus und geben Sie an, wofür genau Sie Unterstützung benötigen.
* Verwenden Sie die Hilfetextseite [IBM {{site.data.keyword.Bluemix_notm}}-Support](http://ibm.biz/bluemixsupport){: new_window}. Sie können Tickets für Probleme bei Vertrieb, Abrechnung, IBM ID und Anmeldung sowie für technische Unterstützung einreichen. Um technische Unterstützung zu erhalten, können Sie außerdem nach dem Klicken auf **Technical Support** eine technische Gruppe auswählen. Wenn Sie zum Beispiel Hilfe für Cloud Foundry-Apps, OpenWhisk, Container, virtuelle Server oder Bare-Metal-Server benötigen, können Sie **Application Services** auswählen. Wenn Sie Hilfe für einen bestimmten Service benötigen, wählen Sie die entsprechende Kategorie des Service aus. Zum Ermitteln der Kategorie, zu der Ihr Service gehört, finden Sie Kategorien unter [Services](/docs/services/index.html){: new_window} im Navigationsbereich.
* Gehen Sie in [IBM Client Success Portal](https://support.ibmcloud.com){: new_window} wie folgt vor: Klicken Sie nach der Anmeldung bei dem Portal auf **Ticket öffnen** und füllen Sie das Support-Formular aus.
Stellen Sie beim Öffnen eines Support-Tickets sicher, dass Sie eine geeignete Priorität für das Ticket angeben. Die Priorität bestimmt, wie Ihr Ticket bearbeitet wird. Informationen zu den verschiedenen Prioritätsstufen finden Sie unter [Support-Ticket - Priorität und Reaktionszeit](index.html#support-ticket-severity){: new_window}. Wenn Ihre Anforderung dringend ist, Sie jedoch nur für die Supportstufe 'Free' oder 'Basic' berechtigt sind, können Sie Ihr Konto aktualisieren, um Tickets mit hoher Priorität (Stufe 1, 2 oder 3) einzureichen. Zum Aktualisieren Ihres Kontos auf eine höhere Supportstufe wenden Sie sich per E-Mail an Ihren IBM Vertriebsbeauftragten (sales@bluemix.net).
### Support-Ticket für verknüpfte Konten verwenden
{: #open-ticket-linked}
Wenn Sie ein Konto verwenden, das zwischen {{site.data.keyword.Bluemix_notm}} und {{site.data.keyword.BluSoftlayer}} verknüpft ist, können Sie ein Support-Ticket über die {{site.data.keyword.Bluemix_notm}}-Konsole öffnen, indem Sie das Widget 'Support' verwenden.
Um ein {{site.data.keyword.Bluemix_notm}}-Support-Ticket für ein verknüpftes Konto zu öffnen, klicken Sie in der Menüleiste auf **Support**, um das Widget 'Support' zu öffnen, und wählen Sie **Ticket hinzufügen** aus. Wählen Sie im Ticket-Formular für den Ticket-Typ **Technical** aus und füllen Sie das Formular aus, wobei Sie angeben, wofür genau Sie technische Unterstützung benötigen. Wenn Sie über Premium Level Support verfügen, wählen Sie die Prioritätsstufe für Ihr Problem aus. Innerhalb weniger Minuten erhalten Sie eine E-Mail-Benachrichtigung für das Ticket. Befolgen Sie die Anweisungen in der E-Mail, um weitere Informationen zum Problem anzugeben und zu erhalten.
### Status des Support-Tickets prüfen
{: #check-ticket-status}
Jedem Support-Ticket wird zu Referenzzwecken eine eindeutige Ticketnummer zugewiesen. Anhand der Ticketnummer können Sie den Fortschritt Ihres Support-Tickets überprüfen und das Support-Ticket in [IBM Client Success Portal](https://support.ibmcloud.com){: new_window} aktualisieren. Aktualisierungen und Antworten werden per E-Mail an Sie übermittelt und in den Ticket-Benachrichtigungen aufgezeichnet.
### Kontaktaufnahme mit dem Support für {{site.data.keyword.Bluemix_notm}} Dedicated
{: #contacting-bluemix-support-dedicated}
<!-- Michelle links to this anchor -->
Wenn Sie Benutzer von {{site.data.keyword.Bluemix_notm}} Dedicated sind, erhalten Sie Support vom IBM {{site.data.keyword.Bluemix_notm}}-Support-Team. Je nachdem, ob Sie über eine IBM ID verfügen, können Sie für die Anforderung von Support aus einer Reihe von Optionen auswählen.
<ul>
<li>Kontaktieren Sie den Support, indem Sie ein neues Ticket über die Hilfetextseite <a href="http://ibm.biz/bluemixsupport" target="_blank">IBM {{site.data.keyword.Bluemix_notm}}-Support</a> öffnen. Sie können eine E-Mail-Adresse oder Ihre IBM ID für dieses Formular verwenden. Wählen Sie die Option **{{site.data.keyword.Bluemix_notm}} Dedicated** (Dediziert) für das Feld 'Region' aus.
<p>Formularübergaben werden von Sonntag 22:00 (UTC) bis Freitag 23:59 Uhr (UTC) überwacht.</p>
</li>
<li>Wenn Sie über eine IBM ID verfügen und Zugriff auf die {{site.data.keyword.Bluemix_notm}} Public-Umgebung haben, klicken Sie auf das Symbol {{site.data.keyword.avatar}} <img src="images/account_support.svg" alt="Avatarsymbol" /> in der Menüleiste und anschließend auf **Hilfe anfordern**. Klicken Sie auf der angezeigten Seite auf **Kontakt aufnehmen**.</li>
<li>Wenn Sie keine IBM ID haben, können Sie sich an eine Person in Ihrer Organisation mit einer solchen ID wenden oder mit Ihrem IBM Ansprechpartner zusammenarbeiten.
<p>**Hinweis**: Auf Anforderung kann eine Liste der Benutzer in Ihrer Organisation, die als Kontaktpersonen für Support-Tickets fungieren, auf der Seite **Support** der {{site.data.keyword.Bluemix_notm}}-Konsole in Ihrer Dedicated-Umgebung angezeigt werden.</p></li>
</ul>
### Kontaktaufnahme mit dem Support für {{site.data.keyword.Bluemix_notm}} Local
{: #contacting-bluemix-support-local}
<!-- Michelle links to this anchor -->
Wenn Sie Benutzer von {{site.data.keyword.Bluemix_notm}} Local sind, erhalten Sie Support vom {{site.data.keyword.Bluemix_notm}}-Support-Team. Auch wenn Sie möglicherweise keine IBM ID haben, stehen Ihnen jedoch einige verschiedene Optionen zum Abrufen der Unterstützung zur Verfügung.
<ul>
<li>Kontaktieren Sie den Support, indem Sie ein neues Ticket über die Hilfetextseite <a href="http://ibm.biz/bluemixsupport" target="_blank">IBM {{site.data.keyword.Bluemix_notm}}-Support</a> öffnen. Sie können eine E-Mail-Adresse oder Ihre IBM ID für dieses Formular verwenden. Wählen Sie die Option **{{site.data.keyword.Bluemix_notm}} Local** (Lokal) für das Feld 'Region' aus.
<p>Formularübergaben werden von Sonntag 22:00 (UTC) bis Freitag 23:59 Uhr (UTC) überwacht.</p>
</li>
<li>Wenn Sie über eine IBM ID verfügen und Zugriff auf die {{site.data.keyword.Bluemix_notm}} Public-Umgebung haben, klicken Sie auf das Menüleistenelement **Support** und anschließend auf **Hilfe anfordern**. Klicken Sie auf der angezeigten Seite auf **Kontakt aufnehmen**.</li>
<li>Wenn Sie keine IBM ID haben, können Sie sich an eine Person in Ihrer Organisation mit einer solchen ID wenden oder mit Ihrem IBM Ansprechpartner zusammenarbeiten.
<p>**Hinweis**: Auf Anforderung kann eine Liste der Benutzer in Ihrer Organisation, die als Kontaktpersonen für Support-Tickets fungieren, auf der Seite **Support** der {{site.data.keyword.Bluemix_notm}}-Konsole in Ihrer Local-Umgebung angezeigt werden.</p></li>
</ul>
### Support-Ticket - Priorität und Reaktionszeit
{: #support-ticket-severity}
Wenn Sie Kontakt mit dem Support aufnehmen, können Sie eine bestimmte Prioritätsstufe abhängig vom Typ und von der Dringlichkeit des Problems anfordern. Die Prioritätsstufe kann sich darauf auswirken, wie schnell Ihr Problem bearbeitet wird.
In der folgenden Tabelle sind einige allgemeine Beispiele für Supportfälle mit vorgeschlagenen Prioritätsstufen und den zugehörigen angestrebten Reaktionszeiten aufgeführt. Die angestrebten Reaktionszeiten geben lediglich die Ziele von IBM wieder und stellen keine Leistungsgarantie dar.
**Betriebszeiten:** Sonntag 22:00 Uhr (GMT) – Freitag 23:59 Uhr (GMT) (ausgenommen offizielle Feiertage in USA, Italien und Australien). Weitere Informationen zum Feiertagsplan finden Sie in [Bluemix Support Holidays](http://ibm.biz/bluemixholidays){: new_window}.
Priorität | Prioritätsdefinition | Angestrebte Reaktionszeiten | Abgedeckte Reaktionszeiten
------|-------- | --- | --- |
Priorität 1 | <strong>Kritischer Einfluss auf die Geschäftsabläufe oder Serviceausfall.</strong> <br> Geschäftskritische Funktionen nicht betriebsbereit oder kritische Schnittstelle ausgefallen. Diese Prioritätsstufe gilt in der Regel für eine Produktionsumgebung und zeigt an, dass nicht erreichbare Services kritische Auswirkungen für Betriebsabläufe haben. Für diesen Zustand ist eine sofortige Lösung erforderlich. | <ul><li><strong>Free:</strong> Nicht zutreffend</li><li><strong>Basic:</strong> Nicht zutreffend</li><li><strong>Standard:</strong> Innerhalb einer Stunde</li><li><strong>Premium:</strong> Innerhalb einer Stunde</li></ul> | <ul><li><strong>Free:</strong> Nicht zutreffend</li><li><strong>Basic:</strong> Nicht zutreffend</li><li><strong>Standard:</strong> 24x7</li><li><strong>Premium:</strong> 24x7</li></ul>
Priorität 2 | <strong>Signifikanter Einfluss auf die Geschäftsabläufe.</strong> <br> Die Verwendung eines Servicefeature oder einer Funktion ist sehr stark eingeschränkt oder die Einhaltung von Geschäftsterminen ist gefährdet. | <ul><li><strong>Free:</strong> Nicht zutreffend</li><li><strong>Basic:</strong> Nicht zutreffend </li><li><strong>Standard:</strong> Innerhalb von 2 Stunden</li><li><strong>Premium:</strong> Innerhalb von 90 Minuten </li></ul> | <ul><li><strong>Free:</strong> Nicht zutreffend</li><li><strong>Basic:</strong> Nicht zutreffend </li><li><strong>Standard:</strong> Betriebszeiten </li><li><strong>Premium:</strong> Betriebszeiten </li></ul>
Priorität 3 | <strong>Geringfügiger Einfluss auf die Geschäftsabläufe.</strong> <br> Ein Servicefeature oder eine Funktion ist verwendbar, aber die Verwendbarkeit ist durch Probleme eingeschränkt. Es werden keine kritischen Auswirkungen auf Betriebsoperationen verursacht. | <ul><li><strong>Free:</strong> Nicht zutreffend</li><li><strong>Basic:</strong> Nicht zutreffend </li><li><strong>Standard:</strong> Innerhalb von 4 Stunden</li><li><strong>Premium:</strong> Innerhalb von 2 Stunden</li></ul> | <ul><li><strong>Free:</strong> Nicht zutreffend</li><li><strong>Basic:</strong> Nicht zutreffend </li><li><strong>Standard:</strong> Betriebszeiten </li><li><strong>Premium:</strong> Betriebszeiten </li></ul>
Priorität 4 | <strong>Minimaler Einfluss auf die Geschäftsabläufe.</strong> <br> Eine Anfrage oder eine Anforderung nicht technischer Art. | <ul><li><strong>Free:</strong> Bestmöglich </li><li><strong>Basic:</strong> Bestmöglich</li><li><strong>Standard:</strong> Innerhalb von 8 Stunden</li><li><strong>Premium:</strong> Innerhalb von 4 Stunden</li></ul> | <ul><li><strong>Free:</strong> Betriebszeiten </li><li><strong>Basic:</strong> Betriebszeiten </li><li><strong>Standard:</strong> Betriebszeiten </li><li><strong>Premium:</strong> Betriebszeiten </li></ul>
{: caption="Table 2. Severity definition and response time" caption-side="top"}
### Potenzielle Sicherheitslücke melden
{: #report-security-vulnerability}
Wenn Sie vermuten, dass eine potenziell Sicherheitslücke vorliegt, melden Sie das Vorkommnis an Bluemix, indem Sie ein Support-Ticket öffnen.
Führen Sie die folgenden Schritte aus, um eine potenzielle Sicherheitslücke zu melden:
1. Öffnen Sie ein Ticket mit der Prioritätsstufe 1 oder ein Ticket mit der höchsten zulässigen Support-Priorität. Informationen zum Öffnen eines Tickets finden Sie in [Support-Ticket öffnen](#open-ticket){: new_window}.
2. Beschreiben Sie in der Ticket-Zusammenfassung deutlich, dass es um ein potenzielle Sicherheitslücke geht.
2. Stellen Sie in den Details für die potenzielle Sicherheitslücke eines der folgenden Elemente bereit:
* Eine Telefonnummer, unter der Sie für Rückfragen erreichbar sind.
* Problemdetails. Verschlüsseln Sie die Details als Textblock im Hauptteil des Tickets und geben Sie an, auf welchem sicheren Kommunikationsweg der IBM Support die Entschlüsselungsanweisungen bei Ihnen anfordern kann.
### Support-Ticket eskalieren
{: #escalation}
Wenn Sie auf ein Support-Ticket der Prioritätsstufe 'Standard' oder 'Premium' keine zeitgerechte Reaktion erhalten oder wenn Sie den Eindruck haben, dass Ihr Support-Ticket nicht angemessen bearbeitet wird, können Sie das Support-Ticket eskalieren. Durch den Eskalationsprozess für das Support-Ticket prüft das IBM Management Ihre Problematik erneut und arbeitet mit Ihnen zusammen, um die Supporterfahrung zu verbessern.
Führen Sie die folgenden Schritte aus, um einen Eskalationsprozess anzufordern:
1. Öffnen Sie ein neues Support-Ticket mit dem Stichwort **Escalation Request** (Eskalationsanforderung).
2. Geben Sie die folgenden Informationen im Hauptteil des Tickets an, um sicherzustellen, dass Ihre Eskalationsanforderung mit dem ursprünglichen Support-Ticket abgeglichen werden kann:
* Die Ticketnummer Ihres geöffneten Support-Tickets, das eine Eskalation erfordert.
* Eine kurze Zusammenfassung der Gründe, aus denen die Eskalation erforderlich ist.
## Diagnoseinformationen erfassen
{: #collecting-diagnostic-information}
Beim Diagnostizieren und Beheben von Problemen mit {{site.data.keyword.Bluemix_notm}}-Anwendungen und -Services kann es vorkommen, dass Sie vom {{site.data.keyword.Bluemix_notm}}-Support-Team aufgefordert werden, Diagnoseinformationen zu erfassen.
Führen Sie die folgenden Schritte aus, bevor Sie Diagnoseinformationen erfassen:
1. Stellen Sie sicher, dass die neueste cf-Befehlszeilenschnittstelle installiert ist. Weitere Informationen finden Sie unter [Befehlszeilenschnittstelle 'cf' installieren](/docs/starters/install_cli.html){: new_window}.
**Hinweis:** Wenn die neueste cf-Befehlszeilenschnittstelle nicht installiert ist, nachdem die cf-Befehlszeile mit {{site.data.keyword.Bluemix_notm}} verbunden ist, kann es vorkommen, dass bei Ausführung des Befehls `cf logs` keine Ausgabe zurückgegeben wird.
2. Stellen Sie sicher, dass die cf-Befehlszeilenschnittstelle mit dem System verbunden ist, auf dem {{site.data.keyword.Bluemix_notm}} ausgeführt wird; führen Sie hierzu den Befehl `cf api` aus.
3. Stellen Sie sicher, dass alle Voraussetzungen in [{{site.data.keyword.Bluemix_notm}} - Voraussetzungen](https://developer.ibm.com/bluemix/support/#prereqs){: new_window} erfüllt sind.
Verwenden Sie die folgenden Scripts zum Erfassen der Diagnoseinformationen:
* Windows-Betriebssysteme: Laden Sie die Datei [bmdiag-general.bat](http://bluemix-mustgather.mybluemix.net/mustgather/general/bmdiag-general.bat){: new_window} herunter und führen Sie sie aus.
* Linux- und Mac-Betriebssysteme: Laden Sie die Datei [bmdiag-general.sh](http://bluemix-mustgather.mybluemix.net/mustgather/general/bmdiag-general.sh){: new_window} herunter und führen Sie sie aus.
Von den Scripts wird die cf-Befehlszeilenschnittstelle zum Extrahieren der folgenden Informationen aus der Anwendungsumgebung verwendet:
* Anwendungsprotokolle
* Anwendungsmetadaten
* Konfigurierte Routen
* Ereignisse
* Bereitgestellte Services
## Unterstützung landessprachlicher Versionen für {{site.data.keyword.Bluemix_notm}}
{: #lang}
{{site.data.keyword.Bluemix_notm}}
unterstützt neben Englisch noch weitere Landessprachen. Es sind jedoch nicht alle Inhalte übersetzt, die mit
{{site.data.keyword.Bluemix_notm}} bereitgestellt werden.
In der folgenden Tabelle sind die unterstützten Landessprachen und die Sprachencodes für
{{site.data.keyword.Bluemix_notm}} aufgelistet.
| **Landessprache** | **Sprachencode** |
|-------------------|---------------|
| Portugiesisch (Brasilien) | pt_BR |
| Englisch | en |
| Französisch | fr |
| Deutsch | de |
| Japanisch | ja |
| Koreanisch | ko |
| Italienisch | it |
| Spanisch | es |
| Vereinfachtes Chinesisch | zh_CN |
| Traditionelles Chinesisch | zh_TW |
{: caption="Table 3. Supported national languages and language codes" caption-side="top"}
## Zufriedenheitsumfragen für den {{site.data.keyword.Bluemix_notm}}-Support
{: #survey}
IBM sendet regelmäßig Umfragen an Bluemix-Kunden, um Feedback zu ihren jüngsten Erfahrungen mit dem Kundendienst zu erhalten. In den Umfragen geht es hauptsächlich um die Support-Qualität und den allgemeinen Eindruck des Kunden. Die Umfrageergebnisse werden vom IBM Management ausgewertet, um die Support-Qualität zu verbessern.
# Zugehörige Links
{: #rellinks}
## Allgemein
{: #general}
* [Bluemix-Support-Portal](https://support.ibmcloud.com){: new_window}
* [dW Answers](https://developer.ibm.com/answers/smart-spaces/12/bluemix.html){: new_window}
* [cf-Befehlstool installieren](/docs/starters/install_cli.html){: new_window}
* [Handbuch für SaaS-Support](http://www-01.ibm.com/software/support/handbook.html){: new_window}
* [Stack Overflow](http://stackoverflow.com/questions/tagged/ibm-bluemix){: new_window}
|
patsmith-ibm/docs
|
support/nl/de/index.md
|
Markdown
|
apache-2.0
| 30,997
|
package etcdutil
import (
"log"
"math/rand"
"path"
"strconv"
"time"
"github.com/coreos/go-etcd/etcd"
)
// heartbeat to etcd cluster until stop
func Heartbeat(client *etcd.Client, name string, taskID uint64, interval time.Duration, stop chan struct{}) error {
for {
_, err := client.Set(TaskHealthyPath(name, taskID), "health", computeTTL(interval))
if err != nil {
return err
}
select {
case <-time.After(interval):
case <-stop:
return nil
}
}
}
// detect failure of the given taskID
func DetectFailure(client *etcd.Client, name string, stop chan bool) error {
receiver := make(chan *etcd.Response, 1)
go client.Watch(HealthyPath(name), 0, true, receiver, stop)
for resp := range receiver {
if resp.Action != "expire" {
continue
}
if err := ReportFailure(client, name, path.Base(resp.Node.Key)); err != nil {
return err
}
}
return nil
}
// report failure to etcd cluster
// If a framework detects a failure, it tries to report failure to /FreeTasks/{taskID}
func ReportFailure(client *etcd.Client, name, failedTask string) error {
_, err := client.Set(FreeTaskPath(name, failedTask), "failed", 0)
return err
}
// WaitFreeTask blocks until it gets a hint of free task
func WaitFreeTask(client *etcd.Client, name string, logger *log.Logger) (uint64, error) {
slots, err := client.Get(FreeTaskDir(name), false, true)
if err != nil {
return 0, err
}
if total := len(slots.Node.Nodes); total > 0 {
ri := rand.Intn(total)
s := slots.Node.Nodes[ri]
idStr := path.Base(s.Key)
id, err := strconv.ParseUint(idStr, 0, 64)
if err != nil {
return 0, err
}
logger.Printf("got free task %v, randomly choose %d to try...", ListKeys(slots.Node.Nodes), ri)
return id, nil
}
watchIndex := slots.EtcdIndex + 1
respChan := make(chan *etcd.Response, 1)
go func() {
for {
logger.Printf("start to wait failure at index %d", watchIndex)
resp, err := client.Watch(FreeTaskDir(name), watchIndex, true, nil, nil)
if err != nil {
logger.Printf("WARN: WaitFailure watch failed: %v", err)
return
}
if resp.Action == "set" {
respChan <- resp
return
}
watchIndex = resp.EtcdIndex + 1
}
}()
var resp *etcd.Response
var waitTime uint64 = 0
for {
select {
case resp = <-respChan:
idStr := path.Base(resp.Node.Key)
id, err := strconv.ParseUint(idStr, 10, 64)
if err != nil {
return 0, err
}
return id, nil
case <-time.After(10 * time.Second):
waitTime++
logger.Printf("Node already wait failure for %d0s", waitTime)
}
}
}
func computeTTL(interval time.Duration) uint64 {
if interval/time.Second < 1 {
return 3
}
return 3 * uint64(interval/time.Second)
}
|
fengjingchao/taskgraph
|
pkg/etcdutil/healthy.go
|
GO
|
apache-2.0
| 2,688
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>AbstractLogFactory xref</title>
<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
</head>
<body>
<div id="overview"><a href="../../../../../apidocs/org/mybatis/generator/logging/AbstractLogFactory.html">View Javadoc</a></div><pre>
<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em>
<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Copyright 2009 The Apache Software Foundation</em>
<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> *</em>
<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * you may not use this file except in compliance with the License.</em>
<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * You may obtain a copy of the License at</em>
<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> *</em>
<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> *</em>
<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * limitations under the License.</em>
<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> */</em>
<a class="jxr_linenumber" name="L16" href="#L16">16</a>
<a class="jxr_linenumber" name="L17" href="#L17">17</a> <strong class="jxr_keyword">package</strong> org.mybatis.generator.logging;
<a class="jxr_linenumber" name="L18" href="#L18">18</a>
<a class="jxr_linenumber" name="L19" href="#L19">19</a> <em class="jxr_javadoccomment">/**</em>
<a class="jxr_linenumber" name="L20" href="#L20">20</a> <em class="jxr_javadoccomment"> * Defines the interface for creating Log implementations.</em>
<a class="jxr_linenumber" name="L21" href="#L21">21</a> <em class="jxr_javadoccomment"> * </em>
<a class="jxr_linenumber" name="L22" href="#L22">22</a> <em class="jxr_javadoccomment"> * @author Jeff Butler</em>
<a class="jxr_linenumber" name="L23" href="#L23">23</a> <em class="jxr_javadoccomment"> * </em>
<a class="jxr_linenumber" name="L24" href="#L24">24</a> <em class="jxr_javadoccomment"> */</em>
<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../org/mybatis/generator/logging/AbstractLogFactory.html">AbstractLogFactory</a> {
<a class="jxr_linenumber" name="L26" href="#L26">26</a> <a href="../../../../org/mybatis/generator/logging/Log.html">Log</a> getLog(Class<?> aClass);
<a class="jxr_linenumber" name="L27" href="#L27">27</a> }
</pre>
<hr/>
<div id="footer">Copyright © 2010–2014 <a href="http://www.mybatis.org/">MyBatis.org</a>. All rights reserved.</div>
</body>
</html>
|
hemingwang0902/doc.javake.cn
|
mybatis-generator-doc-zh/xref/org/mybatis/generator/logging/AbstractLogFactory.html
|
HTML
|
apache-2.0
| 4,038
|
package com.ecfront.ez.framework.test
import com.ecfront.ez.framework.core.EZManager
/**
* Mock EZ服务启动测试类,服务测试多继承此类
*/
trait MockStartupSpec extends BasicSpec {
def before():Unit={
EZManager.start()
}
before {
before()
}
test("Mock Start & shutdown flow") {
}
}
|
gudaoxuri/ez-framework
|
services/test/src/main/scala/com/ecfront/ez/framework/test/MockStartupSpec.scala
|
Scala
|
apache-2.0
| 327
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test lasp_SUITE:uncontracted_latency_test result</title>
<meta http-equiv="cache-control" content="no-cache"></meta>
<meta http-equiv="content-type" content="text/html; charset=utf-8"></meta>
<link rel="stylesheet" href="../../ct_default.css" type="text/css"></link>
<script type="text/javascript" src="../../jquery-latest.js"></script>
<script type="text/javascript" src="../../jquery.tablesorter.min.js"></script>
</head>
<body>
<a name="top"></a><pre>
=== Test case: <a href="lasp_suite.src.html#uncontracted_latency_test-1">lasp_SUITE:uncontracted_latency_test/1</a> (click for source code)
=== Config value:
[{watchdog,<0.501.0>},
{tc_logfile,"/Users/anne-francevanswieten/lasp/_build/test/logs/ct_run.nonode@nohost.2017-05-05_20.39.30/lib.lasp.lasp_SUITE.logs/run.2017-05-05_20.39.30/lasp_suite.uncontracted_latency_test.html"},
{tc_group_properties,[]},
{tc_group_path,[]},
{data_dir,"/Users/anne-francevanswieten/lasp/_build/test/lib/lasp/test/lasp_SUITE_data/"},
{priv_dir,"/Users/anne-francevanswieten/lasp/_build/test/logs/ct_run.nonode@nohost.2017-05-05_20.39.30/lib.lasp.lasp_SUITE.logs/run.2017-05-05_20.39.30/log_private/"}]
=== Current directory is "/Users/anne-francevanswieten/lasp/_build/test/logs/ct_run.nonode@nohost.2017-05-05_20.39.30"
=== Started at 2017-05-05 20:39:42
<br />
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.897 ***</b>
Beginning case: uncontracted_latency_test
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.915 ***</b>
20:39:42.915 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'runner@MacBook-Pro-de-Anne-France'
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.936 ***</b>
20:39:42.935 [info] Application partisan started on node 'runner@MacBook-Pro-de-Anne-France'
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.936 ***</b>
20:39:42.936 [info] Setting jitter: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.937 ***</b>
20:39:42.937 [info] Setting tutorial: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.939 ***</b>
20:39:42.938 [info] Setting event interval: 0
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.940 ***</b>
20:39:42.940 [info] Setting max events: 1000
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.941 ***</b>
20:39:42.941 [info] Setting extended logging: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.943 ***</b>
20:39:42.942 [info] Setting mailbox logging: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.944 ***</b>
20:39:42.944 [info] Setting operation mode: state_based
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.945 ***</b>
20:39:42.945 [info] Setting set type: orset
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.948 ***</b>
20:39:42.948 [info] Setting broadcast: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.967 ***</b>
20:39:42.967 [info] Membership: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.970 ***</b>
20:39:42.970 [info] Workflow: true
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.976 ***</b>
20:39:42.975 [info] AdClientEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.978 ***</b>
20:39:42.978 [info] AdServerEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.979 ***</b>
20:39:42.979 [info] TournClientEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.981 ***</b>
20:39:42.981 [info] TournServerEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.982 ***</b>
20:39:42.982 [info] ThroughputType: gset
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.984 ***</b>
20:39:42.983 [info] ThroughputClientEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.985 ***</b>
20:39:42.985 [info] ThroughputServerEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.986 ***</b>
20:39:42.986 [info] DivergenceType: gcounter
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.987 ***</b>
20:39:42.987 [info] DivergenceClientEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.989 ***</b>
20:39:42.988 [info] DivergenceServerEnabled: false
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:42.999 ***</b>
20:39:42.999 [info] Application lasp started on node 'runner@MacBook-Pro-de-Anne-France'
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:44.232 ***</b>
20:39:44.231 [info] Enabling membership...
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:44.233 ***</b>
20:39:44.233 [info] Disabling blocking sync...
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:44.238 ***</b>
20:39:44.238 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-1@MacBook-Pro-de-Anne-France'
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:45.741 ***</b>
20:39:45.740 [info] Enabling membership...
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:45.742 ***</b>
20:39:45.742 [info] Disabling blocking sync...
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:45.747 ***</b>
20:39:45.747 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-2@MacBook-Pro-de-Anne-France'
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.209 ***</b>
20:39:47.209 [info] Enabling membership...
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.211 ***</b>
20:39:47.211 [info] Disabling blocking sync...
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.216 ***</b>
20:39:47.216 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-3@MacBook-Pro-de-Anne-France'
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.459 ***</b>
Joining node: 'node-3@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 60181
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.460 ***</b>
Joining issued: 'node-3@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 60181
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.460 ***</b>
Joining node: 'node-2@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 60165
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.461 ***</b>
Joining issued: 'node-2@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 60165
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.461 ***</b>
Joining node: 'node-1@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 60152
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.462 ***</b>
Joining issued: 'node-1@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 60152
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.523 ***</b>
Waiting for join to complete with manager: partisan_default_peer_service_manager
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.524 ***</b>
Finished.
</pre></div>
<pre>
</pre>
<div class="ct_internal"><pre><b>*** CT 2017-05-05 20:39:47.524 *** COVER INFO</b>
Adding nodes to cover test: ['runner@MacBook-Pro-de-Anne-France']
</pre></div>
<pre>
</pre>
<div class="ct_internal"><pre><b>*** CT 2017-05-05 20:39:47.533 *** COVER INFO</b>
Successfully added nodes to cover test: []
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:47.533 ***</b>
Case finished: uncontracted_latency_test
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:54.578 ***</b>
20:39:54.578 [info] Application lasp exited with reason: stopped
</pre></div>
<pre>
</pre>
<div class="default"><pre><b>*** User 2017-05-05 20:39:54.579 ***</b>
20:39:54.579 [info] Application partisan exited with reason: stopped
</pre></div>
<pre>
<a name="end"></a>
=== Ended at 2017-05-05 20:39:54
=== successfully completed test case
=== Returned value: ok
</pre>
<center>
<br /><hr /><p>
<a href="../../../all_runs.html">Test run history
</a> | <a href="../../../index.html">Top level test index
</a>
</p>
<div class="copyright">Copyright © 2017 <a href="http://www.erlang.org">Open Telecom Platform</a><br />
Updated: <!--date-->Fri May 05 2017 20:39:42<!--/date--><br />
</div>
</center>
</body>
</html>
|
anne-france/finalproject
|
_build/test/logs/ct_run.nonode@nohost.2017-05-05_20.39.30/lib.lasp.lasp_SUITE.logs/run.2017-05-05_20.39.30/lasp_suite.uncontracted_latency_test.html
|
HTML
|
apache-2.0
| 9,665
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.