longintlong
longintlong
https://github.com/Alinshans/MyTinySTL/blob/8d88c6e41590e49fb91782711f78d8ab1d5e88e4/MyTinySTL/vector.h#L727 这里如果异常释放新内存,不调用destory直接调用deallocate感觉会造成内存泄漏 ` data_allocator::destory(newStart, newFinish); data_allocator::deallocate(newStart, newCapacity); `
https://github.com/Alinshans/MyTinySTL/blob/8d88c6e41590e49fb91782711f78d8ab1d5e88e4/MyTinySTL/uninitialized.h#L194 请问大佬,unchecked_uninit_move这个函数如果vector的 reallocate_emplace 调用了该函数,但是移动了一部分的元素发生了异常,这时候那部分已经移动的元素该怎么处理呢,我看这个函数是光destory了新对象,但是并没有throw
Hi Pro.Li! I want to ask how can i test on my dataset? Thanks a lot!
大佬您好,感谢您的开源,想问一下RE关系抽取中数据集的vec.txt是怎么生成的? 再次感谢!
windows 上可以运行吗
您好,大佬,我这里关于您的mmap lab中的sys_munmap函数有一个问题 ``` if(addr == v->start){ writeback(v, addr, length); uvmunmap(p->pagetable, addr, length / PGSIZE, 1); if(length == v->length){ // free all fileclose(v->file); if(pre == 0){ p->vma = v->next; // head...