Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
c5c60c8f
Unverified
Commit
c5c60c8f
authored
Oct 17, 2025
by
Nikita Titov
Committed by
GitHub
Oct 17, 2025
Browse files
[ci][c++] fixed `build/header_guard` errors from cpplint (#7055)
parent
32781bae
Changes
100
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
60 additions
and
62 deletions
+60
-62
include/LightGBM/dataset_loader.h
include/LightGBM/dataset_loader.h
+3
-3
include/LightGBM/export.h
include/LightGBM/export.h
+3
-3
include/LightGBM/feature_group.h
include/LightGBM/feature_group.h
+3
-3
include/LightGBM/meta.h
include/LightGBM/meta.h
+3
-3
include/LightGBM/metric.h
include/LightGBM/metric.h
+3
-3
include/LightGBM/network.h
include/LightGBM/network.h
+3
-3
include/LightGBM/objective_function.h
include/LightGBM/objective_function.h
+3
-3
include/LightGBM/prediction_early_stop.h
include/LightGBM/prediction_early_stop.h
+3
-3
include/LightGBM/sample_strategy.h
include/LightGBM/sample_strategy.h
+3
-3
include/LightGBM/train_share_states.h
include/LightGBM/train_share_states.h
+3
-3
include/LightGBM/tree.h
include/LightGBM/tree.h
+3
-3
include/LightGBM/tree_learner.h
include/LightGBM/tree_learner.h
+3
-3
include/LightGBM/utils/array_args.h
include/LightGBM/utils/array_args.h
+3
-3
include/LightGBM/utils/binary_writer.h
include/LightGBM/utils/binary_writer.h
+3
-3
include/LightGBM/utils/byte_buffer.h
include/LightGBM/utils/byte_buffer.h
+3
-3
include/LightGBM/utils/chunked_array.hpp
include/LightGBM/utils/chunked_array.hpp
+3
-3
include/LightGBM/utils/common.h
include/LightGBM/utils/common.h
+3
-3
include/LightGBM/utils/file_io.h
include/LightGBM/utils/file_io.h
+3
-3
include/LightGBM/utils/log.h
include/LightGBM/utils/log.h
+3
-3
include/LightGBM/utils/openmp_wrapper.h
include/LightGBM/utils/openmp_wrapper.h
+3
-5
No files found.
include/LightGBM/dataset_loader.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_DATASET_LOADER_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_DATASET_LOADER_H_
#define LIGHTGBM_DATASET_LOADER_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_DATASET_LOADER_H_
#include <LightGBM/dataset.h>
#include <LightGBM/dataset.h>
...
@@ -107,4 +107,4 @@ class DatasetLoader {
...
@@ -107,4 +107,4 @@ class DatasetLoader {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_DATASET_LOADER_H_
#endif //
LIGHTGBM_INCLUDE_
LIGHTGBM_DATASET_LOADER_H_
include/LightGBM/export.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_EXPORT_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_EXPORT_H_
#define LIGHTGBM_EXPORT_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_EXPORT_H_
/** Macros for exporting symbols in MSVC/GCC/CLANG **/
/** Macros for exporting symbols in MSVC/GCC/CLANG **/
...
@@ -22,4 +22,4 @@
...
@@ -22,4 +22,4 @@
#define LIGHTGBM_C_EXPORT LIGHTGBM_EXTERN_C
#define LIGHTGBM_C_EXPORT LIGHTGBM_EXTERN_C
#endif
#endif
#endif
/**
LIGHTGBM_EXPORT_H_
**/
#endif
//
LIGHTGBM_INCLUDE_
LIGHTGBM_EXPORT_H_
include/LightGBM/feature_group.h
View file @
c5c60c8f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* Licensed under the MIT License. See LICENSE file in the project root for
* Licensed under the MIT License. See LICENSE file in the project root for
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_FEATURE_GROUP_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_FEATURE_GROUP_H_
#define LIGHTGBM_FEATURE_GROUP_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_FEATURE_GROUP_H_
#include <LightGBM/bin.h>
#include <LightGBM/bin.h>
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
...
@@ -629,4 +629,4 @@ class FeatureGroup {
...
@@ -629,4 +629,4 @@ class FeatureGroup {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_FEATURE_GROUP_H_
#endif //
LIGHTGBM_INCLUDE_
LIGHTGBM_FEATURE_GROUP_H_
include/LightGBM/meta.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_META_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_META_H_
#define LIGHTGBM_META_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_META_H_
#include <cstdint>
#include <cstdint>
#include <functional>
#include <functional>
...
@@ -88,4 +88,4 @@ const int kAlignedSize = 32;
...
@@ -88,4 +88,4 @@ const int kAlignedSize = 32;
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_META_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_META_H_
include/LightGBM/metric.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_METRIC_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_METRIC_H_
#define LIGHTGBM_METRIC_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_METRIC_H_
#include <LightGBM/config.h>
#include <LightGBM/config.h>
#include <LightGBM/dataset.h>
#include <LightGBM/dataset.h>
...
@@ -142,4 +142,4 @@ class DCGCalculator {
...
@@ -142,4 +142,4 @@ class DCGCalculator {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_METRIC_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_METRIC_H_
include/LightGBM/network.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_NETWORK_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_NETWORK_H_
#define LIGHTGBM_NETWORK_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_NETWORK_H_
#include <LightGBM/config.h>
#include <LightGBM/config.h>
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
...
@@ -314,4 +314,4 @@ class Network {
...
@@ -314,4 +314,4 @@ class Network {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_NETWORK_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_NETWORK_H_
include/LightGBM/objective_function.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_FUNCTION_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_OBJECTIVE_FUNCTION_H_
#define LIGHTGBM_OBJECTIVE_FUNCTION_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_OBJECTIVE_FUNCTION_H_
#include <LightGBM/config.h>
#include <LightGBM/config.h>
#include <LightGBM/dataset.h>
#include <LightGBM/dataset.h>
...
@@ -123,4 +123,4 @@ class ObjectiveFunction {
...
@@ -123,4 +123,4 @@ class ObjectiveFunction {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_OBJECTIVE_FUNCTION_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_OBJECTIVE_FUNCTION_H_
include/LightGBM/prediction_early_stop.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_PREDICTION_EARLY_STOP_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_PREDICTION_EARLY_STOP_H_
#define LIGHTGBM_PREDICTION_EARLY_STOP_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_PREDICTION_EARLY_STOP_H_
#include <LightGBM/export.h>
#include <LightGBM/export.h>
...
@@ -33,4 +33,4 @@ LIGHTGBM_EXPORT PredictionEarlyStopInstance CreatePredictionEarlyStopInstance(co
...
@@ -33,4 +33,4 @@ LIGHTGBM_EXPORT PredictionEarlyStopInstance CreatePredictionEarlyStopInstance(co
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_PREDICTION_EARLY_STOP_H_
#endif //
LIGHTGBM_INCLUDE_
LIGHTGBM_PREDICTION_EARLY_STOP_H_
include/LightGBM/sample_strategy.h
View file @
c5c60c8f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_SAMPLE_STRATEGY_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_SAMPLE_STRATEGY_H_
#define LIGHTGBM_SAMPLE_STRATEGY_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_SAMPLE_STRATEGY_H_
#include <LightGBM/cuda/cuda_utils.hu>
#include <LightGBM/cuda/cuda_utils.hu>
#include <LightGBM/utils/random.h>
#include <LightGBM/utils/random.h>
...
@@ -84,4 +84,4 @@ class SampleStrategy {
...
@@ -84,4 +84,4 @@ class SampleStrategy {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_SAMPLE_STRATEGY_H_
#endif //
LIGHTGBM_INCLUDE_
LIGHTGBM_SAMPLE_STRATEGY_H_
include/LightGBM/train_share_states.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_TRAIN_SHARE_STATES_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_TRAIN_SHARE_STATES_H_
#define LIGHTGBM_TRAIN_SHARE_STATES_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_TRAIN_SHARE_STATES_H_
#include <LightGBM/bin.h>
#include <LightGBM/bin.h>
#include <LightGBM/feature_group.h>
#include <LightGBM/feature_group.h>
...
@@ -363,4 +363,4 @@ struct TrainingShareStates {
...
@@ -363,4 +363,4 @@ struct TrainingShareStates {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_TRAIN_SHARE_STATES_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_TRAIN_SHARE_STATES_H_
include/LightGBM/tree.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_TREE_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_TREE_H_
#define LIGHTGBM_TREE_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_TREE_H_
#include <LightGBM/dataset.h>
#include <LightGBM/dataset.h>
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
...
@@ -728,4 +728,4 @@ inline int Tree::GetLeafByMap(const std::unordered_map<int, double>& feature_val
...
@@ -728,4 +728,4 @@ inline int Tree::GetLeafByMap(const std::unordered_map<int, double>& feature_val
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_TREE_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_TREE_H_
include/LightGBM/tree_learner.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_TREE_LEARNER_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_TREE_LEARNER_H_
#define LIGHTGBM_TREE_LEARNER_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_TREE_LEARNER_H_
#include <LightGBM/config.h>
#include <LightGBM/config.h>
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
...
@@ -115,4 +115,4 @@ class TreeLearner {
...
@@ -115,4 +115,4 @@ class TreeLearner {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_TREE_LEARNER_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_TREE_LEARNER_H_
include/LightGBM/utils/array_args.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_UTILS_ARRAY_A
G
RS_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_ARRAY_AR
G
S_H_
#define LIGHTGBM_UTILS_ARRAY_A
G
RS_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_ARRAY_AR
G
S_H_
#include <LightGBM/utils/openmp_wrapper.h>
#include <LightGBM/utils/openmp_wrapper.h>
#include <LightGBM/utils/threading.h>
#include <LightGBM/utils/threading.h>
...
@@ -205,4 +205,4 @@ class ArrayArgs {
...
@@ -205,4 +205,4 @@ class ArrayArgs {
}
// namespace LightGBM
}
// namespace LightGBM
#endif
// L
ight
GBM_UTILS_ARRAY_A
G
RS_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_UTILS_ARRAY_AR
G
S_H_
include/LightGBM/utils/binary_writer.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2022 Microsoft Corporation. All rights reserved.
* Copyright (c) 2022 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_UTILS_BINARY_WRITER_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_BINARY_WRITER_H_
#define LIGHTGBM_UTILS_BINARY_WRITER_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_BINARY_WRITER_H_
#include <cstdlib>
#include <cstdlib>
#include <vector>
#include <vector>
...
@@ -55,4 +55,4 @@ struct BinaryWriter {
...
@@ -55,4 +55,4 @@ struct BinaryWriter {
};
};
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_UTILS_BINARY_WRITER_H_
#endif //
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_BINARY_WRITER_H_
include/LightGBM/utils/byte_buffer.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2022 Microsoft Corporation. All rights reserved.
* Copyright (c) 2022 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_UTILS_BYTE_BUFFER_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_BYTE_BUFFER_H_
#define LIGHTGBM_UTILS_BYTE_BUFFER_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_BYTE_BUFFER_H_
#include <LightGBM/export.h>
#include <LightGBM/export.h>
#include <LightGBM/utils/binary_writer.h>
#include <LightGBM/utils/binary_writer.h>
...
@@ -59,4 +59,4 @@ struct ByteBuffer final : public BinaryWriter {
...
@@ -59,4 +59,4 @@ struct ByteBuffer final : public BinaryWriter {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_UTILS_BYTE_BUFFER_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_UTILS_BYTE_BUFFER_H_
include/LightGBM/utils/chunked_array.hpp
View file @
c5c60c8f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
*
*
* Author: Alberto Ferreira
* Author: Alberto Ferreira
*/
*/
#ifndef LIGHTGBM_UTILS_CHUNKED_ARRAY_HPP_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_CHUNKED_ARRAY_HPP_
#define LIGHTGBM_UTILS_CHUNKED_ARRAY_HPP_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_CHUNKED_ARRAY_HPP_
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/log.h>
...
@@ -257,4 +257,4 @@ class ChunkedArray {
...
@@ -257,4 +257,4 @@ class ChunkedArray {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_UTILS_CHUNKED_ARRAY_HPP_
#endif //
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_CHUNKED_ARRAY_HPP_
include/LightGBM/utils/common.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_UTILS_COMMON_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_COMMON_H_
#define LIGHTGBM_UTILS_COMMON_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_COMMON_H_
#include <LightGBM/utils/json11.h>
#include <LightGBM/utils/json11.h>
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/log.h>
...
@@ -1272,4 +1272,4 @@ inline static std::string ArrayToString(const std::vector<T>& arr, size_t n) {
...
@@ -1272,4 +1272,4 @@ inline static std::string ArrayToString(const std::vector<T>& arr, size_t n) {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_UTILS_COMMON_H_
#endif //
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_COMMON_H_
include/LightGBM/utils/file_io.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2018 Microsoft Corporation. All rights reserved.
* Copyright (c) 2018 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_UTILS_FILE_IO_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_FILE_IO_H_
#define LIGHTGBM_UTILS_FILE_IO_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_FILE_IO_H_
#include <LightGBM/utils/binary_writer.h>
#include <LightGBM/utils/binary_writer.h>
...
@@ -75,4 +75,4 @@ struct VirtualFileReader {
...
@@ -75,4 +75,4 @@ struct VirtualFileReader {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_UTILS_FILE_IO_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_UTILS_FILE_IO_H_
include/LightGBM/utils/log.h
View file @
c5c60c8f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* Licensed under the MIT License. See LICENSE file in the project root for
* Licensed under the MIT License. See LICENSE file in the project root for
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_UTILS_LOG_H_
#ifndef
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_LOG_H_
#define LIGHTGBM_UTILS_LOG_H_
#define
LIGHTGBM_INCLUDE_
LIGHTGBM_UTILS_LOG_H_
#include <cstdarg>
#include <cstdarg>
#include <cstdio>
#include <cstdio>
...
@@ -182,4 +182,4 @@ class Log {
...
@@ -182,4 +182,4 @@ class Log {
};
};
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ight
GBM_UTILS_LOG_H_
#endif // L
IGHTGBM_INCLUDE_LIGHT
GBM_UTILS_LOG_H_
include/LightGBM/utils/openmp_wrapper.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_OPENMP_WRAPPER_H_
#ifndef LIGHTGBM_
INCLUDE_LIGHTGBM_UTILS_
OPENMP_WRAPPER_H_
#define LIGHTGBM_OPENMP_WRAPPER_H_
#define LIGHTGBM_
INCLUDE_LIGHTGBM_UTILS_
OPENMP_WRAPPER_H_
#include <LightGBM/export.h>
#include <LightGBM/export.h>
...
@@ -132,6 +132,4 @@ class ThreadExceptionHelper {
...
@@ -132,6 +132,4 @@ class ThreadExceptionHelper {
#endif
#endif
#endif // LIGHTGBM_INCLUDE_LIGHTGBM_UTILS_OPENMP_WRAPPER_H_
#endif
/* LIGHTGBM_OPENMP_WRAPPER_H_ */
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment