Django的路由系统 先供上官网说明 https://docs.djangoproject.com/en/2.2/topics/http/urls/ URLconf配置 URL配置(URLconf)就像Django所支撑网站的目录。它的本质是URL与要为该URL调用的视图函数之间的映射表。 我们就 ...
分类:
其他好文 时间:
2019-05-04 14:45:06
阅读次数:
92
数据类型 数据类型分类 (1)基本数据类型 byte, short, int, long, float, double, char, boolean (2)引用数据类型 包括类对象,接口对象,数组等 变量声明 格式: 数据类型 变量名 = 初始化值; 注意: 整数默认是int类型,定义long类型的 ...
分类:
编程语言 时间:
2019-05-03 11:45:14
阅读次数:
140
包装类 我们知道,Java中包含了8种基本数据类型: 整数类型:byte、short、int、long 字符类型:char 浮点类型:float、double 布尔类型:boolean 这8种基本数据类型的变量不需要使用 来创建,它们不会在堆上创建,而是直接在栈内存中存储,因此会比使用对象更加高效。 ...
分类:
其他好文 时间:
2019-05-02 12:03:34
阅读次数:
113
类 基本类型 默认值 boolean false char null byte 0(byte) short 0(short) int 0 long 0L float 0.0f double 0.0d ...
分类:
编程语言 时间:
2019-05-02 09:28:32
阅读次数:
128
int Rawdata_PreProcess(const void **in_frame, int n, int frame_size, void *out_frame) { const short **iframe = (const short **)in_frame; short *oframe... ...
分类:
编程语言 时间:
2019-04-30 14:11:25
阅读次数:
120
前言 前几天写了一篇关于c 位操作, "c 位运算基本概念与计算过程" 最后提到一个实际问题 需求:C 用两个short,一个int32拼成一个long型 要求:现在有两个short和一个int,需要拼成一个long型,高16位用short,中间32位用int,最低16位用另外一个short htt ...
Should Your Resume Be One Page or Two? Conventional wisdom suggests that you should keep it short: According to job hunting site The Ladders, recruite ...
分类:
其他好文 时间:
2019-04-29 09:34:45
阅读次数:
138
条件判断语句 条件语句: If(boolean类型) {} else {} (打大括号避免出错) switch (export)语句:export的类型必须是 byte,short,char,int ,String enum; Switch(export){ Case (n): 语句; Break; ...
分类:
编程语言 时间:
2019-04-28 20:51:26
阅读次数:
175
类型转换时,如果最初的数值类型是有符号的,那么就执行符号扩展;如果它是char,那么不管将要被转换成什么类型,都执行零扩展 代码执行顺序是从上至下,从右至左 强制转换: Int a =(int)(short)(byte)-1 10000001-->11111111(byte)(-1补码) -->11 ...
分类:
编程语言 时间:
2019-04-28 20:28:30
阅读次数:
146
一、byte(8位) short(16位) int(32位) long(64位) float(32位) double(64位) boolean(Java虚拟机决定) true 或者false! 单独4个字节和 Boolean数组1个字节。 char(16位) 0 ~ 65535 integer by ...
分类:
编程语言 时间:
2019-04-27 12:55:28
阅读次数:
156