寄存器由来: CPU(Central Processing Unit):中央处理器 作用:执行存储器中的指令序列;完成数据传输任务 早期:运算器+控制器 Intel 80386开始,加快CPU处理数据能力,引入高速缓冲存储器(寄存器) 寄存器功能: 暂存数据和中间结果的单元 寄存器分类: 程序可见寄 ...
分类:
其他好文 时间:
2021-03-30 13:06:56
阅读次数:
0
#include<stdlib.h> #include<stdio.h> void Move(char now, int a, char next) { printf("%d:%c->%c\n", a, now, next); } void Hanoi(int n, char x, char y, ...
分类:
其他好文 时间:
2021-03-30 13:06:36
阅读次数:
0
给定一个二叉树的根节点 root ,返回它的 中序 遍历。使用递归、迭代、染色(迭代的另一种方法)三种方法实现。 ...
分类:
其他好文 时间:
2021-03-30 13:06:22
阅读次数:
0
1. 准备文本文件从文件创建RDD lines=sc.textFile()筛选出含某个单词的行 lines.filter() 2. 生成单词的列表从列表创建RDD words=sc.parallelize()筛选出长度大于2 的单词 words.filter() ...
分类:
其他好文 时间:
2021-03-30 13:05:37
阅读次数:
0
1. 逆向工程命令 python manage.py inspectdb 指定数app python manage.py inspectdb app_name/models.py 多数据库配置需指定数据库 python manage.py inspectdb --database db01>stud ...
分类:
其他好文 时间:
2021-03-30 13:05:22
阅读次数:
0
头文件 #include <algorithm> transform 函数 转大写 std::string str_write; // 全部转为大写 std::transform(str_write.begin(), str_write.end(), str_write.begin(), toupp ...
分类:
其他好文 时间:
2021-03-30 13:05:05
阅读次数:
0
leetcode 173. 二叉搜索树迭代器:实现一个二叉搜索树迭代器类BSTIterator ,表示一个按中序遍历二叉搜索树(BST)的迭代器。 ...
分类:
其他好文 时间:
2021-03-30 13:04:24
阅读次数:
0
1.后门概念 后门就是不经过正常认证流程而访问系统的通道。 哪里有后门呢? 编译器留后门 操作系统留后门 最常见的当然还是应用程序中留后门 还有就是潜伏于操作系统中或伪装为特定应用的专用后门程序。 -- 下面是近些年的一些例子: 编译器:苹果Xcode后门事件。苹果Xcode后门事件中招的APP包括 ...
分类:
其他好文 时间:
2021-03-30 13:03:51
阅读次数:
0
参考:http://www.python3.vip/tut/auto/hyrobot/01/ 1、简介 黑羽robot 在 RobotFramework 基础上,将Python代码转化为.ride可以运行的程序。 并且汉化测试报告。 2、被测系统 https://pan.baidu.com/s/1r ...
分类:
其他好文 时间:
2021-03-30 13:03:32
阅读次数:
0
什么是运行时类 加载到内存中的类 Class类与运行时类的关系 Class类的一个实例对应加载到内存中的一个运行时类 获取Class类的方法 调用运行时类的属性.class Class uclass = String.class; 通过运行时类的对象,调用getClass()方法 String s ...
分类:
其他好文 时间:
2021-03-30 13:03:08
阅读次数:
0
定义一个内部类,直接将内部类定义在外围类的里面。 interface yu{ void sout(); } public class lc_2 { public int num1; private int num2; class innerClass implements yu{ public in ...
分类:
其他好文 时间:
2021-03-30 13:02:50
阅读次数:
0
air stage.addEventListener(FullScreenEvent.FULL_SCREEN,screenHandle); function screenHandle(e:FullScreenEvent):void { if(!e.fullScreen) { NativeApplic ...
分类:
其他好文 时间:
2021-03-30 13:02:20
阅读次数:
0
Reconstruct Original Digits from English (M) 题目 Given a non-empty string containing an out-of-order English representation of digits 0-9, output the d ...
分类:
其他好文 时间:
2021-03-30 13:01:57
阅读次数:
0
422 /** 423 * cpumask_and - *dstp = *src1p & *src2p 424 * @dstp: the cpumask result 425 * @src1p: the first input 426 * @src2p: the second input 427 * ...
分类:
其他好文 时间:
2021-03-30 13:00:57
阅读次数:
0
更新多列 Updates 方法支持 struct 和 map[string]interface{} 参数。当使用 struct 更新时,默认情况下,GORM 只会更新非零值的字段 // 根据 `struct` 更新属性,只会更新非零值的字段 db.Model(&user).Updates(User{ ...
分类:
其他好文 时间:
2021-03-30 12:59:58
阅读次数:
0
监听器介绍 观察者设计模式:所有的监听器都是基于观察者设计模式的! 三个组成部分 事件源:触发事件的对象 事件:触发的动作,封装了事件源 监听器:当事件源触发事件后,可以完成功能 监听器介绍 在程序当中,我们可以对:对象的创造销毁,域对象中属性的变化,会话相关内容进行监听。 Servlet规范中共计 ...
分类:
其他好文 时间:
2021-03-30 12:58:35
阅读次数:
0
fabrci源码记录2 writer:布羽 ProtoBuf 在fabric中,交换数据的格式采用protobuf,而非XML或者JSON。其引入了fabric-rpotos-go这个底层项目。 https://github.com/hyperledger/fabric-protos-go fabr ...
分类:
其他好文 时间:
2021-03-30 12:58:01
阅读次数:
0