在移植u-boot的过程看到过u-boot在重定向时的实现,当时不知道怎么就觉得很好理解就把这个知识点没怎么深入的理解,最近在看华为的鸿蒙OS在Cortex-A平台上的实现过程时再次遇到一时间看不太懂了,所以花了点时间研究了一下这里做一下记录,后续有时间再把u-boot的实现再复盘一下加深理解。具体 ...
分类:
其他好文 时间:
2020-10-22 22:18:49
阅读次数:
25
1:MyBatis核心对象(生命周期与作用域) SqlSessionFactoryBuilder SqlSessionFactory SqlSession 通过SqlSession实例直接执行已映射的SQL语句 基于Mapper接口方式操作数据 2:MyBatis核心配置文件 (mybatis-co ...
分类:
其他好文 时间:
2020-10-21 21:18:46
阅读次数:
18
1 动态SQL 1.1 什么是动态SQL?动态SQL的作用 动态SQL指的是根据不同的查询条件 , 生成不同的Sql语句。通过 if, choose, when, otherwise, trim, where, set, foreach等标签,可组合成非常灵活的SQL语句,从而在提高 SQL 语句的 ...
分类:
其他好文 时间:
2020-10-13 17:05:23
阅读次数:
18
目录 前言 什么是动态SQL? 常用的标签 if choose、when、otherwise where foreach set sql include 总结 拓展一下 Mybatis中如何避免魔数? 如何引用其他XML中的SQL片段? 总结 前言 通过前两篇的文章我们了解了Mybatis基本的CR ...
分类:
数据库 时间:
2020-09-17 16:05:59
阅读次数:
37
题目 将两个升序链表合并为一个新的 升序 链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 示例: 输入:1->2->4, 1->3->4 输出:1->1->2->3->4->4 分析与题解 在忽略空链表的情况下,利用递归的思想依次对两个链表的元素进行比较和合并,大致思路如下: $$\l ...
分类:
编程语言 时间:
2020-08-15 22:32:54
阅读次数:
63
C. Uncle Bogdan and Country Happiness time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Un ...
分类:
移动开发 时间:
2020-08-06 17:04:18
阅读次数:
99
// Package subtle implements functions that are often useful in cryptographic// code but require careful thought to use correctly.package subtle// Con ...
分类:
其他好文 时间:
2020-07-22 20:15:24
阅读次数:
85
# 当配置中需要配置内存大小时,可以使用 1k, 5GB, 4M 等类似的格式,其转换方式如下(不区分大小写) # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g = ...
分类:
其他好文 时间:
2020-07-14 18:18:50
阅读次数:
52
We respect and protect the privacy of all users of the service. In order to provide you with more accurate and personalized services, the software wil ...
分类:
其他好文 时间:
2020-06-24 16:08:14
阅读次数:
53