Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StrNCpy (0.26 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #ifdef _MSC_VER
    // Temporarily disable warning 4996 (deprecated function).
    # pragma warning(push)
    # pragma warning(disable:4996)
    #endif
    
    inline const char* StrNCpy(char* dest, const char* src, size_t n) {
      return strncpy(dest, src, n);
    }
    
    // ChDir(), FReopen(), FDOpen(), Read(), Write(), Close(), and
    // StrError() aren't needed on Windows CE at this time and thus not
    // defined there.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #ifdef _MSC_VER
    // Temporarily disable warning 4996 (deprecated function).
    # pragma warning(push)
    # pragma warning(disable:4996)
    #endif
    
    inline const char* StrNCpy(char* dest, const char* src, size_t n) {
      return strncpy(dest, src, n);
    }
    
    // ChDir(), FReopen(), FDOpen(), Read(), Write(), Close(), and
    // StrError() aren't needed on Windows CE at this time and thus not
    // defined there.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      const int BUFFER_SIZE = 10;
      char buffer[BUFFER_SIZE];
      std::strncpy(buffer, "VALID", BUFFER_SIZE);
      TFE_OpSetAttrString(op, "padding", buffer, std::strlen(buffer));
      // Overwriting value in "buffer", should be fine since TFE_Op
      // shouldn't be holding on to it.
      std::strncpy(buffer, "NHWC", BUFFER_SIZE);
      TFE_OpSetAttrString(op, "data_format", buffer, std::strlen(buffer));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
Back to top