Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for 02 (0.01 sec)

  1. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        reference = new ValidTestObject(1, 2);
        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        assertEquals(
            ImmutableMap.of(Range.closedOpen(0, 1), 1, Range.closedOpen(1, 2), 1),
            rangeMap.asMapOfRanges());
    
        RangeMap<Integer, Integer> subRangeMap = rangeMap.subRangeMap(Range.closedOpen(0, 2));
        subRangeMap.putCoalescing(Range.closedOpen(1, 1), 1); // empty range coalesces connected ranges
        assertEquals(ImmutableMap.of(Range.closedOpen(0, 2), 1), subRangeMap.asMapOfRanges());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Striped.java

            this.index = index;
          }
        }
      }
    
      /**
       * Implementation of Striped where up to 2^k stripes can be represented, using a ConcurrentMap
       * where the key domain is [0..2^k). To map a user key into a stripe, we take a k-bit slice of the
       * user key's (smeared) hashCode(). The stripes are lazily initialized and are weakly referenced.
       */
      @VisibleForTesting
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Skip 3 bytes
            assertEquals(3, sis.skip(3));
    
            // Read remaining 2 bytes
            byte[] remaining = new byte[2];
            assertEquals(2, sis.read(remaining, 0, 2));
            assertArrayEquals(new byte[] { 40, 50 }, remaining);
        }
    
        @Test
        @DisplayName("Skip handles amount larger than available")
        void skipHandlesLargerThanAvailable() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. CHANGELOG.md

    _2022-03-14_
    
     *  Fix: Don't attempt to close pooled connections. We saw occasional fast fallback calls crash in
        the previous alpha due to an unexpected race.
    
    
    ## Version 5.0.0-alpha.5
    
    _2022-02-21_
    
     *  Fix: Don't include [Assertk][assertk] in OkHttp's production dependencies. This regression was
        introduced in the 5.0.0-alpha.4 release.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
        peer.sendFrame().headers(false, 3, headerEntries("a", "android"))
        for (i in 0..2) {
          // Send frames of summing to size 50, which is windowUpdateThreshold.
          peer.sendFrame().data(false, 3, data(24), 24)
          peer.sendFrame().data(false, 3, data(25), 25)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        verifyComplexMessage(expected);
      }
    
      public void testCheckElementIndex_ok() {
        assertEquals(0, checkElementIndex(0, 1));
        assertEquals(0, checkElementIndex(0, 2));
        assertEquals(1, checkElementIndex(1, 2));
      }
    
      public void testCheckElementIndex_badSize() {
        assertThrows(IllegalArgumentException.class, () -> checkElementIndex(1, -1));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

       */
      public boolean isEmpty() {
        return lowerBound.equals(upperBound);
      }
    
      /**
       * Returns {@code true} if {@code value} is within the bounds of this range. For example, on the
       * range {@code [0..2)}, {@code contains(1)} returns {@code true}, while {@code contains(2)}
       * returns {@code false}.
       */
      public boolean contains(C value) {
        checkNotNull(value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

        Typically this would cause certain redirects to fail in debug and development configurations.
    
    
    ## Version 4.4.0
    
    _2020-02-17_
    
     *  New: Support `canceled()` as an event that can be observed by `EventListener`. This should be
        useful for splitting out canceled calls in metrics.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    newThreshold = Math.min(currentThreshold + 2, 15);
                }
                // If failure rate is moderate but response time is very high, be stricter
                else if (failureRate > 0.2 && avgResponseTime > 10000) {
                    newThreshold = Math.max(currentThreshold - 1, 2);
                }
                // If system is performing well, be more lenient
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top