TensorRT/samples/common/common.h source code study
TensorRT/samples/common/common.h source code study
Preface
common.h
multiline macro
\_\_FILE\_\_,\_\_LINE__,\_\_func\_\_
inline function
list initialization
lambda expression
EXIT_FAILURE
assert(function1() && "xxx")
PGM file
reinterpret_cast
Reference link
Preface
common.h defines the ...
Posted by Thikho on Thu, 30 Jan 2020 08:02:14 -0800
Tomcat reports serious errors: unable to process jar entry [module info. Class] from jar
Unable to process jar entry [module info. Class] from jar appears when Tomcat runs
It can be seen from error analysis that Jar entry cannot be processed from Jar package [module info. Class]Wrong content
serious: Unable to process Jar entry [module-info.class] from Jar [jar:file:/D:/STS/Workspaces/Clo ...
Posted by Mikersson on Thu, 30 Jan 2020 07:49:25 -0800
ActiveMQ -- mode (queue mode / topic mode)
Two modes: queue mode / topic mode
pom.xml
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
<version>5.15.9</version>
</dependency>
In fact, the queuing mode is the food sharing mode.
For example, if the manufacturer sends 10 ...
Posted by Ilyes on Thu, 30 Jan 2020 07:30:14 -0800
Talk about duplicateProperty of artemis message
order
This paper mainly studies the duplicateProperty of artemis
Message
activemq-artemis-2.11.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/Message.java
public interface Message {
//......
default Object getDuplicateProperty() {
return null;
}
default byte[] getDuplicateIDBytes() {
Object d ...
Posted by Termina on Thu, 30 Jan 2020 07:17:57 -0800
Java foundation - log usage
If log and exception handling are combined properly, it will bring great value to project maintenance.
Log: a detailed record of a process and experience.Project Log: it is the detailed record of the project development process, which is generally recorded by the project manager.Log in the code: the pro ...
Posted by Iron Bridge on Thu, 30 Jan 2020 01:37:40 -0800
HBase? From introduction to Java client development
Article directory
Introduction to HBase
HBase introduction
HBase
HBase architecture
RegionServer cluster structure
HBase logical storage structure
HBase physical storage structure
HBase installation
preparation in advance
HBase installation steps
Hbase boot
HBase verification
Backup master
HBase ...
Posted by sager29 on Thu, 30 Jan 2020 01:18:29 -0800
Talk about the priority of artemis message
order
This paper mainly studies the priority of artemis message
priority
activemq-artemis-2.11.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
public class CoreMessage extends RefCountMessage implements ICoreMessage {
//......
protected byte priority;
public byte getPriority() {
...
Posted by knowj on Wed, 29 Jan 2020 07:54:31 -0800
Hadoop learning Chapter 2 HDFS
Hadoop learning Chapter 2 HDFS
Chapter II HDFS
HDFS overview
HDFS definition
Advantages and disadvantages of HDFS
HDFS architecture
HDFS file block size (interview focus)
Common command practice
HDFS client operation (development focus)
HDFS client environment preparation
HDFS file download
HDFS ...
Posted by goa103 on Mon, 27 Jan 2020 03:14:04 -0800
Talk about the persistenceEnabled of artemis
order
This paper mainly studies the persistence enabled of artemis
persistenceEnabled
activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java
public class ConfigurationImpl implements Configuration, Serializable {
//......
private boolean persistenceEnabled = ActiveMQDefau ...
Posted by gtcol on Sun, 26 Jan 2020 06:37:40 -0800
Talk about confirmation windowenabled of artemis
order
This paper mainly studies the confirmation window enabled of artemis
confirmationWindowEnabled
activemq-artemis-2.11.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientProducerImpl.java
public class ClientProducerImpl implements ClientProducerInternal {
//......
public void send(SimpleString add ...
Posted by heepofajeep on Thu, 23 Jan 2020 03:01:54 -0800