| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] Add localtime_r to baremetal entrypoints (#166677) | 8 个月前 | |
[libc] Switch to using the generic <gpuintrin.h> implementations (#121810) Summary: This patch switches the GPU utility helpers to wrapping around the gpuintrin.h ones with a C++ flavor. | 1 年前 | |
[libc][POSIX] Add clock_settime() function for Linux (#161729) Closes #161461 - This is my first time contributing to libc's POSIX, so for reference I used clock_gettime implementation for Linux. For convenience, here is the description of clock_settime function [behavior](https://www.man7.org/linux/man-pages/man3/clock_settime.3.html) | 8 个月前 | |
[libc] Refactor strftime internals to handle size_t return values (#166901) Now that https://github.com/llvm/llvm-project/pull/166517 has landed and [Writer](https://github.com/llvm/llvm-project/blob/main/libc/src/stdio/printf_core/writer.h#L130) has been refactored to track bytes written as size_t, strftime can be refactored as well to handle size_t return values. Can't think of a proper way to test this without creating a 2GB+ string, but existing tests cover most cases. | 8 个月前 | |
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][POSIX] Add clock_settime() function for Linux (#161729) Closes #161461 - This is my first time contributing to libc's POSIX, so for reference I used clock_gettime implementation for Linux. For convenience, here is the description of clock_settime function [behavior](https://www.man7.org/linux/man-pages/man3/clock_settime.3.html) | 8 个月前 | |
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
| 2 年前 | ||
[libc][time][windows] implement clock_getres (#118931) | 1 年前 | |
| 2 年前 | ||
[libc][POSIX] Add clock_settime() function for Linux (#161729) Closes #161461 - This is my first time contributing to libc's POSIX, so for reference I used clock_gettime implementation for Linux. For convenience, here is the description of clock_settime function [behavior](https://www.man7.org/linux/man-pages/man3/clock_settime.3.html) | 8 个月前 | |
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
| 1 年前 | ||
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
| 1 年前 | ||
| 2 年前 | ||
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
| 2 年前 | ||
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
[libc] implement template functions for localtime (#110363) This is an implementation for template functions of localtime. Update for this pull request: Implementation as been removed from this pull request and will be added to a new one. This is because this pull request is getting big. This pull request will only contain template functions in order to implement localtime. Update: The implementation is available in https://github.com/zimirza/llvm-project/tree/localtime_implementation. --------- Co-authored-by: Зишан Мирза <zmirza@tutanota.de> Co-authored-by: Zishan Mirza <zmirza@posteo.de> | 10 个月前 | |
[libc] implement template functions for localtime (#110363) This is an implementation for template functions of localtime. Update for this pull request: Implementation as been removed from this pull request and will be added to a new one. This is because this pull request is getting big. This pull request will only contain template functions in order to implement localtime. Update: The implementation is available in https://github.com/zimirza/llvm-project/tree/localtime_implementation. --------- Co-authored-by: Зишан Мирза <zmirza@tutanota.de> Co-authored-by: Zishan Mirza <zmirza@posteo.de> | 10 个月前 | |
[libc] implement template functions for localtime (#110363) This is an implementation for template functions of localtime. Update for this pull request: Implementation as been removed from this pull request and will be added to a new one. This is because this pull request is getting big. This pull request will only contain template functions in order to implement localtime. Update: The implementation is available in https://github.com/zimirza/llvm-project/tree/localtime_implementation. --------- Co-authored-by: Зишан Мирза <zmirza@tutanota.de> Co-authored-by: Zishan Mirza <zmirza@posteo.de> | 10 个月前 | |
[libc] implement template functions for localtime (#110363) This is an implementation for template functions of localtime. Update for this pull request: Implementation as been removed from this pull request and will be added to a new one. This is because this pull request is getting big. This pull request will only contain template functions in order to implement localtime. Update: The implementation is available in https://github.com/zimirza/llvm-project/tree/localtime_implementation. --------- Co-authored-by: Зишан Мирза <zmirza@tutanota.de> Co-authored-by: Zishan Mirza <zmirza@posteo.de> | 10 个月前 | |
| 1 年前 | ||
[libc][NFC] Cleanup time.h (#122027) While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the time_constants namespace. struct tm gets its own type indirection header now. | 1 年前 | |
| 2 年前 | ||
[libc] Refactor strftime internals to handle size_t return values (#166901) Now that https://github.com/llvm/llvm-project/pull/166517 has landed and [Writer](https://github.com/llvm/llvm-project/blob/main/libc/src/stdio/printf_core/writer.h#L130) has been refactored to track bytes written as size_t, strftime can be refactored as well to handle size_t return values. Can't think of a proper way to test this without creating a 2GB+ string, but existing tests cover most cases. | 8 个月前 | |
| 1 年前 | ||
[libc] Refactor strftime internals to handle size_t return values (#166901) Now that https://github.com/llvm/llvm-project/pull/166517 has landed and [Writer](https://github.com/llvm/llvm-project/blob/main/libc/src/stdio/printf_core/writer.h#L130) has been refactored to track bytes written as size_t, strftime can be refactored as well to handle size_t return values. Can't think of a proper way to test this without creating a 2GB+ string, but existing tests cover most cases. | 8 个月前 | |
[libc] Add strftime_l (#127767) This is a (no-op) locale version of strftime. Fixes: https://github.com/llvm/llvm-project/issues/106630 | 1 年前 | |
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][NFC] Add stdint.h proxy header to fix dependency issue with <stdint.h> includes. (#150303) https://github.com/llvm/llvm-project/issues/149993 | 1 年前 | |
| 2 年前 | ||
[libc][NFC] Add stdint.h proxy header to fix dependency issue with <stdint.h> includes. (#150303) https://github.com/llvm/llvm-project/issues/149993 | 1 年前 | |
[libc] implement template functions for localtime (#110363) This is an implementation for template functions of localtime. Update for this pull request: Implementation as been removed from this pull request and will be added to a new one. This is because this pull request is getting big. This pull request will only contain template functions in order to implement localtime. Update: The implementation is available in https://github.com/zimirza/llvm-project/tree/localtime_implementation. --------- Co-authored-by: Зишан Мирза <zmirza@tutanota.de> Co-authored-by: Zishan Mirza <zmirza@posteo.de> | 10 个月前 | |
[libc] Implement timespec_get (#116102) timespec_get is C standard counterpart to POSIX clock_gettime. On Linux we simply use clock_gettime. On baremetal we introduce a new external API __llvm_libc_timespec_get_utc that should be implemented by the vendor. | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 8 个月前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 1 年前 |