Skip to content

Commit 42a95fd

Browse files
Fix spelling errors in a few files
1 parent 8e22b4c commit 42a95fd

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

docs/config/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ and operate on the provider.
8686
Fixed Memory Provider
8787
------------------------------------------
8888

89-
A memory provider that can provide memory from a given pre-allocated buffer.
89+
A memory provider that can provide memory from a given preallocated buffer.
9090

9191
.. doxygenfile:: provider_fixed_memory.h
9292
:sections: define enum typedef func var

docs/config/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ by a different library and the caller of the :any:`umfGetIPCHandle` function may
178178
The :any:`umfGetIPCHandle` function returns the IPC handle and its size. The IPC handle is a byte-copyable opaque
179179
data structure. The :any:`umf_ipc_handle_t` type is defined as a pointer to a byte array. The size of the handle
180180
might be different for different memory provider types. The code snippet below demonstrates how the IPC handle can
181-
be serialized for marshalling purposes.
181+
be serialized for marshaling purposes.
182182

183183
.. code-block:: c
184184

include/umf/memory_pool.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
*
3-
* Copyright (C) 2023-2024 Intel Corporation
3+
* Copyright (C) 2023-2025 Intel Corporation
44
*
55
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
66
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -140,7 +140,7 @@ umf_result_t umfFree(void *ptr);
140140
/// * Implementations *must* store the error code in thread-local
141141
/// storage prior to returning NULL from the allocation functions.
142142
///
143-
/// * If the last allocation/de-allocation operation succeeded, the value returned by
143+
/// * If the last allocation/deallocation operation succeeded, the value returned by
144144
/// this function is unspecified.
145145
///
146146
/// * The application *may* call this function from simultaneous threads.

include/umf/pools/pool_disjoint.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
2-
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
3-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1+
/*
2+
*
3+
* Copyright (C) 2023-2025 Intel Corporation
4+
*
5+
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
6+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7+
*
8+
*/
49

510
#pragma once
611
#ifdef __cplusplus
@@ -87,7 +92,7 @@ umfDisjointPoolParamsSetTrace(umf_disjoint_pool_params_handle_t hParams,
8792

8893
/// @brief Set shared limits for disjoint pool.
8994
/// @param hParams handle to the parameters of the disjoint pool.
90-
/// @param hSharedLimits handle tp the shared limits.
95+
/// @param hSharedLimits handle to the shared limits.
9196
/// @return UMF_RESULT_SUCCESS on success or appropriate error code on failure.
9297
umf_result_t umfDisjointPoolParamsSetSharedLimits(
9398
umf_disjoint_pool_params_handle_t hParams,

include/umf/providers/provider_os_memory.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
/*
2-
* Copyright (C) 2022-2024 Intel Corporation
2+
*
3+
* Copyright (C) 2022-2025 Intel Corporation
34
*
45
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
56
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6-
*/
7+
*
8+
*/
79

810
#ifndef UMF_OS_MEMORY_PROVIDER_H
911
#define UMF_OS_MEMORY_PROVIDER_H
@@ -23,7 +25,7 @@ extern "C" {
2325
/// Not every mode is supported on every system.
2426
typedef enum umf_numa_mode_t {
2527
/// Default binding mode. Actual binding policy is system-specific. On
26-
/// linux this corresponds to MPOL_DEFAULT. If this mode is specified,
28+
/// Linux this corresponds to MPOL_DEFAULT. If this mode is specified,
2729
/// nodemask must be NULL and maxnode must be 0.
2830
UMF_NUMA_MODE_DEFAULT,
2931

0 commit comments

Comments
 (0)