Tag:ellipsis

  • Study hard go: 6 Process control

    Time:2022-5-6

    Series articles: Study hard go: 1 Learning lead Study hard go: 2 Environment construction Study hard go: 3 Environment construction – gomod learning Study hard go: 4 Variables and data types Study hard go: 5 Constants and operators Study hard go: 6 Process control Study hard go: 7 Built in collection array Study hard go: […]

  • Study day 8

    Time:2022-5-6

    C language The general form of the for statement For — loop structure for( :) int a, sum = 0; for (a = 1; a <= 100; a++) { sum = sum + a; } printf(“sum=%d”, sum); A = 1 in parentheses is the initial value of the cyclic variable, a < = 100 is […]

  • Spring source code analysis 6: processor mapping and processor adaptation processing

    Time:2022-5-6

    Spring source code analysis 6: processor mapping and processor adaptation processing staySpring source code analysis 1: Spring MVC loading mechanismThere are some points to be resolved: ConfigurableWebApplicationContext.refreshRefresh context ApplicationContext.getBeanGet bean from context DispatcherServlet.propertiesPolicy processing defined in the file ContextLoader.propertiesPolicy processing defined in the file View.renderView rendering Among them, articles 1, 2 and 4 have been […]

  • Spring source code analysis 7: exception handling and view analysis

    Time:2022-5-4

    Spring source code analysis 7: exception handling and view analysis Next, let’s talk about the remaining strategies holdExceptionHandlerExceptionResolver、ResponseStatusExceptionResolver、DefaultHandlerExceptionResolverAs the default handler exception parser holdDefaultRequestToViewNameTranslatorFind processor as default view holdInternalResourceViewResolverAs the default view parser In addition,View.renderView rendering is also discussed here 1. ExceptionHandlerExceptionResolver ExceptionHandlerExceptionResolverThe main function of is to parse the exceptions generated by the processor […]

  • Analysis of data distribution strategy of greenplus

    Time:2022-5-4

    Analysis of data distribution strategy of greenplus Greenplus is a database based on MPP architecture, which is composed of one master and multiple segments (a standby master can also be configured optionally). Its data will be distributed on different segments according to the set distribution strategy. In version 6, GP provides three strategies: random distribution, […]

  • Spring source code parsing 8: default namespace processor in XML configuration

    Time:2022-5-3

    Spring source code parsing 8: default namespace processor in XML configuration staySpring source code analysis 5: bean configuration, definition and registrationIn, the default namespace processor in some XML configurations has not been resolved SimpleConstructorNamespaceHandler SimplePropertyNamespaceHandler UtilNamespaceHandler ContextNamespaceHandler JeeNamespaceHandler LangNamespaceHandler TaskNamespaceHandler CacheNamespaceHandler MvcNamespaceHandler AopNamespaceHandler JdbcNamespaceHandler TxNamespaceHandler Here only a few commonly used are analyzed SimpleConstructorNamespaceHandler SimplePropertyNamespaceHandler […]

  • Remember an online MySQL deadlock

    Time:2022-5-3

    problem: yesterday, an error was reported on the line, which made a function unable to execute. Looking up the log found that it was a MySQL deadlock problem. Analyze problems: in fact, the biggest difficulty in solving the problem is to analyze the problem and find out where the problem occurs. This process takes the […]

  • Spring source code analysis IX: default annotation processor

    Time:2022-5-2

    Spring source code analysis IX: default annotation processor staySpring source code analysis 5: bean configuration, definition and registrationIn, there are some default annotation processors that have not been parsed ConfigurationClassPostProcessor AutowiredAnnotationBeanPostProcessor CommonAnnotationBeanPostProcessor PersistenceAnnotationBeanPostProcessor EventListenerMethodProcessor DefaultEventListenerFactory 1. ConfigurationClassPostProcessor ConfigurationClassPostProcessorThe main function of is process[email protected] public class ConfigurationClassPostProcessor implements BeanDefinitionRegistryPostProcessor, PriorityOrdered, ResourceLoaderAware, ApplicationStartupAware, BeanClassLoaderAware, EnvironmentAware { //Post […]

  • Spring source code analysis 10: request Parameter annotation parser and response value annotation processor

    Time:2022-5-1

    Spring source code analysis 10: request Parameter annotation parser and response value annotation processor staySpring source code analysis 6: processor mapping and processor adaptation processingIn, some default annotation parsers for request parameters and response values have not been parsed by the default annotation processor The default annotation parser for request parameters is mainly: RequestParamMethodArgumentResolver RequestParamMapMethodArgumentResolver […]

  • Spring source code analysis 11: spring extension loading mechanism

    Time:2022-4-30

    Spring source code analysis 11: spring extension loading mechanism Spring has two main extension loading mechanisms: automatically loading classes in third-party packages and extending the namespace of beans in XML configuration files 1. Automatically load classes in third-party packages spring-coreProvides an extension mechanism similar to Java SPIMETA-INF/spring.factoriesIf you define the classes that need to be […]

  • Spring source code analysis 12: spring boot loading mechanism

    Time:2022-4-28

    Spring source code analysis 12: spring boot loading mechanism 1. spring-bootIncluded modules Before analyzing the loading mechanism of springboot, let’s take a look at the officialspring-bootWhat modules are included and what are their uses. Spring boot official warehouse spring-bootThe core package of springboot, including:spring-frameworkPackaging and expansion ofapplication.yamlLoading mechanism, annotation starting mechanism, etc spring-boot-autoconfigure:application.yamlConfiguration item definition […]

  • Text exceeds, display ellipsis

    Time:2022-4-27

    In the front end, we often limit the length of text. We know that text overflow: ellipsis is is generally usedBut we will find that it does not take effect!!There are relevant instructions on this official website. When using text overflow, you need to set the other two properties at the same time In this […]