Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for printstring (0.22 sec)

  1. src/fmt/scan_test.go

    		return errors.New("syntax error for xs")
    	}
    	*x = Xs(s)
    	return nil
    }
    
    var xVal Xs
    
    // IntString accepts an integer followed immediately by a string.
    // It tests the embedding of a scan within a scan.
    type IntString struct {
    	i int
    	s string
    }
    
    func (s *IntString) Scan(state ScanState, verb rune) error {
    	if _, err := Fscan(state, &s.i); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental_test.cc

      EXPECT_EQ(TF_GetCode(status), TF_OK);
    
      ServerDef actual;
      ASSERT_TRUE(actual.ParseFromArray(result->data, result->length));
      string actual_text_proto;
      tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto);
      EXPECT_EQ(expected_text_proto, actual_text_proto);
    
      const string malformed_text_proto(R"(cluster {
      job {
        name: "worker")");
      TF_Buffer* null_result =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/convert.go

    func walkRuneToString(n *ir.ConvExpr, init *ir.Nodes) ir.Node {
    	a := typecheck.NodNil()
    	if n.Esc() == ir.EscNone {
    		a = stackBufAddr(4, types.Types[types.TUINT8])
    	}
    	// intstring(*[4]byte, rune)
    	return mkcall("intstring", n.Type(), init, a, typecheck.Conv(n.X, types.Types[types.TINT64]))
    }
    
    // walkStringToBytes walks an OSTR2BYTES node.
    func walkStringToBytes(n *ir.ConvExpr, init *ir.Nodes) ir.Node {
    	s := n.X
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc

      report.AddQuantizationResult(std::move(result));
    
      // Check that the report string is equivalent to the textproto representation
      // of the `QuantizationResults`.
      std::string result_str{};
      TextFormat::PrintToString(report.GetQuantizationResults(), &result_str);
    
      EXPECT_THAT(report.ToString(), HasSubstr("Quantization Report"));
      EXPECT_THAT(report.ToString(), HasSubstr(result_str));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 10:10:34 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      std::string txt_metadata;
      if (tpu_compile_metadata_debug) {
        ::tensorflow::protobuf::TextFormat::Printer printer;
        printer.SetExpandAny(true);
        printer.PrintToString(metadata, &txt_metadata);
      } else {
        metadata.SerializeToString(&txt_metadata);
      }
    
      auto compile_op = builder->create<TF::_TPUCompileMlirOp>(
          cluster_func.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

              MakeAndRegisterTestInfo(
                  test_case_name.c_str(),
                  test_name_stream.GetString().c_str(),
                  NULL,  // No type parameter.
                  PrintToString(*param_it).c_str(),
                  GetTestCaseTypeId(),
                  TestCase::SetUpTestCase,
                  TestCase::TearDownTestCase,
                  test_info->test_meta_factory->CreateTestFactory(*param_it));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/runtime/string.go

    type stringStructDWARF struct {
    	str *byte
    	len int
    }
    
    func stringStructOf(sp *string) *stringStruct {
    	return (*stringStruct)(unsafe.Pointer(sp))
    }
    
    func intstring(buf *[4]byte, v int64) (s string) {
    	var b []byte
    	if buf != nil {
    		b = buf[:]
    		s = slicebytetostringtmp(&b[0], len(b))
    	} else {
    		s, b = rawstring(4)
    	}
    	if int64(rune(v)) != v {
    		v = runeError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

              MakeAndRegisterTestInfo(
                  test_case_name.c_str(),
                  test_name_stream.GetString().c_str(),
                  NULL,  // No type parameter.
                  PrintToString(*param_it).c_str(),
                  GetTestCaseTypeId(),
                  TestCase::SetUpTestCase,
                  TestCase::TearDownTestCase,
                  test_info->test_meta_factory->CreateTestFactory(*param_it));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    class TestPartResult;                  // Result of a test part.
    class UnitTest;                        // A collection of test cases.
    
    template <typename T>
    ::std::string PrintToString(const T& value);
    
    namespace internal {
    
    struct TraceInfo;                      // Information about a trace point.
    class ScopedTrace;                     // Implements scoped trace.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    class TestPartResult;                  // Result of a test part.
    class UnitTest;                        // A collection of test cases.
    
    template <typename T>
    ::std::string PrintToString(const T& value);
    
    namespace internal {
    
    struct TraceInfo;                      // Information about a trace point.
    class ScopedTrace;                     // Implements scoped trace.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top