Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,555 for zero (0.43 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        assertEquals(v0(), getMap().replace(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testContainsValueYes() {
        assertTrue(multimap().containsValue(v0()));
      }
    
      public void testContainsValueNo() {
        assertFalse(multimap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContainsNullValueYes() {
        initMultimapWithNullValue();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Nov 16 17:41:24 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. schema/utils.go

    		loaded        = map[interface{}]bool{}
    		notZero, zero bool
    	)
    
    	if reflectValue.Kind() == reflect.Ptr ||
    		reflectValue.Kind() == reflect.Interface {
    		reflectValue = reflectValue.Elem()
    	}
    
    	switch reflectValue.Kind() {
    	case reflect.Struct:
    		results = [][]interface{}{make([]interface{}, len(fields))}
    
    		for idx, field := range fields {
    			results[0][idx], zero = field.ValueOf(ctx, reflectValue)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import com.google.common.collect.testing.WrongType;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_riscv64.s

    	SCW	A2, (A0), A4
    	BNE	A4, ZERO, cas_again
    	MOV	$1, A0
    	MOVB	A0, ret+16(FP)
    	RET
    cas_fail:
    	MOV	$0, A0
    	MOV	A0, ret+16(FP)
    	RET
    
    // func Cas64(ptr *uint64, old, new uint64) bool
    TEXT ·Cas64(SB), NOSPLIT, $0-25
    	MOV	ptr+0(FP), A0
    	MOV	old+8(FP), A1
    	MOV	new+16(FP), A2
    cas_again:
    	LRD	(A0), A3
    	BNE	A3, A1, cas_fail
    	SCD	A2, (A0), A4
    	BNE	A4, ZERO, cas_again
    	MOV	$1, A0
    	MOVB	A0, ret+24(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/crypto/aes/gcm_arm64.s

    	MOVW.W	-4(srcPtr), H0
    	VEXT	$12, T0.B16, ZERO.B16, T0.B16
    	VEXT	$12, T3.B16, ZERO.B16, T3.B16
    	VMOV	H0, T0.S[0]
    	VMOV	H1, T3.S[0]
    ld2:
    	TBZ	$1, srcPtrLen, ld1
    	MOVH.W	-2(srcPtr), H0
    	VEXT	$14, T0.B16, ZERO.B16, T0.B16
    	VEXT	$14, T3.B16, ZERO.B16, T3.B16
    	VMOV	H0, T0.H[0]
    	VMOV	H1, T3.H[0]
    ld1:
    	TBZ	$0, srcPtrLen, ld0
    	MOVB.W	-1(srcPtr), H0
    	VEXT	$15, T0.B16, ZERO.B16, T0.B16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

       (IsInt32ElementType $conv),
       (HasStaticShapeConstraint $filter),
       (HasStaticShapeAtDimsConstraint<"3"> $input)],
      [], (addBenefit 10)>;
    
    // Same as ConvertTFConv2DToXLAConvOp but handles the case where input zero
    // point is dynaically calculated so not a constant.
    def ConvertTFConv2DToXLAConvOpDynamicRange : Pat<
      (TF_Conv2DOp:$conv
        (TF_SubOp:$input (TF_CastOp $input_i8, $truncate0), $input_zp),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

      func.return %1 : tensor<?x?x?xf32>
    
    // CHECK-DAG:  [[ZERO1:%cst.*]] = arith.constant dense<0> : tensor<i32>
    // CHECK-DAG:  [[ZERO2:%cst.*]] = arith.constant dense<0> : tensor<i32>
    // CHECK-DAG:  [[DIM0:%.*]] = "tf.ExpandDims"(%arg1, [[ZERO1]]) : (tensor<i32>, tensor<i32>) -> tensor<1xi32>
    // CHECK-DAG:  [[SHAPE:%.*]] = "tf.Concat"([[ZERO2]], [[DIM0]], %arg0) : (tensor<i32>, tensor<1xi32>, tensor<3xi32>) -> tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

    import static com.google.common.collect.testing.Helpers.assertEmpty;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Nov 16 17:41:24 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  10. test/typeparam/sliceimp.dir/a.go

    // If the slice is empty it returns the zero value of the element type.
    func SliceMax[Elem Ordered](s []Elem) Elem {
    	if len(s) == 0 {
    		var zero Elem
    		return zero
    	}
    	return Reduce(s[1:], s[0], Max[Elem])
    }
    
    // Min returns the minimum element in a slice of some ordered type.
    // If the slice is empty it returns the zero value of the element type.
    func SliceMin[Elem Ordered](s []Elem) Elem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 01:55:58 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top