CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
memjournal_injectable_functions.json32 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "memjrnlRead",4    "function_signature": "static int memjrnlRead(\n  sqlite3_file *pJfd,    /* The journal file from which to read */\n  void *zBuf,            /* Put the results here */\n  int iAmt,              /* Number of bytes to read */\n  sqlite_int64 iOfst     /* Begin reading at this offset */\n)",5    "test_filename": "tests_memjournal_memjrnlRead.c"6  },7  {8    "function_name": "memjrnlCreateFile",9    "function_signature": "static int memjrnlCreateFile(MemJournal *p)",10    "test_filename": "tests_memjournal_memjrnlCreateFile.c"11  },12  {13    "function_name": "memjrnlWrite",14    "function_signature": "static int memjrnlWrite(\n  sqlite3_file *pJfd,    /* The journal file into which to write */\n  const void *zBuf,      /* Take data to be written from here */\n  int iAmt,              /* Number of bytes to write */\n  sqlite_int64 iOfst     /* Begin writing at this offset into the file */\n)",15    "test_filename": "tests_memjournal_memjrnlWrite.c"16  },17  {18    "function_name": "memjrnlTruncate",19    "function_signature": "static int memjrnlTruncate(sqlite3_file *pJfd, sqlite_int64 size)",20    "test_filename": "tests_memjournal_memjrnlTruncate.c"21  },22  {23    "function_name": "sqlite3JournalOpen",24    "function_signature": "int sqlite3JournalOpen(\n  sqlite3_vfs *pVfs,         /* The VFS to use for actual file I/O */\n  const char *zName,         /* Name of the journal file */\n  sqlite3_file *pJfd,        /* Preallocated, blank file handle */\n  int flags,                 /* Opening flags */\n  int nSpill                 /* Bytes buffered before opening the file */\n)",25    "test_filename": "tests_memjournal_sqlite3JournalOpen.c"26  },27  {28    "function_name": "sqlite3JournalCreate",29    "function_signature": "int sqlite3JournalCreate(sqlite3_file *pJfd)",30    "test_filename": "tests_memjournal_sqlite3JournalCreate.c"31  }32]