Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for Odivide (0.2 sec)

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

            if (b != 0) {
              UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
              UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
              int expected = aUnsigned.bigIntegerValue().divide(bUnsigned.bigIntegerValue()).intValue();
              UnsignedInteger unsignedDiv = aUnsigned.dividedBy(bUnsigned);
              assertThat(unsignedDiv.intValue()).isEqualTo(expected);
            }
          }
        }
      }
    
    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

            if (b != 0) {
              UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
              UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
              long expected =
                  aUnsigned.bigIntegerValue().divide(bUnsigned.bigIntegerValue()).longValue();
              UnsignedLong unsignedDiv = aUnsigned.dividedBy(bUnsigned);
              assertThat(unsignedDiv.longValue()).isEqualTo(expected);
            }
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          // Avoid delegating to this(long[]), since AtomicLongArray(long[]) will clone its input and
          // thus double memory usage.
          this.data =
              new AtomicLongArray(Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING)));
          this.bitCount = LongAddables.create();
        }
    
        // Used by serialization
        LockFreeBitArray(long[] data) {
          checkArgument(data.length > 0, "data length is zero!");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        int bytesToCopy = bufferSize - buffer.position();
        for (int i = 0; i < bytesToCopy; i++) {
          buffer.put(readBuffer.get());
        }
        munch(); // buffer becomes empty here, since chunkSize divides bufferSize
    
        // Now process directly from the rest of the input buffer
        while (readBuffer.remaining() >= chunkSize) {
          process(readBuffer);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  6. 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 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param dividend the dividend (numerator)
       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
      public static int divide(int dividend, int divisor) {
        return (int) (toLong(dividend) / toLong(divisor));
      }
    
      /**
       * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
       * quantities.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. README.md

    - **Operator** - The component provides user friendly options to operate the Istio service mesh.
    
    ## Repositories
    
    The Istio project is divided across a few GitHub repositories:
    
    - [istio/api](https://github.com/istio/api). This repository defines
    component-level APIs and common configuration formats for the Istio platform.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 15:28:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      public void testBitSize() {
        double fpp = 0.03;
        for (int i = 1; i < 10000; i++) {
          long numBits = BloomFilter.optimalNumOfBits(i, fpp);
          int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING));
          assertEquals(
              arraySize * Long.SIZE,
              BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize());
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  10. internal/s3select/sql/aggregation.go

    		return FromInt(e.aggregate.runningCount), nil
    
    	case aggFnAvg:
    		if e.aggregate.runningCount == 0 {
    			// No rows were seen by AVG.
    			return FromNull(), nil
    		}
    		err := e.aggregate.runningSum.arithOp(opDivide, FromInt(e.aggregate.runningCount))
    		return e.aggregate.runningSum, err
    
    	case aggFnMin:
    		if !e.aggregate.seen {
    			// No rows were seen by MIN
    			return FromNull(), nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top