Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for remainders (0.21 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

            // get a rounded ratio and a remainder which can be expressed as ints, without risk of
            // overflow:
            int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
            int remainder = (int) (numerator - (long) quotient * scale);
            quotients[i] = quotient;
            remainders[i] = remainder;
            requiredSelections[requiredSelectionsCount] = quotient;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/Quantiles.java

            // get a rounded ratio and a remainder which can be expressed as ints, without risk of
            // overflow:
            int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
            int remainder = (int) (numerator - (long) quotient * scale);
            quotients[i] = quotient;
            remainders[i] = remainder;
            requiredSelections[requiredSelectionsCount] = quotient;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  3. src/math/big/natdiv.go

    Instead of creating new storage for the remainders and copying digits from u
    as indicated by the arrows, we use u's storage directly as both the source
    and destination of the subtractions, so that the remainders overwrite
    successive overlapping sections of u as the division proceeds, using a slice
    of u to identify the current section. This avoids all the copying as well as
    shifting of remainders.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

            if (result < 0) {
              result = UnsignedLongs.remainder(result, m);
            }
            // result < 2^63 again
            result += aLo * bHi; // aLo * bHi < 2^63, result < 2^64
            result = times2ToThe32Mod(result, m); // result < m < 2^63
            return plusMod(result, UnsignedLongs.remainder(aLo * bLo /* < 2^64 */, m), m);
          }
    
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

            if (result < 0) {
              result = UnsignedLongs.remainder(result, m);
            }
            // result < 2^63 again
            result += aLo * bHi; // aLo * bHi < 2^63, result < 2^64
            result = times2ToThe32Mod(result, m); // result < m < 2^63
            return plusMod(result, UnsignedLongs.remainder(aLo * bLo /* < 2^64 */, m), m);
          }
    
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.mlir

      // CHECK: %[[REMAINDER_0:.*]] = stablehlo.remainder %[[CONSTANT_0]], %[[CONSTANT_1]] : tensor<1024x3xf32>
      // CHECK: %[[REMAINDER_1:.*]] = stablehlo.remainder %[[REMAINDER_0]], %[[CONSTANT_1]] : tensor<1024x3xf32>
      // CHECK: %[[REMAINDER_2:.*]] = stablehlo.remainder %[[REMAINDER_1]], %[[CONSTANT_1]] : tensor<1024x3xf32>
      // CHECK: %[[REMAINDER_3:.*]] = stablehlo.remainder %[[REMAINDER_2]], %[[CONSTANT_1]] : tensor<1024x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    					// Make a local copy of 'remainder'.
    					remainder := remainder
    
    					// Make a local copy of 'availableAfterAllocation'.
    					availableAfterAllocation := availableAfterAllocation.Clone()
    
    					// If this subset is not capable of allocating all
    					// remainder CPUs, continue to the next one.
    					if sum(availableAfterAllocation.Values(subset...)) < remainder {
    						return Continue
    					}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    		{
    			name:          "ok with date and comma and remainder",
    			header:        `  299 - "text\"\\\a\b\c"  "Tue, 15 Nov 1994 08:12:31 GMT" , remainder `,
    			wantResult:    WarningHeader{Code: 299, Agent: `-`, Text: `text"\abc`},
    			wantRemainder: "remainder",
    		},
    		{
    			name:          "ok with comma and remainder",
    			header:        `  299 - "text\"\\\a\b\c"  ,remainder text,second remainder`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouper.java

            }
            List<List<String>> commonPrefixes = new ArrayList<>();
            List<List<String>> remainder = Lists.newArrayList(splitGroups);
            List<List<String>> previous;
            while (!remainder.isEmpty()) {
                previous = Lists.newArrayList(remainder);
                shortest = remainder.get(0);
                int prefixLen = 2;
                List<String> prefix = shortest.subList(0, prefixLen);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.remainder(14, 5)).isEqualTo(4);
        assertThat(UnsignedLongs.remainder(0, 50)).isEqualTo(0);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL)).isEqualTo(1);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL))
            .isEqualTo(0xfffffffffffffffdL);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 65535)).isEqualTo(65534L);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top