Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,399 for zero (0.15 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        for (long value : TEST_LONGS) {
          BigInteger expected =
              (value >= 0)
                  ? BigInteger.valueOf(value)
                  : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64));
          assertWithMessage(UnsignedLongs.toString(value))
              .that(UnsignedLong.fromLongBits(value).bigIntegerValue())
              .isEqualTo(expected);
        }
      }
    
      public void testValueOfLong() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64latelower.rules

    // These rules remove unneeded sign/zero extensions.
    // They occur in late lower because they rely on the fact
    // that their arguments don't get rewritten to a non-extended opcode instead.
    
    // Boolean-generating instructions (NOTE: NOT all boolean Values) always
    // zero upper bit of the register; no need to zero-extend
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    func TestQuantityAddZeroPreservesSuffix(t *testing.T) {
    	testValues := []string{"100m", "1Gi"}
    	zero := MustParse("0")
    	for _, testValue := range testValues {
    		value := MustParse(testValue)
    		v1 := value.DeepCopy()
    		// ensure non-zero + zero = non-zero (suffix preserved)
    		v1.Add(zero)
    		// ensure zero + non-zero = non-zero (suffix preserved)
    		v2 := zero.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/crypto/rsa/pss.go

    	//     initial zero octets.
    	//
    	// 6.  Let H = Hash(M'), an octet string of length hLen.
    
    	var prefix [8]byte
    
    	hash.Write(prefix[:])
    	hash.Write(mHash)
    	hash.Write(salt)
    
    	h = hash.Sum(h[:0])
    	hash.Reset()
    
    	// 7.  Generate an octet string PS consisting of emLen - sLen - hLen - 2
    	//     zero octets. The length of PS may be 0.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

            }
            return normalised.compareTo(o.normalised);
        }
    
        public Amount<Q> plus(Amount<Q> other) {
            if (other.value.equals(BigDecimal.ZERO)) {
                return this;
            }
            if (value.equals(BigDecimal.ZERO)) {
                return other;
            }
            int diff = units.compareTo(other.units);
            if (diff == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetReflectsRemove() {
        Set<E> elementSet = getMultiset().elementSet();
        assertTrue(elementSet.contains(e0()));
        getMultiset().removeAll(Collections.singleton(e0()));
        assertFalse(elementSet.contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

    // %3 = stablehlo.constant  // Input 1 zero point z1 (i8).
    // %4 = stablehlo.constant  // Input 1 zero point z1 (i32).
    // %5 = stablehlo.constant  // Input 2 inverse scale 1 / s2.
    // %6 = stablehlo.constant  // Input 2 zero point z2 (i8).
    // %7 = stablehlo.constant  // Input 2 zero point z2 (i32).
    // %8 = stablehlo.constant  // Input 3 inverse scale 1 / s3.
    // %9 = stablehlo.constant  // Input 3 zero point z3.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

                              Value &padding_high) {
      Value zero = CreateScalarConstValue<int32_t>(builder, loc, 0);
      Value one = CreateScalarConstValue<int32_t>(builder, loc, 1);
      Value two = CreateScalarConstValue<int32_t>(builder, loc, 2);
      Value filter_size = CreateScalarConstValue<int32_t>(builder, loc, filter_sz);
      Type int32_scalar_type = zero.getType();
    
      auto scalar_add = [&](Value lhs, Value rhs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top