会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Vera_y
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
14
下一页
2018年11月23日
Python_多线程threading模块
摘要: python 在执行的时候会淡定的在CPU上只允许一个线程运行,故Python在多核CPU的情况下也只能发挥出单核的功能,其中的原因:gil锁 gil 锁 (全局解释器锁):每个线程在执行时都需要先获取gil 一个线程运行Python,而其他N个睡眠或者等待I/O(即 保证同一时刻只有一个线程丢共享
阅读全文
posted @ 2018-11-23 17:49 yin_zhaozhao
阅读(263)
评论(0)
推荐(0)
2018年11月16日
java_ATM_GUI
摘要: Test 界面: 存钱: 取钱: 账户: 菜单: 登陆/ 注册: 参考于:https://blog.csdn.net/qq_37724011/article/details/78682028
阅读全文
posted @ 2018-11-16 20:16 yin_zhaozhao
阅读(750)
评论(0)
推荐(0)
队的顺序存储
该文被密码保护。
阅读全文
posted @ 2018-11-16 20:06 yin_zhaozhao
阅读(1)
评论(0)
推荐(0)
c_数据结构_队的实现
摘要: # 链式存储#include #include #define STACK_INIT_SIZE 100//存储空间初始分配量 #define STACKINCREMENT 10//存储空间分配增量 #define TURE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define OVERFLOW -2 typedef struct ...
阅读全文
posted @ 2018-11-16 20:02 yin_zhaozhao
阅读(252)
评论(0)
推荐(0)
c_数据结构_栈的实现
摘要: #include #include #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 //stackincrement #define OVERFLOW -2 #define OK 1 #define ERROR 0 typedef struct{ int *base; int *top; int stacksi...
阅读全文
posted @ 2018-11-16 19:56 yin_zhaozhao
阅读(227)
评论(0)
推荐(0)
c_数据结构_链表
摘要: #include #include #define ERROR 0 #define OK 1 #define OVERFLOW -2 typedef struct Lnode{ int data; struct Lnode *next; }LNode,*LinkList; //初始化一个空指针 int InitList_L(LinkList &L){ L=(LNode...
阅读全文
posted @ 2018-11-16 19:55 yin_zhaozhao
阅读(153)
评论(0)
推荐(0)
c_数据结构_顺序表
摘要: #define OK 1 #define ERROR 0 #define OVERFLOW -2 #define LIST_INIT_SIZE 100 // 线性表存储空间的初始分配量 #define List_Increment 10 //线性表存储空间的分配增量 #include #include #include typedef struct{ int *elem...
阅读全文
posted @ 2018-11-16 19:52 yin_zhaozhao
阅读(235)
评论(0)
推荐(0)
2018年11月15日
python_异常处理_断言
摘要: 一、Python标准异常 二、异常处理 1. def yichang(): while True: try: num = int(input('>>')) num += 1 print('值',num) except Exception as e: print('{%s}我是一个错误..'%e) y
阅读全文
posted @ 2018-11-15 21:03 yin_zhaozhao
阅读(841)
评论(0)
推荐(0)
2018年11月9日
Python_socketserver
摘要: socketserver >> 服务器端的开发 socketserver: 实现服务器端同时处理多个请求 通过两个主要的类来处理网络请求: 服务类 请求处理类 一、服务类 1. 基础同步服务器 BaseServer | 继承 V TCPServer —继承—> UnixStreamServer |
阅读全文
posted @ 2018-11-09 20:17 yin_zhaozhao
阅读(199)
评论(0)
推荐(0)
2018年11月8日
Python_socket
摘要: TCP : 可靠传输,不安全,UDP: 安全传输,不可靠 一台机器上有2^16-1=65535个端口(1-1024)保留自己开就1024往上 socket (套接字):也可以理解为它是一个管道,用于描述IP地址和端口 socket是一种特殊的文件:针对服务器端和客户端来 打开(建立链接),读(发送数
阅读全文
posted @ 2018-11-08 17:16 yin_zhaozhao
阅读(196)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
14
下一页
公告