码迷,mamicode.com
首页 >  
搜索关键字:内存管理 alloc retain re    ( 22932个结果
redis源码阅读-数据结构篇-内存管理
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
python API获取音乐链接,歌手信息........
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
ip反查域名脚本
# -*- 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
JAVA递归示例2:实现区域树
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 字符串的匹配与替换
本文主要解析了 Python 中 re 模块的使用,进行字符串的匹配。分析了模块中各函数的功能作用与区别。 ...
分类:编程语言   时间:2021-06-02 10:59:15    阅读次数:0
Javascript 浮点数
在复习归并排序的时候,使用到了递归,我一直以为是递归函数没写对,导致了Maximum call stack size exceeded 栈溢出,但是其实是JavaScript浮点数的自动转换的问题! function sort(arry,left,right){ if(left right){ re ...
分类:编程语言   时间:2021-05-25 17:48:06    阅读次数:0
Python3 检查并去除文件空格
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
22932条   上一页 1 2 3 4 5 6 ... 2294 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!