Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for assertGet (0.58 sec)

  1. src/time/tick_test.go

    		noTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer in heap.
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer NOT in heap.
    		tim.Stop()
    		drainAsync()
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    	}
    
    	// Sleep long enough that a second tick must happen if this is a ticker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      TF_ASSERT_OK(BuildXlaOps(root, fdef_lib, &graph));
    
      Node* stateful_partitioned_call_op = nullptr;
      for (Node* n : graph->op_nodes()) {
        if (n->type_string() == "StatefulPartitionedCall") {
          ASSERT_EQ(stateful_partitioned_call_op, nullptr);
          stateful_partitioned_call_op = n;
        }
      }
    
      ASSERT_NE(stateful_partitioned_call_op, nullptr);
      auto xla_compile = NodeWith(Op("_XlaCompile"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

      EXPECT_TRUE(mlir::isa<mlir::DenseStringElementsAttr>(attr));
      auto string_attr = mlir::cast<mlir::DenseStringElementsAttr>(attr);
      auto string_values = string_attr.getRawStringData();
      ASSERT_EQ(string_values.size(), 4);
      EXPECT_EQ(string_values[0], mlir::StringRef("one"));
      EXPECT_EQ(string_values[1], mlir::StringRef("two"));
      EXPECT_EQ(string_values[2], mlir::StringRef("three"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-main/src/executable/resources/META-INF/LICENSE

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    //   ...
    //
    // where pred_format is a function or functor that takes n (in the
    // case of ASSERT_PRED_FORMATn) values and their source expression
    // text, and returns a testing::AssertionResult.  See the definition
    // of ASSERT_EQ in gtest.h for an example.
    //
    // If you don't care about formatting, you can use the more
    // restrictive version:
    //
    //   ASSERT_PRED1(pred, v1)
    //   ASSERT_PRED2(pred, v1, v2)
    //   ...
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/lookup.go

    	}
    	w := newTypeWriter(buf, qf)
    	w.pkgInfo = pkgInfo
    	w.paramNames = false
    	w.signature(f.typ.(*Signature))
    	return buf.String()
    }
    
    // assertableTo reports whether a value of type V can be asserted to have type T.
    // The receiver may be nil if assertableTo is invoked through an exported API call
    // (such as AssertableTo), i.e., when all methods have been type-checked.
    // The underlying type of V must be an interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. src/go/types/lookup.go

    	}
    	w := newTypeWriter(buf, qf)
    	w.pkgInfo = pkgInfo
    	w.paramNames = false
    	w.signature(f.typ.(*Signature))
    	return buf.String()
    }
    
    // assertableTo reports whether a value of type V can be asserted to have type T.
    // The receiver may be nil if assertableTo is invoked through an exported API call
    // (such as AssertableTo), i.e., when all methods have been type-checked.
    // The underlying type of V must be an interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. LICENSES/vendor/k8s.io/gengo/v2/LICENSE

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:39 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/net/http/request_test.go

    		t.Errorf("missing value = %q, want empty string", g)
    	}
    
    	assertMem := func(n string, fd multipart.File) {
    		if _, ok := fd.(*os.File); ok {
    			t.Error(n, " is *os.File, should not be")
    		}
    	}
    	fda := testMultipartFile(t, req, "filea", "filea.txt", fileaContents)
    	defer fda.Close()
    	assertMem("filea", fda)
    	fdb := testMultipartFile(t, req, "fileb", "fileb.txt", filebContents)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/expr.go

    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcCompLit", n)(&res)
    	}
    
    	lno := base.Pos
    	defer func() {
    		base.Pos = lno
    	}()
    
    	ir.SetPos(n)
    
    	t := n.Type()
    	base.AssertfAt(t != nil, n.Pos(), "missing type in composite literal")
    
    	switch t.Kind() {
    	default:
    		base.Errorf("invalid composite literal type %v", t)
    		n.SetType(nil)
    
    	case types.TARRAY:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top