003 File Manager
Current Path:
/usr/src/contrib/subversion/subversion/libsvn_fs_fs
usr
/
src
/
contrib
/
subversion
/
subversion
/
libsvn_fs_fs
/
📁
..
📄
cached_data.c
(131.44 KB)
📄
cached_data.h
(8.21 KB)
📄
caching.c
(32.09 KB)
📄
dag.c
(43.53 KB)
📄
dag.h
(23.1 KB)
📄
dump-index.c
(3.26 KB)
📄
fs.c
(22.44 KB)
📄
fs.h
(25.91 KB)
📄
fs_fs.c
(91.59 KB)
📄
fs_fs.h
(16.56 KB)
📄
fs_init.h
(1.26 KB)
📄
hotcopy.c
(43.96 KB)
📄
hotcopy.h
(2.19 KB)
📄
id.c
(16.58 KB)
📄
id.h
(6.16 KB)
📄
index.c
(120.67 KB)
📄
index.h
(14.71 KB)
📄
libsvn_fs_fs.pc.in
(390 B)
📄
load-index.c
(6.58 KB)
📄
lock.c
(44.12 KB)
📄
lock.h
(4.31 KB)
📄
low_level.c
(42.96 KB)
📄
low_level.h
(9.79 KB)
📄
pack.c
(77.28 KB)
📄
pack.h
(2.75 KB)
📄
recovery.c
(18.43 KB)
📄
recovery.h
(1.49 KB)
📄
rep-cache-db.h
(2.63 KB)
📄
rep-cache-db.sql
(3.17 KB)
📄
rep-cache.c
(13.1 KB)
📄
rep-cache.h
(4.07 KB)
📄
rev_file.c
(10.51 KB)
📄
rev_file.h
(5.8 KB)
📄
revprops.c
(57.26 KB)
📄
revprops.h
(7.8 KB)
📄
stats.c
(49.17 KB)
📄
structure
(33.72 KB)
📄
structure-indexes
(13.09 KB)
📄
temp_serializer.c
(44.84 KB)
📄
temp_serializer.h
(14.16 KB)
📄
transaction.c
(146.44 KB)
📄
transaction.h
(12.03 KB)
📄
tree.c
(169.05 KB)
📄
tree.h
(4.04 KB)
📄
util.c
(20.87 KB)
📄
util.h
(15 KB)
📄
verify.c
(33.4 KB)
📄
verify.h
(1.87 KB)
Editing: rep-cache-db.h
/* This file is automatically generated from rep-cache-db.sql and token-map.h. * Do not edit this file -- edit the source and rerun gen-make.py */ #define STMT_CREATE_SCHEMA_V1 0 #define STMT_0_INFO {"STMT_CREATE_SCHEMA_V1", NULL} #define STMT_0 \ "CREATE TABLE rep_cache ( " \ " hash TEXT NOT NULL PRIMARY KEY, " \ " revision INTEGER NOT NULL, " \ " offset INTEGER NOT NULL, " \ " size INTEGER NOT NULL, " \ " expanded_size INTEGER NOT NULL " \ " ); " \ "PRAGMA USER_VERSION = 1; " \ "" #define STMT_CREATE_SCHEMA_V2 1 #define STMT_1_INFO {"STMT_CREATE_SCHEMA_V2", NULL} #define STMT_1 \ "CREATE TABLE rep_cache ( " \ " hash TEXT NOT NULL PRIMARY KEY, " \ " revision INTEGER NOT NULL, " \ " offset INTEGER NOT NULL, " \ " size INTEGER NOT NULL, " \ " expanded_size INTEGER NOT NULL " \ " ) WITHOUT ROWID; " \ "PRAGMA USER_VERSION = 2; " \ "" #define STMT_GET_REP 2 #define STMT_2_INFO {"STMT_GET_REP", NULL} #define STMT_2 \ "SELECT revision, offset, size, expanded_size " \ "FROM rep_cache " \ "WHERE hash = ?1 " \ "" #define STMT_SET_REP 3 #define STMT_3_INFO {"STMT_SET_REP", NULL} #define STMT_3 \ "INSERT OR IGNORE INTO rep_cache (hash, revision, offset, size, expanded_size) " \ "VALUES (?1, ?2, ?3, ?4, ?5) " \ "" #define STMT_GET_REPS_FOR_RANGE 4 #define STMT_4_INFO {"STMT_GET_REPS_FOR_RANGE", NULL} #define STMT_4 \ "SELECT hash, revision, offset, size, expanded_size " \ "FROM rep_cache " \ "WHERE revision >= ?1 AND revision <= ?2 " \ "" #define STMT_GET_MAX_REV 5 #define STMT_5_INFO {"STMT_GET_MAX_REV", NULL} #define STMT_5 \ "SELECT MAX(revision) " \ "FROM rep_cache " \ "" #define STMT_DEL_REPS_YOUNGER_THAN_REV 6 #define STMT_6_INFO {"STMT_DEL_REPS_YOUNGER_THAN_REV", NULL} #define STMT_6 \ "DELETE FROM rep_cache " \ "WHERE revision > ?1 " \ "" #define STMT_LOCK_REP 7 #define STMT_7_INFO {"STMT_LOCK_REP", NULL} #define STMT_7 \ "BEGIN TRANSACTION; " \ "INSERT INTO rep_cache VALUES ('dummy', 0, 0, 0, 0) " \ "" #define STMT_UNLOCK_REP 8 #define STMT_8_INFO {"STMT_UNLOCK_REP", NULL} #define STMT_8 \ "ROLLBACK TRANSACTION; " \ "" #define REP_CACHE_DB_SQL_DECLARE_STATEMENTS(varname) \ static const char * const varname[] = { \ STMT_0, \ STMT_1, \ STMT_2, \ STMT_3, \ STMT_4, \ STMT_5, \ STMT_6, \ STMT_7, \ STMT_8, \ NULL \ } #define REP_CACHE_DB_SQL_DECLARE_STATEMENT_INFO(varname) \ static const char * const varname[][2] = { \ STMT_0_INFO, \ STMT_1_INFO, \ STMT_2_INFO, \ STMT_3_INFO, \ STMT_4_INFO, \ STMT_5_INFO, \ STMT_6_INFO, \ STMT_7_INFO, \ STMT_8_INFO, \ {NULL, NULL} \ }
Upload File
Create Folder