Ai
5 Star 27 Fork 0

Gitee 极速下载/neovim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/neovim/neovim
克隆/下载
memfile.h 704 Bytes
一键复制 编辑 原始数据 按行查看 历史
#pragma once
#include "nvim/memfile_defs.h" // IWYU pragma: keep
#include "nvim/types_defs.h" // IWYU pragma: keep
/// flags for mf_sync()
enum {
MFS_ALL = 1, ///< also sync blocks with negative numbers
MFS_STOP = 2, ///< stop syncing when a character is available
MFS_FLUSH = 4, ///< flushed file to disk
MFS_ZERO = 8, ///< only write block 0
};
enum {
/// Minimal size for block 0 of a swap file.
/// NOTE: This depends on size of struct block0! It's not done with a sizeof(),
/// because struct block0 is defined in memline.c (Sorry).
/// The maximal block size is arbitrary.
MIN_SWAP_PAGE_SIZE = 1048,
MAX_SWAP_PAGE_SIZE = 50000,
};
#include "memfile.h.generated.h"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/neovim.git
git@gitee.com:mirrors/neovim.git
mirrors
neovim
neovim
master

搜索帮助