Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 314159 (0.15 sec)

  1. tensorflow/c/c_api_test.cc

      auto desc = init("int");
      TF_SetAttrInt(desc, "v", 31415);
    
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", -1, TF_ATTR_INT, -1);
    
      int64_t value;
      TF_OperationGetAttrInt(oper, "v", &value, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ(31415, value);
    }
    
    TEST_F(CApiAttributesTest, IntList) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    package main
    
    import "lib"
    import . "lib"
    
    const Pi = 3.1415
    type T struct{}
    var Y, _ = lib.X, X
    
    func F[T *U, U any](param1, param2 int) /*param1=undef*/ (res1 /*res1=undef*/, res2 int) /*param1=var:12*/ /*res1=var:12*/ /*U=typename:12*/ {
    	const pi, e = 3.1415, /*pi=undef*/ 2.71828 /*pi=const:13*/ /*e=const:13*/
    	type /*t=undef*/ t /*t=typename:14*/ *t
    	print(Y) /*Y=var:10*/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/fmt/fmt_test.go

    	{1, `Sprintf("%s")`, func() { _ = Sprintf("%s", "hello") }},
    	{1, `Sprintf("%x %x")`, func() { _ = Sprintf("%x %x", 7, 112) }},
    	{1, `Sprintf("%g")`, func() { _ = Sprintf("%g", float32(3.14159)) }},
    	{0, `Fprintf(buf, "%s")`, func() { mallocBuf.Reset(); Fprintf(&mallocBuf, "%s", "hello") }},
    	{0, `Fprintf(buf, "%x")`, func() { mallocBuf.Reset(); Fprintf(&mallocBuf, "%x", 7) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    package main
    
    import "lib"
    import . "lib"
    
    const Pi = 3.1415
    type T struct{}
    var Y, _ = lib.X, X
    
    func F[T *U, U any](param1, param2 int) /*param1=undef*/ (res1 /*res1=undef*/, res2 int) /*param1=var:12*/ /*res1=var:12*/ /*U=typename:12*/ {
    	const pi, e = 3.1415, /*pi=undef*/ 2.71828 /*pi=const:13*/ /*e=const:13*/
    	type /*t=undef*/ t /*t=typename:14*/ *t
    	print(Y) /*Y=var:10*/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. src/encoding/xml/marshal_test.go

    	{Value: &Event{Year: -3114}, ExpectXML: `<event>-3114</event>`},
    	{Value: &Movie{Length: 13440}, ExpectXML: `<movie>13440</movie>`},
    	{Value: &Pi{Approximation: 3.14159265}, ExpectXML: `<pi>3.1415927</pi>`},
    	{Value: &Universe{Visible: 9.3e13}, ExpectXML: `<universe>9.3e+13</universe>`},
    	{Value: &Particle{HasMass: true}, ExpectXML: `<particle>true</particle>`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
Back to top