-
Notifications
You must be signed in to change notification settings - Fork 40
Ctl by name #1471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Ctl by name #1471
Conversation
ddee327
to
97b61f5
Compare
df6508d
to
e99dcd5
Compare
@@ -111,6 +111,8 @@ umf_result_t umfDisjointPoolParamsSetSharedLimits( | |||
/// @param hParams handle to the parameters of the disjoint pool. | |||
/// @param name custom name of the pool. Must not be NULL. Name longer than 63 | |||
/// characters will be truncated. | |||
/// \details Name should contain only [a-zA-Z0-9_-] characters. | |||
/// Other names are deprecated and may limit CTL functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK, the \details should also continue indentation in the next lines or bullets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not needed
include/umf/memory_pool_ops.h
Outdated
/// | ||
/// * The returned name should not exceed 64 characters and may contain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
64 characters including a line termination character
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
static inline void utils_warn_invalid_name(const char *kind, const char *name) { | ||
if (!utils_name_is_valid(name)) { | ||
LOG_WARN("%s name \"%s\" is deprecated. It should be no more than 64 " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
including EOL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
waiting for changes requested by others
eea346b
to
43f5e9d
Compare
6ddc12a
to
6fbd051
Compare
https://reviewable.io/reviews/lplewa/unified-memory-framework/8