mirror of
https://github.com/BreizhHardware/projetCGroupe8.git
synced 2026-03-18 21:30:32 +01:00
Fix the searchByFilm and add a Makefile
This commit is contained in:
Binary file not shown.
@@ -133,14 +133,11 @@ struct List* searchByTime(struct List* table[LENGTH], char* time){
|
|||||||
struct List* searchByCategory(struct List* table[LENGTH], char* category){
|
struct List* searchByCategory(struct List* table[LENGTH], char* category){
|
||||||
struct List* result = createEmptyList();
|
struct List* result = createEmptyList();
|
||||||
for(int i = 0;i<LENGTH;i++){
|
for(int i = 0;i<LENGTH;i++){
|
||||||
if(table[i]==NULL){
|
if(table[i] != NULL){
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
struct Cell* inter = table[i]->head;
|
struct Cell* inter = table[i]->head;
|
||||||
int length = table[i]->size;
|
int length = table[i]->size;
|
||||||
for(int j = 0;j<length;j++){
|
for(int j=0;j<length;j++){
|
||||||
if(inter->movie->category == category){
|
if(!strcmp(inter->movie->category,category)) {
|
||||||
addFirst(result,inter->movie);
|
addFirst(result,inter->movie);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -208,6 +205,8 @@ int readRequest(char* request, struct List* tableau[LENGTH], struct Filmotheque*
|
|||||||
fonction = strtok(line, ";");
|
fonction = strtok(line, ";");
|
||||||
argument = strtok(NULL, ";");
|
argument = strtok(NULL, ";");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (strcmp(fonction, "searchByDirector") == 0) {
|
if (strcmp(fonction, "searchByDirector") == 0) {
|
||||||
clock_t start;
|
clock_t start;
|
||||||
toLowercase(argument);
|
toLowercase(argument);
|
||||||
@@ -242,6 +241,17 @@ int readRequest(char* request, struct List* tableau[LENGTH], struct Filmotheque*
|
|||||||
deleteFile();
|
deleteFile();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
else if (strcmp(fonction, "searchByFilm") == 0){
|
||||||
|
clock_t start;
|
||||||
|
start = clock();
|
||||||
|
struct List* result = searchByFilm(tableau, argument);
|
||||||
|
start = clock() - start;
|
||||||
|
double time_taken = ((double) start) / CLOCKS_PER_SEC;
|
||||||
|
printResultInFile(result, time_taken);
|
||||||
|
delay(2);
|
||||||
|
deleteFile();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
else if (strcmp(fonction,"searchRealMostMovie") == 0) {
|
else if (strcmp(fonction,"searchRealMostMovie") == 0) {
|
||||||
clock_t start;
|
clock_t start;
|
||||||
start = clock();
|
start = clock();
|
||||||
|
|||||||
BIN
BackEnd/Filmotheque.o
Normal file
BIN
BackEnd/Filmotheque.o
Normal file
Binary file not shown.
BIN
BackEnd/List.o
Normal file
BIN
BackEnd/List.o
Normal file
Binary file not shown.
@@ -1,6 +1,5 @@
|
|||||||
CC=gcc -fsanitize=address
|
CC=gcc
|
||||||
CPPFLAGS= -MMD -D_XOPEN_SOURCE=500
|
CFLAGS= -Wall
|
||||||
CFLAGS= -Wall -std=c11 -O2
|
|
||||||
DEBUG=-fsanitize=address -g
|
DEBUG=-fsanitize=address -g
|
||||||
|
|
||||||
SRC = Filmotheque.c main.c Movie.c NodeTrie.c List.c
|
SRC = Filmotheque.c main.c Movie.c NodeTrie.c List.c
|
||||||
@@ -11,9 +10,11 @@ DEP = ${SRC:.c=.d}
|
|||||||
|
|
||||||
all: ${OBJ}
|
all: ${OBJ}
|
||||||
${CC} ${CFLAGS} ${OBJ} -o Filmotheque
|
${CC} ${CFLAGS} ${OBJ} -o Filmotheque
|
||||||
|
rm -f requests* results* ready*
|
||||||
|
|
||||||
debug: ${SRC}
|
debug: ${SRC}
|
||||||
${CC} ${CFLAGS} ${DEBUG} ${SRC} -o Filmotheque
|
${CC} ${CFLAGS} ${DEBUG} ${SRC} -o Filmotheque
|
||||||
|
rm -f requests* results* ready*
|
||||||
|
|
||||||
main: ${OBJ}
|
main: ${OBJ}
|
||||||
|
|
||||||
|
|||||||
BIN
BackEnd/Movie.o
Normal file
BIN
BackEnd/Movie.o
Normal file
Binary file not shown.
BIN
BackEnd/NodeTrie.o
Normal file
BIN
BackEnd/NodeTrie.o
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -0,0 +1,406 @@
|
|||||||
|
{
|
||||||
|
"inputs" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path" : "CMakeLists.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeSystem.cmake.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "cmake-build-debug/CMakeFiles/3.18.4/CMakeSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeUnixFindMake.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeDetermineCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeDetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeDetermineCompilerId.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeCompilerIdDetection.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeFindBinUtils.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/GNU-FindBinUtils.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeCCompiler.cmake.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "cmake-build-debug/CMakeFiles/3.18.4/CMakeCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeGenericSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Platform/Linux.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Platform/UnixPaths.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeFindCodeBlocks.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/ProcessorCount.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeCInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/GNU-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/GNU.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Platform/Linux-GNU-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Platform/Linux-GNU.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeTestCompilerCommon.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeDetermineCompilerABI.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeParseImplicitIncludeInfo.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeTestCompilerCommon.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/Internal/FeatureTesting.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/usr/share/cmake-3.18/Modules/CMakeCCompiler.cmake.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "cmake-build-debug/CMakeFiles/3.18.4/CMakeCCompiler.cmake"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug",
|
||||||
|
"source" : "/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"configurations" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directories" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"build" : ".",
|
||||||
|
"minimumCMakeVersion" :
|
||||||
|
{
|
||||||
|
"string" : "3.7"
|
||||||
|
},
|
||||||
|
"projectIndex" : 0,
|
||||||
|
"source" : ".",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "Debug",
|
||||||
|
"projects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"name" : "untitled",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"targets" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndex" : 0,
|
||||||
|
"id" : "untitled::@6890427a1f51a3e7e1df",
|
||||||
|
"jsonFile" : "target-untitled-Debug-0a793ea3d7a2a03087bf.json",
|
||||||
|
"name" : "untitled",
|
||||||
|
"projectIndex" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug",
|
||||||
|
"source" : "/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
"cmake" :
|
||||||
|
{
|
||||||
|
"generator" :
|
||||||
|
{
|
||||||
|
"multiConfig" : false,
|
||||||
|
"name" : "Unix Makefiles"
|
||||||
|
},
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"cmake" : "/usr/bin/cmake",
|
||||||
|
"cpack" : "/usr/bin/cpack",
|
||||||
|
"ctest" : "/usr/bin/ctest",
|
||||||
|
"root" : "/usr/share/cmake-3.18"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"isDirty" : false,
|
||||||
|
"major" : 3,
|
||||||
|
"minor" : 18,
|
||||||
|
"patch" : 4,
|
||||||
|
"string" : "3.18.4",
|
||||||
|
"suffix" : ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"objects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-a30b4de146c44e9c2d5c.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-1a1196f202c3d91001c3.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-821a5fa85cde8a0d7896.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"reply" :
|
||||||
|
{
|
||||||
|
"cache-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-1a1196f202c3d91001c3.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cmakeFiles-v1" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-821a5fa85cde8a0d7896.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"codemodel-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-a30b4de146c44e9c2d5c.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toolchains-v1" :
|
||||||
|
{
|
||||||
|
"error" : "unknown query file"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -15,10 +15,10 @@ The C compiler identification is GNU, found in "/mnt/d/Nextcloud/To transfert/Pr
|
|||||||
Detecting C compiler ABI info compiled with the following output:
|
Detecting C compiler ABI info compiled with the following output:
|
||||||
Change Dir: /mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp
|
Change Dir: /mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
Run Build Command(s):/usr/bin/gmake cmTC_9c7e8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_9c7e8.dir/build.make CMakeFiles/cmTC_9c7e8.dir/build
|
Run Build Command(s):/usr/bin/gmake cmTC_8e08d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_8e08d.dir/build.make CMakeFiles/cmTC_8e08d.dir/build
|
||||||
gmake[1]: Entering directory '/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp'
|
gmake[1]: Entering directory '/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||||
Building C object CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o
|
Building C object CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o
|
||||||
/usr/bin/cc -v -o CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c
|
/usr/bin/cc -v -o CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c
|
||||||
Using built-in specs.
|
Using built-in specs.
|
||||||
COLLECT_GCC=/usr/bin/cc
|
COLLECT_GCC=/usr/bin/cc
|
||||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
|
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
|
||||||
@@ -28,8 +28,8 @@ Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-
|
|||||||
Thread model: posix
|
Thread model: posix
|
||||||
Supported LTO compression algorithms: zlib zstd
|
Supported LTO compression algorithms: zlib zstd
|
||||||
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
|
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/10/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -o /tmp/ccrHc6lS.s
|
/usr/lib/gcc/x86_64-linux-gnu/10/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -o /tmp/cct453dv.s
|
||||||
GNU C17 (Debian 10.2.1-6) version 10.2.1 20210110 (x86_64-linux-gnu)
|
GNU C17 (Debian 10.2.1-6) version 10.2.1 20210110 (x86_64-linux-gnu)
|
||||||
compiled by GNU C version 10.2.1 20210110, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.0, isl version isl-0.23-GMP
|
compiled by GNU C version 10.2.1 20210110, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.0, isl version isl-0.23-GMP
|
||||||
|
|
||||||
@@ -49,15 +49,15 @@ GNU C17 (Debian 10.2.1-6) version 10.2.1 20210110 (x86_64-linux-gnu)
|
|||||||
|
|
||||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||||
Compiler executable checksum: 1f803793fa2e3418c492b25e7d3eac2f
|
Compiler executable checksum: 1f803793fa2e3418c492b25e7d3eac2f
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||||
as -v --64 -o CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o /tmp/ccrHc6lS.s
|
as -v --64 -o CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o /tmp/cct453dv.s
|
||||||
GNU assembler version 2.35.2 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.35.2
|
GNU assembler version 2.35.2 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.35.2
|
||||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||||
Linking C executable cmTC_9c7e8
|
Linking C executable cmTC_8e08d
|
||||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9c7e8.dir/link.txt --verbose=1
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e08d.dir/link.txt --verbose=1
|
||||||
/usr/bin/cc -v CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -o cmTC_9c7e8
|
/usr/bin/cc -v CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -o cmTC_8e08d
|
||||||
Using built-in specs.
|
Using built-in specs.
|
||||||
COLLECT_GCC=/usr/bin/cc
|
COLLECT_GCC=/usr/bin/cc
|
||||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
|
||||||
@@ -70,9 +70,9 @@ Supported LTO compression algorithms: zlib zstd
|
|||||||
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
|
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
|
||||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_9c7e8' '-mtune=generic' '-march=x86-64'
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8e08d' '-mtune=generic' '-march=x86-64'
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/10/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper -plugin-opt=-fresolution=/tmp/ccEH5kMj.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_9c7e8 /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/10/../../.. CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crtn.o
|
/usr/lib/gcc/x86_64-linux-gnu/10/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper -plugin-opt=-fresolution=/tmp/ccpZFyyW.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8e08d /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/10/../../.. CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crtn.o
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_9c7e8' '-mtune=generic' '-march=x86-64'
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8e08d' '-mtune=generic' '-march=x86-64'
|
||||||
gmake[1]: Leaving directory '/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp'
|
gmake[1]: Leaving directory '/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
@@ -96,10 +96,10 @@ Parsed C implicit link information from above output:
|
|||||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||||
ignore line: [Change Dir: /mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp]
|
ignore line: [Change Dir: /mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp]
|
||||||
ignore line: []
|
ignore line: []
|
||||||
ignore line: [Run Build Command(s):/usr/bin/gmake cmTC_9c7e8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_9c7e8.dir/build.make CMakeFiles/cmTC_9c7e8.dir/build]
|
ignore line: [Run Build Command(s):/usr/bin/gmake cmTC_8e08d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_8e08d.dir/build.make CMakeFiles/cmTC_8e08d.dir/build]
|
||||||
ignore line: [gmake[1]: Entering directory '/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp']
|
ignore line: [gmake[1]: Entering directory '/mnt/d/Nextcloud/To transfert/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/CMakeTmp']
|
||||||
ignore line: [Building C object CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o]
|
ignore line: [Building C object CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o]
|
||||||
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c]
|
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c]
|
||||||
ignore line: [Using built-in specs.]
|
ignore line: [Using built-in specs.]
|
||||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa]
|
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa]
|
||||||
@@ -109,8 +109,8 @@ Parsed C implicit link information from above output:
|
|||||||
ignore line: [Thread model: posix]
|
ignore line: [Thread model: posix]
|
||||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
ignore line: [gcc version 10.2.1 20210110 (Debian 10.2.1-6) ]
|
ignore line: [gcc version 10.2.1 20210110 (Debian 10.2.1-6) ]
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/10/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -o /tmp/ccrHc6lS.s]
|
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/10/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -o /tmp/cct453dv.s]
|
||||||
ignore line: [GNU C17 (Debian 10.2.1-6) version 10.2.1 20210110 (x86_64-linux-gnu)]
|
ignore line: [GNU C17 (Debian 10.2.1-6) version 10.2.1 20210110 (x86_64-linux-gnu)]
|
||||||
ignore line: [ compiled by GNU C version 10.2.1 20210110 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.0 isl version isl-0.23-GMP]
|
ignore line: [ compiled by GNU C version 10.2.1 20210110 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.0 isl version isl-0.23-GMP]
|
||||||
ignore line: []
|
ignore line: []
|
||||||
@@ -130,15 +130,15 @@ Parsed C implicit link information from above output:
|
|||||||
ignore line: []
|
ignore line: []
|
||||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||||
ignore line: [Compiler executable checksum: 1f803793fa2e3418c492b25e7d3eac2f]
|
ignore line: [Compiler executable checksum: 1f803793fa2e3418c492b25e7d3eac2f]
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o /tmp/ccrHc6lS.s]
|
ignore line: [ as -v --64 -o CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o /tmp/cct453dv.s]
|
||||||
ignore line: [GNU assembler version 2.35.2 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.35.2]
|
ignore line: [GNU assembler version 2.35.2 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.35.2]
|
||||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/]
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/]
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/]
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||||
ignore line: [Linking C executable cmTC_9c7e8]
|
ignore line: [Linking C executable cmTC_8e08d]
|
||||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9c7e8.dir/link.txt --verbose=1]
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e08d.dir/link.txt --verbose=1]
|
||||||
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -o cmTC_9c7e8 ]
|
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -o cmTC_8e08d ]
|
||||||
ignore line: [Using built-in specs.]
|
ignore line: [Using built-in specs.]
|
||||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper]
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper]
|
||||||
@@ -151,13 +151,13 @@ Parsed C implicit link information from above output:
|
|||||||
ignore line: [gcc version 10.2.1 20210110 (Debian 10.2.1-6) ]
|
ignore line: [gcc version 10.2.1 20210110 (Debian 10.2.1-6) ]
|
||||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/]
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/]
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/10/../../../:/lib/:/usr/lib/]
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_9c7e8' '-mtune=generic' '-march=x86-64']
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8e08d' '-mtune=generic' '-march=x86-64']
|
||||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/10/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper -plugin-opt=-fresolution=/tmp/ccEH5kMj.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_9c7e8 /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/10/../../.. CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crtn.o]
|
link line: [ /usr/lib/gcc/x86_64-linux-gnu/10/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper -plugin-opt=-fresolution=/tmp/ccpZFyyW.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8e08d /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/10/../../.. CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crtn.o]
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/10/collect2] ==> ignore
|
arg [/usr/lib/gcc/x86_64-linux-gnu/10/collect2] ==> ignore
|
||||||
arg [-plugin] ==> ignore
|
arg [-plugin] ==> ignore
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so] ==> ignore
|
arg [/usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so] ==> ignore
|
||||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper] ==> ignore
|
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper] ==> ignore
|
||||||
arg [-plugin-opt=-fresolution=/tmp/ccEH5kMj.res] ==> ignore
|
arg [-plugin-opt=-fresolution=/tmp/ccpZFyyW.res] ==> ignore
|
||||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||||
@@ -173,7 +173,7 @@ Parsed C implicit link information from above output:
|
|||||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
arg [-pie] ==> ignore
|
arg [-pie] ==> ignore
|
||||||
arg [-o] ==> ignore
|
arg [-o] ==> ignore
|
||||||
arg [cmTC_9c7e8] ==> ignore
|
arg [cmTC_8e08d] ==> ignore
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
arg [/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
arg [/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o] ==> ignore
|
arg [/usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o] ==> ignore
|
||||||
@@ -185,7 +185,7 @@ Parsed C implicit link information from above output:
|
|||||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/10/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/10/../../..]
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/10/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/10/../../..]
|
||||||
arg [CMakeFiles/cmTC_9c7e8.dir/CMakeCCompilerABI.c.o] ==> ignore
|
arg [CMakeFiles/cmTC_8e08d.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||||
arg [-lgcc] ==> lib [gcc]
|
arg [-lgcc] ==> lib [gcc]
|
||||||
arg [--push-state] ==> ignore
|
arg [--push-state] ==> ignore
|
||||||
arg [--as-needed] ==> ignore
|
arg [--as-needed] ==> ignore
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
|||||||
Start testing: Jun 13 18:20 CEST
|
Start testing: Jun 13 20:44 CEST
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
End testing: Jun 13 18:20 CEST
|
End testing: Jun 13 20:44 CEST
|
||||||
|
|||||||
1
BackEnd/cmake-build-debug/requests.txt
Normal file
1
BackEnd/cmake-build-debug/requests.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
searchByCategory;Thriller
|
||||||
0
BackEnd/cmake-build-debug/results.txt
Normal file
0
BackEnd/cmake-build-debug/results.txt
Normal file
Binary file not shown.
@@ -7,7 +7,7 @@
|
|||||||
int main() {
|
int main() {
|
||||||
int stop = 0;
|
int stop = 0;
|
||||||
|
|
||||||
char *fichier = "BD_small.txt";
|
char *fichier = "BD_big.txt";
|
||||||
|
|
||||||
//Create a table of list named tableau
|
//Create a table of list named tableau
|
||||||
struct List *tableau[LENGTH];
|
struct List *tableau[LENGTH];
|
||||||
@@ -16,15 +16,8 @@ int main() {
|
|||||||
}
|
}
|
||||||
struct Filmotheque *filmo = createEmptyFilmo();
|
struct Filmotheque *filmo = createEmptyFilmo();
|
||||||
initFilmo(fichier, tableau, filmo);
|
initFilmo(fichier, tableau, filmo);
|
||||||
|
printf("Filmotheque initialized\n");
|
||||||
struct List* test = searchByFilm(tableau, "The");
|
|
||||||
|
|
||||||
printList(test);
|
|
||||||
|
|
||||||
free(test);
|
|
||||||
|
|
||||||
while (stop != 8) {
|
while (stop != 8) {
|
||||||
//check if requests.txt exist but don't create it if it doesn't exist
|
|
||||||
FILE *verif = fopen("requests.txt", "r");
|
FILE *verif = fopen("requests.txt", "r");
|
||||||
if (verif != NULL) {
|
if (verif != NULL) {
|
||||||
char *request = "requests.txt";
|
char *request = "requests.txt";
|
||||||
|
|||||||
BIN
BackEnd/main.o
Normal file
BIN
BackEnd/main.o
Normal file
Binary file not shown.
1
BackEnd/requests (1).txt
Normal file
1
BackEnd/requests (1).txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
searchByFilm;Punchb
|
||||||
Binary file not shown.
@@ -28,7 +28,7 @@
|
|||||||
<form id="formCategorie" action="result.html">
|
<form id="formCategorie" action="result.html">
|
||||||
<p id="categorieError" class="error"></p>
|
<p id="categorieError" class="error"></p>
|
||||||
<input type="text" id="categorie" class="searchField" name="categorie" placeholder="Rechercher par la catégorie"><br>
|
<input type="text" id="categorie" class="searchField" name="categorie" placeholder="Rechercher par la catégorie"><br>
|
||||||
<button type="submit" id="categorieButton" class="searchButton" onclick="writeFile('formCategorie', 'searchByCategorie')" disabled>Rechercher par catégorie</button>
|
<button type="submit" id="categorieButton" class="searchButton" onclick="writeFile('formCategorie', 'searchByCategory')" disabled>Rechercher par catégorie</button>
|
||||||
</form>
|
</form>
|
||||||
<form id="formFilm" action="result.html">
|
<form id="formFilm" action="result.html">
|
||||||
<p id="filmError" class="error"></p>
|
<p id="filmError" class="error"></p>
|
||||||
|
|||||||
@@ -40,8 +40,10 @@ function readFileByName(fileName){
|
|||||||
|
|
||||||
let xhr = new XMLHttpRequest();
|
let xhr = new XMLHttpRequest();
|
||||||
do {
|
do {
|
||||||
xhr.open("GET", fileName, false);
|
setTimeout(() => {
|
||||||
xhr.send(null);
|
xhr.open("GET", fileName, false);
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
|
||||||
}while(xhr.status === 404);
|
}while(xhr.status === 404);
|
||||||
|
|
||||||
@@ -56,7 +58,9 @@ function checkFile(resolve) {
|
|||||||
if (readFileByName("../BackEnd/ready.txt") !== "") {
|
if (readFileByName("../BackEnd/ready.txt") !== "") {
|
||||||
resolve();
|
resolve();
|
||||||
} else {
|
} else {
|
||||||
setTimeout(() => checkFile(resolve), 1000);
|
setTimeout(() => {
|
||||||
|
checkFile(resolve);
|
||||||
|
}, 5000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
0
Nouveau Document texte.txt
Normal file
0
Nouveau Document texte.txt
Normal file
Reference in New Issue
Block a user