Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for strncpy (0.67 sec)

  1. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

    -   <http://www.gnu.org/licenses/>.  */
    +   <https://www.gnu.org/licenses/>.  */
     
     #include <string.h>
    -#include <memcopy.h>
     
     #undef strncpy
     
     #ifndef STRNCPY
    -#define STRNCPY strncpy
    + #define STRNCPY strncpy
     #endif
     
     char *
     STRNCPY (char *s1, const char *s2, size_t n)
     {
    -  char c;
    -  char *s = s1;
    -
    -  --s1;
    -
    -  if (n >= 4)
    -    {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      auto attrs = oper->node.attrs();
      int count = 0;
      AttrValueMap::const_iterator it;
      for (it = attrs.begin(); it != attrs.end(); it++) {
        if (count == i) {
          strncpy(output, it->first.c_str(), it->first.length());
          status->status = absl::OkStatus();
          return;
        }
        count++;
      }
      status->status = OutOfRange("Operation only has ", count,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build_arm64/builder.devtoolset/gcc9-fixups.patch

    index 45efe2e..06bfab0 100644
    --- a/stdlib/setenv.c
    +++ b/stdlib/setenv.c
    @@ -319,6 +319,7 @@ unsetenv (const char *name)
     
       ep = __environ;
       if (ep != NULL)
    +  {
         while (*ep != NULL)
           if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
     	{
    @@ -332,6 +333,7 @@ unsetenv (const char *name)
     	}
           else
     	++ep;
    +  }
     
       UNLOCK;
     
    diff --git a/support/Makefile b/support/Makefile
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top