Warning: mysqli_query(): MySQL server has gone away in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924

Warning: mysqli_query(): Error reading result set's header in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924
construct – Page 2 – SyntaxBug

STL–vector container (construction, traversal, insertion and deletion, capacity size, data access, dynamic expansion, etc.)

vector Foreword In the past few days, I have used STL a lot when writing code, and I have also felt the power of STL, so I reviewed the content of STL again, and summarized and extracted some basic things and important content. This is a vector article . C++’s STL provides us with many […]

Hadoop fully distributed construction

Foreword There are always various problems encountered when configuring a Hadoop cluster. Here is a complete summary of the complete Hadoop fully distributed configuration process, hoping to help more people. Virtual machine preparation A distributed cluster requires three virtual machines. I won’t explain too much here, just clone them directly. 1. Modify the host name […]

Modern C++ conversion constructors and type conversion functions

In C/C++, different data types can be converted to each other. The type that does not require the user to specify how to convert is called automatic type conversion (implicit type conversion), and the type that requires the user to explicitly specify how to convert is called forced type conversion. Whether it is automatic type […]

Spring dependency injection methods: set injection and constructor injection

Spring Spring6 enables Log4j2 logging framework dependency injection set injection set injects simple types Classic case: injecting values into attributes of the data source: Inject into array Inject into List collection Inject Set collection Inject into Map collection constructor injection Spring6 enables Log4j2 logging framework Starting from Spring 5, the integrated logging framework supported by […]

k8s[kubernetes] cluster construction (0>1)

Article Directory 1. Planning for building a K8S environment platform 2. Server hardware configuration requirements 3. Set up k8s cluster deployment method 4. Deployment in kubeadm mode – system initialization operation 5. Deployment in kubeadm mode – deploy master node 1Install Docker on all nodes 2Configure Alibaba Cloud Docker and kubernetes images on all nodes […]

Use reflection to dynamically construct wrapper conditions (use reflection to obtain annotation values and entity class values)

Use reflection to dynamically construct wrapper conditions Entity class /** * api list query entity class * *@authorwys */ @Data public class SysApiQuery { private Long id; /** * api name */ @Query(type = QueryTypeEnum.EQUAL) private String apiName; /** * api path */ @Query(type = QueryTypeEnum.EQUAL) private String apiUrl; /** Starting time */ @JsonIgnore private […]

4. Construction and registration of BeanDefinition

Foreword In the last article, we talked about the source code of the processBeanDefinition(ele, delegate) method: //This method requires two parameters: 1. The child node element parsed before, 2. The parser protected void processBeanDefinition(Element ele, BeanDefinitionParserDelegate delegate) { //Here the element object is parsed into a BeanDefinitionHolder object. This BeanDefinitionHolder is equivalent to a layer […]

Java graduation project is based on spingboot+vue subject construction management information system

Collect and follow to avoid getting lost, end of source code article Article directory Preface 1. Project introduction 2. Development environment 3. Function introduction Administrator use case User use cases 4. Core code 5. Effect drawing 6. Article Table of Contents Foreword With the rapid development of science and technology, all walks of life are […]