Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,576 for ulong (0.09 sec)

  1. guava/src/com/google/common/math/LongMath.java

        int leadingZeros =
            Long.numberOfLeadingZeros(a)
                + Long.numberOfLeadingZeros(~a)
                + Long.numberOfLeadingZeros(b)
                + Long.numberOfLeadingZeros(~b);
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
        // the return value if we will overflow (which we calculate by overflowing a long :) )
        long limit = Long.MAX_VALUE + ((a ^ b) >>> (Long.SIZE - 1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        @CheckForNull
        public Long previous(Long value) {
          long l = value;
          return (l == Long.MIN_VALUE) ? null : l - 1;
        }
    
        @Override
        Long offset(Long origin, long distance) {
          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensionsTest.kt

            doNothing().`when`(extensions).configure(any<TypeOf<SomeInterface<Long>>>(), any<Action<SomeInterface<Long>>>())
    
            extensions.configure<SomeInterface<Long>> { println(p) }
    
            inOrder(extensions) {
                verify(extensions).configure(any<TypeOf<SomeInterface<Long>>>(), any<Action<SomeInterface<Long>>>())
                verifyNoMoreInteractions()
            }
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableLongArray.java

        return new ImmutableLongArray(new long[] {e0, e1, e2, e3});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1, long e2, long e3, long e4) {
        return new ImmutableLongArray(new long[] {e0, e1, e2, e3, e4});
      }
    
      /** Returns an immutable array containing the given values, in order. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/BuildableTestResultsProvider.groovy

        }
    
        void writeAllOutput(long classId, TestOutputEvent.Destination destination, Writer writer) {
            doWrite(classId, 0, true, destination, writer)
        }
    
        void writeNonTestOutput(long classId, TestOutputEvent.Destination destination, Writer writer) {
            doWrite(classId, 0, false, destination, writer)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

       * value).hashCode()}.
       *
       * <p>This method always return the value specified by {@link Long#hashCode()} in java, which
       * might be different from {@code ((Long) value).hashCode()} in GWT because {@link
       * Long#hashCode()} in GWT does not obey the JRE contract.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#hashCode(long)} instead.
       *
       * @param value a primitive {@code long} value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Longs.java

       * value).hashCode()}.
       *
       * <p>This method always return the value specified by {@link Long#hashCode()} in java, which
       * might be different from {@code ((Long) value).hashCode()} in GWT because {@link
       * Long#hashCode()} in GWT does not obey the JRE contract.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#hashCode(long)} instead.
       *
       * @param value a primitive {@code long} value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/LongMathTest.java

        assertMean(0, 0, 0);
        assertMean(-1, -1, -1);
        assertMean(Long.MIN_VALUE, Long.MIN_VALUE, Long.MIN_VALUE);
        assertMean(Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE);
    
        // Exhaustive checks
        for (long x : ALL_LONG_CANDIDATES) {
          for (long y : ALL_LONG_CANDIDATES) {
            assertMean(x, y);
          }
        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      /** Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static void sleepUninterruptibly(long sleepFor, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(sleepFor);
          long end = System.nanoTime() + remainingNanos;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_deprecate_message.txt

    ! stderr 'second line'
    go list -m -u -f '{{.Deprecated}}' multiline
    stdout '^first line\nsecond line.$'
    
    # When there is a long message, 'go get' should print a placeholder.
    go get long
    stderr '^go: module long is deprecated: \(message omitted: too long\)$'
    go list -m -u -f '{{.Deprecated}}' long
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top