Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for dividedBy (0.21 sec)

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

              UnsignedInteger unsignedDiv = aUnsigned.dividedBy(bUnsigned);
              assertThat(unsignedDiv.intValue()).isEqualTo(expected);
            }
          }
        }
      }
    
      public void testDivideByZeroThrows() {
        for (int a : TEST_INTS) {
          try {
            UnsignedInteger unused = UnsignedInteger.fromIntBits(a).dividedBy(UnsignedInteger.ZERO);
            fail("Expected ArithmeticException");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

              UnsignedLong unsignedDiv = aUnsigned.dividedBy(bUnsigned);
              assertThat(unsignedDiv.longValue()).isEqualTo(expected);
            }
          }
        }
      }
    
      public void testDivideByZeroThrows() {
        for (long a : TEST_LONGS) {
          try {
            UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO);
            fail("Expected ArithmeticException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

              UnsignedInteger unsignedDiv = aUnsigned.dividedBy(bUnsigned);
              assertThat(unsignedDiv.intValue()).isEqualTo(expected);
            }
          }
        }
      }
    
      public void testDivideByZeroThrows() {
        for (int a : TEST_INTS) {
          try {
            UnsignedInteger unused = UnsignedInteger.fromIntBits(a).dividedBy(UnsignedInteger.ZERO);
            fail("Expected ArithmeticException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

              UnsignedLong unsignedDiv = aUnsigned.dividedBy(bUnsigned);
              assertThat(unsignedDiv.longValue()).isEqualTo(expected);
            }
          }
        }
      }
    
      public void testDivideByZeroThrows() {
        for (long a : TEST_LONGS) {
          try {
            UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO);
            fail("Expected ArithmeticException");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      }
    
      /**
       * Returns the result of dividing this by {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
       * @since 14.0
       */
      public UnsignedInteger dividedBy(UnsignedInteger val) {
        return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value));
      }
    
      /**
       * Returns this mod {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLong.java

        return fromLongBits(value * checkNotNull(val).value);
      }
    
      /**
       * Returns the result of dividing this by {@code val}.
       *
       * @since 14.0
       */
      public UnsignedLong dividedBy(UnsignedLong val) {
        return fromLongBits(UnsignedLongs.divide(value, checkNotNull(val).value));
      }
    
      /**
       * Returns this modulo {@code val}.
       *
       * @since 14.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  7. docs/erasure/storage-class/README.md

    Below is a list of data/parity drives and corresponding _approximate_ storage space usage on a 16 drive MinIO deployment. The field _storage
    usage ratio_ is simply the drive space used by the file after erasure-encoding, divided by actual file size.
    
    | Total Drives (N) | Data Drives (D) | Parity Drives (P) | Storage Usage Ratio |
    |------------------|-----------------|-------------------|---------------------|
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  8. .teamcity/src/main/kotlin/model/bucket-extensions.kt

        }
    
        val expectedBucketSize = list.sumOf(toIntFunction) / expectedBucketNumber
    
        if (expectedBucketSize == 0) {
            // The elements in the list are so small that they can't even be divided into {expectedBucketNumber}.
            // For example, how do you split [0,0,0,0,0] into 3 buckets?
            // In this case, we simply put the elements into these buckets evenly.
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/CollectorTester.java

      }
    
      /**
       * Verifies that the specified expected result is always produced by collecting the specified
       * inputs, regardless of how the elements are divided.
       */
      @SafeVarargs
      @CanIgnoreReturnValue
      @SuppressWarnings("nullness") // TODO(cpovirk): Remove after we fix whatever the bug is.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        std::vector<TFE_TensorHandle*> device_inputs;
        device_inputs.reserve(inputs.size());
        for (int input_index = 0; input_index < inputs.size(); ++input_index) {
          // Parallel tensors are divided between operations by device.
          device_inputs.push_back(inputs[input_index]->tensor(device_index));
        }
        device_thread->StartExecute(
            context, operation_name, std::move(device_inputs), attributes,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
Back to top