/** * Calculate the size of the mempool header. * * @param mp * Pointer to the memory pool. * @param cs * Size of the per-lcore cache. */ #define MEMP ...
分类:
其他好文 时间:
2020-09-18 01:52:20
阅读次数:
30
前端目标代码: <ul v-loading="loading"> <li v-for="(item, index) in options" :key="index" :style="{ cursor: item.tic_parent_id != 0 ? 'pointer' : '' }" :clas ...
分类:
其他好文 时间:
2020-09-18 01:50:58
阅读次数:
24
21. 合并两个有序链表 - Merge Two Sorted Lists 题目:https://leetcode.com/problems/merge-two-sorted-lists/ /** * Definition for singly-linked list. * struct ListN ...
分类:
其他好文 时间:
2020-09-17 23:54:26
阅读次数:
31
When searching google with the keywords 'n-way anova python', you almost get nothing but one-way/two-way ANOVA from scipy. I developed a C++ version y ...
分类:
编程语言 时间:
2020-09-17 21:33:43
阅读次数:
31
零、前言 最近一直在做人脸识别相关的应用。 主要就是使用海康的摄像头抓拍、录制视频,使用虹软的sdk进行人脸识别,使用jna调用这些sdk。 海康的sdk在使用时遭遇了很多问题,主要问题就是window下开发,Linux下部署,但是海康在Linux、win下的sdk并不一致,导致出现在win上开发运 ...
今天写代码是这个错误“munmap_chunk(): invalid pointer” 这个错误其实是使用new 申请空间后,再次对申请的空间进行分配,最后释放的时候的多次释放。 比如这样一段代码 size_t len = ????; uint8_t *data[2]; uint8_t* temp ...
分类:
其他好文 时间:
2020-09-17 19:53:24
阅读次数:
33
topic:ThreeSum 目标:用于统计一个数组中和为 0 的三元组数量,每个三元组都不重复 方法 方法一:最简单方法 方法二:先排序,对两元素求和,再用二分查找寻找相反数 方法三:先排序,再用左右两指针查找一个数的相反数 方法一:最简单方法 public class ThreeSumSlow ...
分类:
编程语言 时间:
2020-09-17 18:58:54
阅读次数:
29
Bridge Pattern 概念 桥接模式,待补充 Pimpl Pattern 概念 Pointer to Implementation,即在 handle class 内通过一个私有的成员指针变量,将指针所指向的 implementation class 的内部成员进行隐藏 优点 降低模块间耦合 ...
分类:
其他好文 时间:
2020-09-17 15:42:50
阅读次数:
31
转自:https://blog.csdn.net/weixin_41796631/article/details/82939585 ...
分类:
Web程序 时间:
2020-09-17 15:31:08
阅读次数:
35
There are two variants of SQL statement execution defined in SAP note 2000002 – FAQ: SAP HANA SQL Optimization. The difference is how the where condit ...
分类:
数据库 时间:
2020-09-15 20:58:55
阅读次数:
57