- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for encoder (0.16 sec)
-
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
+++ b/sysdeps/unix/sysv/linux/if_index.c @@ -38,12 +38,19 @@ __if_nametoindex (const char *ifname) return 0; #else struct ifreq ifr; + if (strlen (ifname) >= IFNAMSIZ) + { + __set_errno (ENODEV); + return 0; + } + + strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); + int fd = __opensock (); if (fd < 0) return 0;
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 42.9K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
StatusPtr first_bad_status(nullptr); for (const auto& dt : device_threads_) { StatusPtr async_wait_status(TF_NewStatus()); dt->AsyncWait(async_wait_status.get()); // Prefer non cancelled errors to uncover real failures. if (TF_GetCode(async_wait_status.get()) != TF_OK && (first_bad_status == nullptr || TF_GetCode(first_bad_status.get()) == TF_CANCELLED)) { first_bad_status.reset(TF_NewStatus());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1)