forked from ostis-ai/sc-machine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests][memory][fs-memory] Add tests for fs-memory segments
- Loading branch information
1 parent
f666de4
commit ba3bae2
Showing
13 changed files
with
429 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
sc-memory/sc-core/sc-store/sc-fs-memory/sc_fs_memory_status.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* This source file is part of an OSTIS project. For the latest info, see http://ostis.net | ||
* Distributed under the MIT License | ||
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) | ||
*/ | ||
|
||
#ifndef _sc_fs_memory_status_h_ | ||
#define _sc_fs_memory_status_h_ | ||
|
||
typedef enum _sc_fs_memory_status | ||
{ | ||
SC_FS_MEMORY_OK = 0, | ||
|
||
SC_FS_MEMORY_NO, // no memory, it is null_ptr or not correct | ||
SC_FS_MEMORY_NO_STRING, | ||
SC_FS_MEMORY_WRONG_PATH, | ||
SC_FS_MEMORY_WRITE_ERROR, | ||
SC_FS_MEMORY_READ_ERROR | ||
} sc_fs_memory_status; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.