1. 内存管理**malloc和free** void *zmalloc(size_t size); // 对malloc的封装 void *zcalloc(size_t size); // 对calloc的封装 void *zrealloc(void *ptr, size_t size); // ...
分类:
其他好文 时间:
2021-06-10 18:00:14
阅读次数:
0
import requests import re from threading import Thread from bs4 import BeautifulSoup import openpyxl import json class MUSIC(Thread): def run(self): s ...
分类:
编程语言 时间:
2021-06-06 19:17:40
阅读次数:
0
# -*- coding: utf-8 -*- import urllib import urllib2 import re import json import xlwt import time workbook = xlwt.Workbook(encoding='utf-8') #新建一个Exc ...
分类:
其他好文 时间:
2021-06-05 18:28:32
阅读次数:
0
写作替换词 (1) with the development of sth. → due to the proliferation of sth. proliferation /pr??l?f??re??n/ n. 增殖,扩散;分芽繁殖 (2) more and more → the number ...
分类:
其他好文 时间:
2021-06-02 20:40:06
阅读次数:
0
1、controller中的方法 /** * 获取区域树 * @return */ @ResponseBody @RequestMapping("/getAreaInfoTree") public List<AreaInfo> getAreaInfoTree(){ List<AreaInfo> re ...
分类:
编程语言 时间:
2021-06-02 12:47:27
阅读次数:
0
通用装饰器 def wrapper(fun): def inner(*args,**kwargs): print(f"before execute target {fun} ") ret=fun() print(f"after execute target {fun}") return ret re ...
分类:
其他好文 时间:
2021-06-02 12:04:33
阅读次数:
0
本文主要解析了 Python 中 re 模块的使用,进行字符串的匹配。分析了模块中各函数的功能作用与区别。 ...
分类:
编程语言 时间:
2021-06-02 10:59:15
阅读次数:
0
在复习归并排序的时候,使用到了递归,我一直以为是递归函数没写对,导致了Maximum call stack size exceeded 栈溢出,但是其实是JavaScript浮点数的自动转换的问题! function sort(arry,left,right){ if(left right){ re ...
分类:
编程语言 时间:
2021-05-25 17:48:06
阅读次数:
0
1 #!/usr/bin/python3 2 #coding=utf-8 3 4 import sys 5 import os 6 import re 7 8 def renamefile(name1,name2): 9 os.rename(name1,name2) 10 11 def checkf ...
分类:
编程语言 时间:
2021-05-25 17:42:30
阅读次数:
0
Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They’re ...
分类:
其他好文 时间:
2021-05-24 16:46:31
阅读次数:
0