const修饰指针 1 const int * p 读作:p 指向不变量int int a = 2; const int * p = &a; // constant 必须初始化,否则报错 *p = 3; // 非法 int b = 3; p = &b; // 合法 2 int * const p 读 ...
分类:
编程语言 时间:
2020-06-01 00:46:03
阅读次数:
55
虚拟机类加载机制是把描述类的数据从 Class 文件加载到内存,并对数据进行校验、转换解析和初始化,最终形成可以被虚拟机直接使用的 Java 类型。 ? 需要注意的是 Java 语言与其他编译时需要进行连接工作的语言不通,它的连接过程是在程序运行期间完成的,这样会在类加载时稍微增加一些性能开销,但是 ...
分类:
编程语言 时间:
2020-05-31 16:01:26
阅读次数:
53
1 创建与合并分支 1 在版本回退里,你已经知道,每次提交,Git都把它们串成一条时间线,这条时间线就是一个分支。截止到目前,只有一条时间线,在Git里,这个分支叫主分支,即master分支。HEAD严格来说不是指向提交,而是指向master,master才是指向提交的,所以,HEAD指向的就是当前 ...
分类:
其他好文 时间:
2020-05-30 19:35:03
阅读次数:
59
dubbo升级到Apache的 2.7.7报错Caused by: java.io.IOException: invalid constant type: 18 2020-05-29 16:57:10,013 [localhost-startStop-1] [org.springframework. ...
分类:
编程语言 时间:
2020-05-29 17:32:34
阅读次数:
184
Struts2的4种传值方式:1.通过request/session等传值可通过ServletActionContext.getRequest()/getSession()等方法来获得request/session对象, 然后调用其中的setAttribute(),getAttribute(),ge ...
分类:
其他好文 时间:
2020-05-22 15:36:24
阅读次数:
61
``` import bisect from bisect import bisect_right import matplotlib.pyplot as plt import numpy as np import math lr = [] iters=[] def _get_warmup_fact ...
分类:
其他好文 时间:
2020-05-22 00:14:17
阅读次数:
273
添加Constant类 1 package top.bigking.constant; 2 3 /** 4 * @Author ABKing 5 * @since 2020/5/14 下午5:58 6 **/ 7 8 public class Constant { 9 10 /** 11 * 数据请 ...
分类:
其他好文 时间:
2020-05-21 23:45:20
阅读次数:
71
C and C++ allow various types of operators. By now, you should be familiar with the basic binary operators +, -, *, / and the boolean operators <, >, ...
分类:
其他好文 时间:
2020-05-19 12:14:52
阅读次数:
62
学习 Python3 语言 第一行 Python3 开头的一行到底应该怎么写? 查阅 Google 的代码仓库,找到若干以 Python3 为主的 repo,选择比较流行的库 Trax 作为范本。随机抽取某个脚本(https://github.com/google/trax/blob/master/ ...
分类:
编程语言 时间:
2020-05-16 17:08:54
阅读次数:
63
package com.swust.action; import com.alibaba.fastjson.JSONObject; import com.swust.constant.Constants; import com.swust.skynet.SelfDefineAccumulator; ...
分类:
其他好文 时间:
2020-05-10 21:12:26
阅读次数:
57