例子是XE的 只是本人测试的,仅供学习!代码很乱! 在一个程序中测试 IdTcpClient和IdTcpServer有点坑, 测试的时候最好写Client和Server两个程序测试 Unit开始 unit Unit1; interface uses Windows, Messages, SysUti ...
1.获取函数的名称 # 在函数外部获取函数的名称,可以使用.__name__来获取。 def test_func_name1(): print('test') func_name1 = test_func_name1.__name__ print(func_name1) # test_func_na ...
分类:
编程语言 时间:
2021-05-24 07:58:37
阅读次数:
0
看看我1 看看我2 Object.keys() Object.values() <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Test</title> <scrip ...
分类:
Web程序 时间:
2021-05-24 07:56:45
阅读次数:
0
#拿出当前匹配的test_ca_v2.1最近版本号 latelyTag=$(git describe --match "test_ca_v2.1*" --abbrev=0 --tags $(git rev-list --tags --max-count=1)) #版本前缀 tagPre="test_ ...
分类:
系统相关 时间:
2021-05-24 07:54:48
阅读次数:
0
Git命令来获取/查找以test_ca_v开头的最后一个标签 git describe --match "test_ca_v*" --abbrev=0 --tags $(git rev-list --tags --max-count=1) 效果: ...
分类:
其他好文 时间:
2021-05-24 07:47:44
阅读次数:
0
在class 组件中,我们需要在 componentDidMounted 里面给 mp3 加上监听,然后在 组件销毁的时候 去掉监听。 来控制 mp3 的播放和暂停。相对来说比较麻烦。难以抽离。 这里用 hooks 达到完全抽离的效果: interface IAudioProps extends R ...
分类:
其他好文 时间:
2021-05-24 07:45:22
阅读次数:
0
概念 一棵二叉树由根结点、左子树和右子树三部分组成,若规定 D、L、R 分别代表遍历根结点、遍历左子树、遍历右子树,则二叉树的遍历方式有 6 种:DLR、DRL、LDR、LRD、RDL、RLD。由于先遍历左子树和先遍历右子树在算法设计上没有本质区别,所以,只讨论三种方式: DLR--前序遍历(根在前 ...
分类:
其他好文 时间:
2021-05-24 07:30:52
阅读次数:
0
可变参数 package com.luo.method; public class Demo4 { public static void main(String[] args) { Demo4 demo4 = new Demo4(); demo4.test(1, 2, 3, 4, 5); } pub ...
分类:
其他好文 时间:
2021-05-24 07:25:57
阅读次数:
0
1、Form连接数据库apps/apps@TEST 2、plsql模拟界面环境(初始化)8008初始化begin fnd_global.APPS_INITIALIZE(user_id => 1671,resp_id =>50716 ,resp_appl_id => 401); mo_global.i ...
分类:
数据库 时间:
2021-05-24 07:15:58
阅读次数:
0
string的最基本操作就是创建字符串 void test(){ //创建一个空的string对象 string str; //拷贝一个和已经存在的对象内容一模一样的新的对象 string copy(str); //生成一个abc的字符串 string str2("abc"); //在str2中取下 ...
分类:
其他好文 时间:
2021-05-24 07:09:57
阅读次数:
0