text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: src/nvim/charset.c /// @file charset.c /// /// Code related to character sets. #include <assert.h> #include <errno.h> #include <inttypes.h> #include <limits.h> #include <stdlib.h> #include <string.h> #include <uv.h> #include "auto/config.h" #include "klib/kvec.h" #include "nvim/ascii_defs.h" #include "nvim/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/charset.c", "license": "mit", "size": 41365}
### File: src/nvim/charset.h #pragma once #include <stdbool.h> #include <stdint.h> #include "nvim/option_vars.h" #include "nvim/strings.h" // IWYU pragma: keep /// Flags for vim_str2nr() typedef enum { STR2NR_DEC = 0, STR2NR_BIN = (1 << 0), ///< Allow binary numbers. STR2NR_OCT = (1 << 1), ///< Allow octal ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/charset.h", "license": "mit", "size": 1396}
### File: src/nvim/cmdexpand.c // cmdexpand.c: functions for command-line completion #include <assert.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <uv.h> #include "nvim/api/private/defs.h" #include "nvim/api/private/helpers.h" #include "nvim/arglist.h...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cmdexpand.c", "license": "mit", "size": 106751}
### File: src/nvim/cmdexpand.h #pragma once #include "nvim/cmdexpand_defs.h" // IWYU pragma: keep #include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/ex_getln_defs.h" // IWYU pragma: keep #include "nvim/garray_defs.h" // IWYU pragma: keep #include "nvim/regexp_defs.h" // IWYU pragma: keep #incl...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cmdexpand.h", "license": "mit", "size": 1362}
### File: src/nvim/cmdexpand_defs.h #pragma once #include <stdbool.h> #include <stddef.h> #include "nvim/eval/typval_defs.h" typedef enum { XP_PREFIX_NONE, ///< prefix not used XP_PREFIX_NO, ///< "no" prefix for bool option XP_PREFIX_INV, ///< "inv" prefix for bool option } xp_prefix_T; enum { EXPAND_BU...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cmdexpand_defs.h", "license": "mit", "size": 3201}
### File: src/nvim/cmdhist.c // cmdhist.c: Functions for the history of the command-line. #include <assert.h> #include <limits.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/charset.h" #include "nvim/cmdexpand_defs.h" #include "nvim/cmdhi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cmdhist.c", "license": "mit", "size": 21559}
### File: src/nvim/cmdhist.h #pragma once #include "nvim/cmdexpand_defs.h" // IWYU pragma: keep #include "nvim/eval/typval_defs.h" #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/os/time_defs.h" #include "nvim/types_defs.h" // IWYU pragma: keep /// Present history tables typedef enum { HIST_DE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cmdhist.h", "license": "mit", "size": 1108}
### File: src/nvim/context.c // Context: snapshot of the entire editor state as one big object/map #include <assert.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "nvim/api/keysets_defs.h" #include "nvim/api/private/converter.h" #include "nvim/api/private/defs.h" #include ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/context.c", "license": "mit", "size": 8695}
### File: src/nvim/context.h #pragma once #include <msgpack/sbuffer.h> #include <stddef.h> #include "klib/kvec.h" #include "nvim/api/private/defs.h" typedef struct { String regs; ///< Registers. String jumps; ///< Jumplist. String bufs; ///< Buffer list. String gvars; ///< Global variables. A...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/context.h", "license": "mit", "size": 923}
### File: src/nvim/cursor.c #include <assert.h> #include <inttypes.h> #include <stdbool.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/assert_defs.h" #include "nvim/buffer_defs.h" #include "nvim/change.h" #include "nvim/cursor.h" #include "nvim/drawscreen.h" #include "nvim/fold.h" #include "nvim/gl...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cursor.c", "license": "mit", "size": 15131}
### File: src/nvim/cursor.h #pragma once #include "nvim/pos_defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "cursor.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cursor.h", "license": "mit", "size": 193}
### File: src/nvim/cursor_shape.c #include <stdbool.h> #include <stdint.h> #include <string.h> #include "nvim/api/private/defs.h" #include "nvim/api/private/helpers.h" #include "nvim/ascii_defs.h" #include "nvim/charset.h" #include "nvim/cursor_shape.h" #include "nvim/ex_getln.h" #include "nvim/gettext_defs.h" #includ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cursor_shape.c", "license": "mit", "size": 12226}
### File: src/nvim/cursor_shape.h #pragma once #include "nvim/api/private/defs.h" // IWYU pragma: keep #include "nvim/memory_defs.h" // IWYU pragma: keep /// struct to store values from 'guicursor' and 'mouseshape' /// Indexes in shape_table[] typedef enum { SHAPE_IDX_N = 0, ///< Normal mode SHAPE_ID...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/cursor_shape.h", "license": "mit", "size": 2494}
### File: src/nvim/debugger.c /// @file debugger.c /// /// Vim script debugger functions #include <inttypes.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/buffer_defs.h" #include "nvim/charset.h" #include "nvim/cmdexpand_defs.h" #include "nvim/debugger.h" #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/debugger.c", "license": "mit", "size": 24157}
### File: src/nvim/debugger.h #pragma once #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "debugger.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/debugger.h", "license": "mit", "size": 148}
### File: src/nvim/decoration.c #include <assert.h> #include <limits.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include "nvim/api/extmark.h" #include "nvim/api/private/defs.h" #include "nvim/api/private/helpers.h" #include "nvim/ascii_defs.h" #include "nvim/buffer.h" #include "nvim/buffer_defs.h" ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/decoration.c", "license": "mit", "size": 33497}
### File: src/nvim/decoration.h #pragma once #include <stdbool.h> #include <stddef.h> // IWYU pragma: keep #include <stdint.h> #include "klib/kvec.h" #include "nvim/decoration_defs.h" // IWYU pragma: keep #include "nvim/macros_defs.h" #include "nvim/marktree_defs.h" #include "nvim/pos_defs.h" // IWYU pragma: keep ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/decoration.h", "license": "mit", "size": 2363}
### File: src/nvim/decoration_defs.h #pragma once #include <stdint.h> #include "klib/kvec.h" #include "nvim/api/private/defs.h" #include "nvim/types_defs.h" #define DECOR_ID_INVALID UINT32_MAX typedef struct { char *text; int hl_id; ///< -1 if not specified } VirtTextChunk; typedef kvec_t(VirtTextChunk) VirtT...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/decoration_defs.h", "license": "mit", "size": 3585}
### File: src/nvim/decoration_provider.c #include <assert.h> #include <lauxlib.h> #include <stdint.h> #include <string.h> #include "klib/kvec.h" #include "nvim/api/extmark.h" #include "nvim/api/private/defs.h" #include "nvim/api/private/helpers.h" #include "nvim/buffer_defs.h" #include "nvim/decoration.h" #include "nv...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/decoration_provider.c", "license": "mit", "size": 8968}
### File: src/nvim/decoration_provider.h #pragma once #include <stdbool.h> #include "nvim/decoration_defs.h" // IWYU pragma: keep #include "nvim/macros_defs.h" #include "nvim/types_defs.h" // IWYU pragma: keep EXTERN bool provider_active INIT( = false); #ifdef INCLUDE_GENERATED_DECLARATIONS # include "decoration_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/decoration_provider.h", "license": "mit", "size": 310}
### File: src/nvim/diff.c /// @file diff.c /// /// Code for diff'ing two, three or four buffers. /// /// There are three ways to diff: /// - Shell out to an external diff program, using files. /// - Use the compiled-in xdiff library. /// - Let 'diffexpr' do the work, using files. #include <assert.h> #include <ctype.h>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/diff.c", "license": "mit", "size": 99628}
### File: src/nvim/diff.h #pragma once #include <stdbool.h> #include "nvim/buffer_defs.h" // IWYU pragma: keep #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/macros_defs.h" #include "nvim/pos_defs.h" // IWYU pragma: keep // Value set from 'diffopt'. EXTERN int diff_context INIT( = 6); ///< co...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/diff.h", "license": "mit", "size": 587}
### File: src/nvim/digraph.c /// @file digraph.c /// /// code for digraphs #include <assert.h> #include <inttypes.h> #include <stdbool.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/buffer_defs.h" #include "nvim/charset.h" #include "nvim/digraph.h" #include "nvim/drawscreen.h" #include "nvim/error...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/digraph.c", "license": "mit", "size": 55473}
### File: src/nvim/digraph.h #pragma once #include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/garray_defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "digraph.h.gene...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/digraph.h", "license": "mit", "size": 307}
### File: src/nvim/drawline.c // drawline.c: Functions for drawing window lines on the screen. // This is the middle level, drawscreen.c is the top and grid.c the lower level. #include <assert.h> #include <limits.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/drawline.c", "license": "mit", "size": 109389}
### File: src/nvim/drawline.h #pragma once #include <stdbool.h> #include <stdint.h> #include "klib/kvec.h" #include "nvim/fold_defs.h" // IWYU pragma: keep #include "nvim/macros_defs.h" #include "nvim/pos_defs.h" #include "nvim/types_defs.h" enum { TERM_ATTRS_MAX = 1024, }; ///< Maximum columns for terminal highli...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/drawline.h", "license": "mit", "size": 1155}
### File: src/nvim/drawscreen.c // drawscreen.c: Code for updating all the windows on the screen. // This is the top level, drawline.c is the middle and grid.c the lower level. // update_screen() is the function that updates all windows and status lines. // It is called from the main loop when must_redraw is non-zero....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/drawscreen.c", "license": "mit", "size": 94105}
### File: src/nvim/drawscreen.h #pragma once #include <stdbool.h> #include "nvim/buffer_defs.h" #include "nvim/macros_defs.h" /// flags for update_screen() /// The higher the value, the higher the priority enum { UPD_VALID = 10, ///< buffer not changed, or changes marked with b_mod_* UPD_INVERTED = 2...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/drawscreen.h", "license": "mit", "size": 1359}
### File: src/nvim/edit.c // edit.c: functions for Insert mode #include <assert.h> #include <ctype.h> #include <inttypes.h> #include <stdbool.h> #include <string.h> #include <uv.h> #include "nvim/ascii_defs.h" #include "nvim/autocmd.h" #include "nvim/autocmd_defs.h" #include "nvim/buffer.h" #include "nvim/buffer_defs...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/edit.c", "license": "mit", "size": 141452}
### File: src/nvim/edit.h #pragma once #include "nvim/autocmd_defs.h" // IWYU pragma: keep #include "nvim/pos_defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep /// Values for in_cinkeys() enum { KEY_OPEN_FORW = 0x101, KEY_OPEN_BACK = 0x102, KEY_COMPLETE = 0x103, ///< end of com...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/edit.h", "license": "mit", "size": 1045}
### File: src/nvim/errors.h #pragma once #include "nvim/gettext_defs.h" #include "nvim/macros_defs.h" // // Shared error messages. Excludes errors only used once and debugging messages. // // uncrustify:off EXTERN const char e_abort[] INIT(= N_("E470: Command aborted")); EXTERN const char e_afterinit[] INIT(= N_("E90...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/errors.h", "license": "mit", "size": 12990}
### File: src/nvim/eval.c // eval.c: Expression evaluation. #include <assert.h> #include <ctype.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <uv.h> #include "auto/config.h" #include "nvim/api/private/converter.h" #include "nvim/api/private/defs.h" #inc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval.c", "license": "mit", "size": 265179}
### File: src/nvim/eval.h #pragma once #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "nvim/channel_defs.h" // IWYU pragma: keep #include "nvim/cmdexpand_defs.h" // IWYU pragma: keep #include "nvim/eval/typval_defs.h" #include "nvim/eval_defs.h" // IWYU pragma: keep #include "nvim/event/defs...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval.h", "license": "mit", "size": 7546}
### File: src/nvim/eval.lua -- File containing table with all functions. -- -- Keys: -- --- @class vim.EvalFn --- @field name? string --- @field args? integer|integer[] Number of arguments, list with maximum and minimum number of arguments --- or list with a minimum number of arguments only. Defaults to zero --- ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval.lua", "license": "mit", "size": 473886}
### File: src/nvim/eval/buffer.c // eval/buffer.c: Buffer related builtin functions #include <stdbool.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/autocmd.h" #include "nvim/autocmd_defs.h" #include "nvim/buffer.h" #include "nvim/buffer_defs.h" #include "nvim/change.h" #include "nvim/cursor.h" #i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/buffer.c", "license": "mit", "size": 20556}
### File: src/nvim/eval/buffer.h #pragma once #include "nvim/buffer_defs.h" // IWYU pragma: keep #include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "eval/buffer.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/buffer.h", "license": "mit", "size": 258}
### File: src/nvim/eval/decode.c #include <assert.h> #include <msgpack/object.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "klib/kvec.h" #include "nvim/ascii_defs.h" #include "nvim/charset.h" #include "nvim/eval.h" #include "nvim/eval/decode.h" #inclu...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/decode.c", "license": "mit", "size": 36893}
### File: src/nvim/eval/decode.h #pragma once #include <msgpack.h> // IWYU pragma: keep #include <stddef.h> // IWYU pragma: keep #include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "eval/decode.h.generated.h" #e...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/decode.h", "license": "mit", "size": 292}
### File: src/nvim/eval/encode.c /// @file encode.c /// /// File containing functions for encoding and decoding Vimscript values. /// /// Split out from eval.c. #include <assert.h> #include <inttypes.h> #include <math.h> #include <stdbool.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include "klib/k...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/encode.c", "license": "mit", "size": 32997}
### File: src/nvim/eval/encode.h #pragma once #include <msgpack/pack.h> #include <string.h> #include "nvim/eval/typval_defs.h" #include "nvim/garray_defs.h" #include "nvim/msgpack_rpc/packer_defs.h" /// Convert Vimscript value to msgpack string /// /// @param[out] packer Packer to save results in. /// @param[in] ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/encode.h", "license": "mit", "size": 1825}
### File: src/nvim/eval/executor.c #include <inttypes.h> #include <stdlib.h> #include "nvim/errors.h" #include "nvim/eval.h" #include "nvim/eval/executor.h" #include "nvim/eval/typval.h" #include "nvim/eval/typval_defs.h" #include "nvim/garray.h" #include "nvim/gettext_defs.h" #include "nvim/globals.h" #include "nvim/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/executor.c", "license": "mit", "size": 4320}
### File: src/nvim/eval/executor.h #pragma once #include "nvim/eval/typval_defs.h" // IWYU pragma: keep extern char *e_list_index_out_of_range_nr; #ifdef INCLUDE_GENERATED_DECLARATIONS # include "eval/executor.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/executor.h", "license": "mit", "size": 201}
### File: src/nvim/eval/funcs.c #include <assert.h> #include <fcntl.h> #include <float.h> #include <inttypes.h> #include <limits.h> #include <math.h> #include <msgpack/object.h> #include <msgpack/pack.h> #include <msgpack/unpack.h> #include <signal.h> #include <stdarg.h> #include <stddef.h> #include <stdio.h> #include ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/funcs.c", "license": "mit", "size": 261956}
### File: src/nvim/eval/funcs.h #pragma once #include <stdbool.h> #include <stdint.h> #include "nvim/cmdexpand_defs.h" // IWYU pragma: keep #include "nvim/eval/typval_defs.h" #include "nvim/pos_defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" /// Prototype of C function that implements Vimscript function ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/funcs.h", "license": "mit", "size": 1148}
### File: src/nvim/eval/gc.c #include <stddef.h> #include "nvim/eval/gc.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "eval/gc.c.generated.h" // IWYU pragma: export #endif /// Head of list of all dictionaries dict_T *gc_first_dict = NULL; /// Head of list of all lists list_T *gc_first_list = NULL;
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/gc.c", "license": "mit", "size": 279}
### File: src/nvim/eval/gc.h #pragma once #include "nvim/eval/typval_defs.h" extern dict_T *gc_first_dict; extern list_T *gc_first_list; #ifdef INCLUDE_GENERATED_DECLARATIONS # include "eval/gc.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/gc.h", "license": "mit", "size": 190}
### File: src/nvim/eval/typval.c #include <assert.h> #include <lauxlib.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <uv.h> #include "nvim/ascii_defs.h" #include "nvim/assert_defs.h" #include "nvim/charset.h" #include "nvim/errors.h" #include "nvim/eval...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/typval.c", "license": "mit", "size": 129609}
### File: src/nvim/eval/typval.h #pragma once #include <assert.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/gettext_defs.h" #include "nvim/hashtab.h" #include "nvim/lib/queue_defs.h" #include "nvim/macros_de...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/typval.h", "license": "mit", "size": 12246}
### File: src/nvim/eval/typval_defs.h #pragma once #include <inttypes.h> #include <limits.h> #include <stdbool.h> #include "nvim/garray_defs.h" #include "nvim/hashtab_defs.h" #include "nvim/lib/queue_defs.h" #include "nvim/pos_defs.h" #include "nvim/types_defs.h" /// Type used for Vimscript VAR_NUMBER values typedef...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/typval_defs.h", "license": "mit", "size": 14398}
### File: src/nvim/eval/typval_encode.c.h // uncrustify:off /// @file eval/typval_encode.c.h /// /// Contains set of macros used to convert (possibly recursive) typval_T into /// something else. For these macros to work the following macros must be /// defined: /// @def TYPVAL_ENCODE_CHECK_BEFORE /// @brief Macro use...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/typval_encode.c.h", "license": "mit", "size": 33367}
### File: src/nvim/eval/typval_encode.h /// @file eval/typval_encode.h /// /// Contains common definitions for eval/typval_encode.c.h. Most of time should /// not be included directly. #pragma once #include <assert.h> #include <inttypes.h> #include <stddef.h> #include <string.h> #include "klib/kvec.h" #include "nvim/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/typval_encode.h", "license": "mit", "size": 5147}
### File: src/nvim/eval/userfunc.c // User defined function support #include <assert.h> #include <ctype.h> #include <inttypes.h> #include <lauxlib.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/autocmd.h" #include "nvim/autocmd_defs.h" #include "nvim/buffer_d...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/userfunc.c", "license": "mit", "size": 118367}
### File: src/nvim/eval/userfunc.h #pragma once #include <stdbool.h> #include <stddef.h> #include "nvim/cmdexpand_defs.h" // IWYU pragma: keep #include "nvim/eval/typval_defs.h" #include "nvim/eval_defs.h" // IWYU pragma: keep #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/hashtab_defs.h" // I...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/userfunc.h", "license": "mit", "size": 3504}
### File: src/nvim/eval/vars.c // eval/vars.c: functions for dealing with variables #include <assert.h> #include <ctype.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <uv.h> #include "nvim/ascii_defs.h" #include "nvim/autocmd.h" #include "nvim/autocmd_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/vars.c", "license": "mit", "size": 64606}
### File: src/nvim/eval/vars.h #pragma once #include <stddef.h> // IWYU pragma: keep #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/garray_defs.h" // IWYU pragma: keep #include "nvim/hashtab_defs.h" // IWYU pragma: keep #include "nvim/option_defs.h" // IWYU pragma: keep #include "nvim/types_d...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/vars.h", "license": "mit", "size": 400}
### File: src/nvim/eval/window.c // eval/window.c: Window related builtin functions #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/autocmd.h" #include "nvim/buffer.h" #include "nvim/cursor.h" #include "nvim/errors.h" #inc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/window.c", "license": "mit", "size": 26527}
### File: src/nvim/eval/window.h #pragma once #include <stdbool.h> #include "nvim/buffer_defs.h" #include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/os/os_defs.h" #include "nvim/pos_defs.h" #include "nvim/types_defs.h" /// Structure used by switch_win() to pass values to restore_win() typedef str...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval/window.h", "license": "mit", "size": 743}
### File: src/nvim/eval_defs.h #pragma once #include "nvim/ex_cmds_defs.h" /// All recognized msgpack types typedef enum { kMPNil, kMPBoolean, kMPInteger, kMPFloat, kMPString, kMPArray, kMPMap, kMPExt, } MessagePackType; #define NUM_MSGPACK_TYPES (kMPExt + 1) /// Struct passed through eval() function...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/eval_defs.h", "license": "mit", "size": 694}
### File: src/nvim/event/defs.h #pragma once #include <assert.h> #include <stdarg.h> #include <stdbool.h> #include <uv.h> #include "nvim/eval/typval_defs.h" #include "nvim/types_defs.h" enum { EVENT_HANDLER_MAX_ARGC = 10, }; typedef void (*argv_callback)(void **argv); typedef struct { argv_callback handler; voi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/defs.h", "license": "mit", "size": 4192}
### File: src/nvim/event/libuv_process.c #include <assert.h> #include <locale.h> #include <stdint.h> #include <uv.h> #include "nvim/eval/typval.h" #include "nvim/event/defs.h" #include "nvim/event/libuv_process.h" #include "nvim/event/loop.h" #include "nvim/event/process.h" #include "nvim/log.h" #include "nvim/os/os.h...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/libuv_process.c", "license": "mit", "size": 3950}
### File: src/nvim/event/libuv_process.h #pragma once #include <uv.h> #include "nvim/event/defs.h" typedef struct { Process process; uv_process_t uv; uv_process_options_t uvopts; uv_stdio_container_t uvstdio[4]; } LibuvProcess; #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/libuv_process.h.generated...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/libuv_process.h", "license": "mit", "size": 290}
### File: src/nvim/event/loop.c #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <uv.h> #include "nvim/event/loop.h" #include "nvim/event/multiqueue.h" #include "nvim/log.h" #include "nvim/memory.h" #include "nvim/os/time.h" #include "nvim/types_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # inc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/loop.c", "license": "mit", "size": 6909}
### File: src/nvim/event/loop.h #pragma once #include <stdbool.h> #include <uv.h> #include "klib/klist.h" #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep typedef void *WatcherPtr; #define _NOOP(x) KLIST_INIT(WatcherPtr, WatcherPtr, _NOOP) struct loop { uv_loo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/loop.h", "license": "mit", "size": 1354}
### File: src/nvim/event/multiqueue.c // Multi-level queue for selective async event processing. // Not threadsafe; access must be synchronized externally. // // Multiqueue supports a parent-child relationship with these properties: // - pushing a node to a child queue will push a corresponding link node to the // pa...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/multiqueue.c", "license": "mit", "size": 8047}
### File: src/nvim/event/multiqueue.h #pragma once #include <stddef.h> // IWYU pragma: keep #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/os/time.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/multiqueue.h.generated.h" #endif #define multiqueue_put(q, h, ...) \ ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/multiqueue.h", "license": "mit", "size": 1475}
### File: src/nvim/event/process.c #include <assert.h> #include <inttypes.h> #include <signal.h> #include <uv.h> #include "klib/klist.h" #include "nvim/event/libuv_process.h" #include "nvim/event/loop.h" #include "nvim/event/multiqueue.h" #include "nvim/event/process.h" #include "nvim/event/rstream.h" #include "nvim/e...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/process.c", "license": "mit", "size": 12515}
### File: src/nvim/event/process.h #pragma once #include <stdbool.h> #include <stddef.h> #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" static inline Process process_init(Loop *loop, ProcessType type, void *data) { return (Process) { .type = type, .data = data, .loop = ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/process.h", "license": "mit", "size": 1096}
### File: src/nvim/event/rstream.c #include <assert.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <uv.h> #include "nvim/event/multiqueue.h" #include "nvim/event/rstream.h" #include "nvim/event/stream.h" #include "nvim/log.h" #include "nvim/macros_defs.h" #include "nvim/main.h" #include "nvim...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/rstream.c", "license": "mit", "size": 6697}
### File: src/nvim/event/rstream.h #pragma once #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/rstream.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/rstream.h", "license": "mit", "size": 202}
### File: src/nvim/event/signal.c #include <stddef.h> #include <uv.h> #include "nvim/event/defs.h" #include "nvim/event/loop.h" #include "nvim/event/multiqueue.h" #include "nvim/event/signal.h" #include "nvim/types_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/signal.c.generated.h" #endif void signa...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/signal.c", "license": "mit", "size": 1506}
### File: src/nvim/event/signal.h #pragma once #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/signal.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/signal.h", "license": "mit", "size": 201}
### File: src/nvim/event/socket.c #include <assert.h> #include <inttypes.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include <uv.h> #include "nvim/ascii_defs.h" #include "nvim/charset.h" #include "nvim/event/defs.h" #include "nvim/event/loop.h" #include "nvim/event/multiqueue.h" #include "nvim/even...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/socket.c", "license": "mit", "size": 7746}
### File: src/nvim/event/socket.h #pragma once #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/socket.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/socket.h", "license": "mit", "size": 201}
### File: src/nvim/event/stream.c #include <assert.h> #include <stdbool.h> #include <stddef.h> #include <uv.h> #include <uv/version.h> #include "nvim/event/defs.h" #include "nvim/event/loop.h" #include "nvim/event/stream.h" #include "nvim/log.h" #include "nvim/types_defs.h" #ifdef MSWIN # include "nvim/os/os_win_conso...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/stream.c", "license": "mit", "size": 4459}
### File: src/nvim/event/stream.h #pragma once #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/stream.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/stream.h", "license": "mit", "size": 201}
### File: src/nvim/event/time.c #include <stdbool.h> #include <stdint.h> #include <uv.h> #include "nvim/event/defs.h" #include "nvim/event/loop.h" #include "nvim/event/multiqueue.h" #include "nvim/event/time.h" #include "nvim/types_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/time.c.generated.h" #en...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/time.c", "license": "mit", "size": 1823}
### File: src/nvim/event/time.h #pragma once #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/time.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/time.h", "license": "mit", "size": 199}
### File: src/nvim/event/wstream.c #include <assert.h> #include <stdbool.h> #include <stddef.h> #include <uv.h> #include "nvim/event/defs.h" #include "nvim/event/stream.h" #include "nvim/event/wstream.h" #include "nvim/macros_defs.h" #include "nvim/memory.h" #include "nvim/types_defs.h" #define DEFAULT_MAXMEM 1024 * ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/wstream.c", "license": "mit", "size": 4314}
### File: src/nvim/event/wstream.h #pragma once #include "nvim/event/defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/wstream.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/event/wstream.h", "license": "mit", "size": 202}
### File: src/nvim/ex_cmds.c // ex_cmds.c: some functions for command line commands #include <assert.h> #include <ctype.h> #include <float.h> #include <inttypes.h> #include <limits.h> #include <math.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_cmds.c", "license": "mit", "size": 153397}
### File: src/nvim/ex_cmds.h #pragma once #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep /// flags for do_ecmd() enum { ECMD_HIDE = 0x01, ///< don't free the current buffer ECMD_SET_HELP = 0x02, ///< set b_help flag of (new) buffer before opening file ECMD_OLDBUF = 0x04, ///< use existing b...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_cmds.h", "license": "mit", "size": 849}
### File: src/nvim/ex_cmds.lua local bit = require 'bit' local M = {} -- Description of the values below is contained in ex_cmds_defs.h file. -- "EX_" prefix is omitted. local RANGE = 0x001 local BANG = 0x002 local EXTRA = 0x004 local XFILE = 0x008 local NOSPC = 0x010 local DFLALL = 0x020 local WHOLEFOLD = 0x040 loca...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_cmds.lua", "license": "mit", "size": 82614}
### File: src/nvim/ex_cmds2.c /// @file ex_cmds2.c /// /// Some more functions for command line commands #include <assert.h> #include <inttypes.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include "nvim/arglist.h" #include "nvim/ascii_defs.h" #include "nvim/autocmd.h" #include "nvim/autocmd_defs.h"...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_cmds2.c", "license": "mit", "size": 25068}
### File: src/nvim/ex_cmds2.h #pragma once #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep /// flags for check_changed() enum { CCGD_AW = 1, ///< do autowrite if buffer was changed CCGD_MULTWIN = 2, ///< check also when several wins for the buf CC...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_cmds2.h", "license": "mit", "size": 500}
### File: src/nvim/ex_cmds_defs.h #pragma once #include <stdbool.h> #include <stdint.h> #include "nvim/eval/typval_defs.h" #include "nvim/ex_eval_defs.h" #include "nvim/os/time_defs.h" #include "nvim/regexp_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ex_cmds_enum.generated.h" #endif // When adding an E...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_cmds_defs.h", "license": "mit", "size": 10784}
### File: src/nvim/ex_docmd.c // ex_docmd.c: functions for executing an Ex command line. #include <assert.h> #include <ctype.h> #include <inttypes.h> #include <limits.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <uv.h> #include "auto/config.h" #includ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_docmd.c", "license": "mit", "size": 230574}
### File: src/nvim/ex_docmd.h #pragma once #include <stdbool.h> #include "nvim/buffer_defs.h" // IWYU pragma: keep #include "nvim/cmdexpand_defs.h" // IWYU pragma: keep #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/getchar_defs.h" #include "nvim/types_defs.h" // IWYU pragma: keep #include "nv...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_docmd.h", "license": "mit", "size": 1459}
### File: src/nvim/ex_eval.c /// @file ex_eval.c /// /// Functions for Ex command line for the +eval feature. #include <assert.h> #include <inttypes.h> #include <limits.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include "nvim/ascii_defs.h" #include "nvim/charset.h" #include "nvim/debugger.h" #incl...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_eval.c", "license": "mit", "size": 71111}
### File: src/nvim/ex_eval.h #pragma once #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/ex_eval_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ex_eval.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_eval.h", "license": "mit", "size": 200}
### File: src/nvim/ex_eval_defs.h #pragma once #include <stdbool.h> #include "nvim/pos_defs.h" /// A list used for saving values of "emsg_silent". Used by ex_try() to save the /// value of "emsg_silent" if it was non-zero. When this is done, the CSF_SILENT /// flag below is set. typedef struct eslist_elem eslist_T...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_eval_defs.h", "license": "mit", "size": 5229}
### File: src/nvim/ex_getln.c // ex_getln.c: Functions for entering and editing an Ex command line. #include <assert.h> #include <inttypes.h> #include <limits.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "klib/kvec.h" #include "nvim/api/extmark.h" #incl...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_getln.c", "license": "mit", "size": 137315}
### File: src/nvim/ex_getln.h #pragma once #include <stddef.h> // IWYU pragma: keep #include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/ex_getln_defs.h" // IWYU pragma: keep #include "nvim/option_defs.h" // IWYU pragma: keep #include "nvim/ty...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_getln.h", "license": "mit", "size": 584}
### File: src/nvim/ex_getln_defs.h #pragma once #include <stdbool.h> #include "klib/kvec.h" #include "nvim/cmdexpand_defs.h" /// Command-line colors: one chunk /// /// Defines a region which has the same highlighting. typedef struct { int start; ///< Colored chunk start. int end; ///< Colored chunk end (exclus...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_getln_defs.h", "license": "mit", "size": 2841}
### File: src/nvim/ex_session.c // Functions for creating a session file, i.e. implementing: // :mkexrc // :mkvimrc // :mkview // :mksession #include <inttypes.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include "nvim/arglist.h" #include "nvim/arglist_defs.h" #include "nvim/ascii_defs.h" #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_session.c", "license": "mit", "size": 35138}
### File: src/nvim/ex_session.h #pragma once #include <stdio.h> // IWYU pragma: keep #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ex_session.h.generated.h" #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/ex_session.h", "license": "mit", "size": 192}
### File: src/nvim/extmark.c // Implements extended marks for plugins. Marks sit in a MarkTree // datastructure which provides both efficient mark insertations/lookups // and adjustment to text changes. See marktree.c for more details. // // A map of pointers to the marks is used for fast lookup by mark id. // // Marks...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/extmark.c", "license": "mit", "size": 24141}
### File: src/nvim/extmark.h #pragma once #include <stdbool.h> #include <stdint.h> #include "klib/kvec.h" #include "nvim/extmark_defs.h" // IWYU pragma: keep #include "nvim/macros_defs.h" #include "nvim/marktree_defs.h" #include "nvim/pos_defs.h" #include "nvim/types_defs.h" // IWYU pragma: keep EXTERN int curbuf_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/extmark.h", "license": "mit", "size": 1728}
### File: src/nvim/extmark_defs.h #pragma once #include "klib/kvec.h" // TODO(bfredl): good enough name for now. typedef ptrdiff_t bcount_t; typedef struct undo_object ExtmarkUndoObject; typedef kvec_t(ExtmarkUndoObject) extmark_undo_vec_t; // Undo/redo extmarks typedef enum { kExtmarkNOOP, // Extmarks sh...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/extmark_defs.h", "license": "mit", "size": 516}
### File: src/nvim/file_search.c // File searching functions for 'path', 'tags' and 'cdpath' options. // // External visible functions: // vim_findfile_init() creates/initialises the search context // vim_findfile_free_visited() free list of visited files/dirs of search // c...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/file_search.c", "license": "mit", "size": 52581}
### File: src/nvim/file_search.h #pragma once #include <stddef.h> // IWYU pragma: keep #include "nvim/types_defs.h" // IWYU pragma: keep #include "nvim/vim_defs.h" // IWYU pragma: keep /// Flags for find_file_*() functions. enum { FINDFILE_FILE = 0, ///< only files FINDFILE_DIR = 1, ///< only directories ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/neovim", "path": "src/nvim/file_search.h", "license": "mit", "size": 422}