Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,895 for LONG (0.04 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public long sum() {
        return map.values().stream().mapToLong(Long::longValue).sum();
      }
    
      @LazyInit @CheckForNull private transient Map<K, Long> asMap;
    
      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

        @Override
        public void offerAll(final String sessionId, final List<UrlQueueImpl<Long>> newUrlQueueList) {
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(sessionId);
            synchronized (urlQueueList) {
                final List<UrlQueueImpl<Long>> targetList = new ArrayList<>();
                for (final UrlQueueImpl<Long> urlQueue : newUrlQueueList) {
                    if (isNewUrl(urlQueue, urlQueueList)) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                    for (Map.Entry<Long, Map<Long, TestCaseRegion>> classEntry : index.entrySet()) {
                        Long classId = classEntry.getKey();
                        Map<Long, TestCaseRegion> regions = classEntry.getValue();
    
                        indexOutput.writeLong(classId, true);
                        indexOutput.writeInt(regions.size(), true);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/MonotonicClock.java

            this.currentTime.set(currentTimeMillis);
        }
    
        @Override
        public long getCurrentTime() {
            long nowNanos = timeSource.nanoTime();
            long syncNanos = syncNanosRef.get();
            long syncMillis = syncMillisRef.get();
            long sinceSyncNanos = nowNanos - syncNanos;
            long sinceSyncMillis = TimeUnit.NANOSECONDS.toMillis(sinceSyncNanos);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. internal/lock/lock_windows_test.go

    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathTesting.java

      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
      private static final Function<Long, BigInteger> TO_BIGINTEGER =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public long sum() {
        long sum = 0L;
        for (AtomicLong value : map.values()) {
          sum = sum + value.get();
        }
        return sum;
      }
    
      @LazyInit @CheckForNull private transient Map<K, Long> asMap;
    
      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        override val timestampNs: Long,
        override val call: Call,
      ) : CallEvent()
    
      data class RequestHeadersStart(
        override val timestampNs: Long,
        override val call: Call,
      ) : CallEvent()
    
      data class RequestHeadersEnd(
        override val timestampNs: Long,
        override val call: Call,
        val headerLength: Long,
      ) : CallEvent() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top