Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 411 for presented (0.26 sec)

  1. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            assertArrayEquals(new byte[0], t.toByteArray(), "empty array expected when mechanismToken is null");
        }
    
        @Test
        @DisplayName("toByteArray returns mechanismToken reference when present")
        void toByteArrayReturnsToken() throws IOException {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] raw = new byte[] { 11, 12, 13 };
            t.parse(raw);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

          return hash & mask;
        }
    
        @Override
        public final L get(Object key) {
          return getAt(indexFor(key));
        }
      }
    
      /**
       * Implementation of Striped where 2^k stripes are represented as an array of the same length,
       * eagerly initialized.
       */
      private static final class CompactStriped<L> extends PowerOfTwoStriped<L> {
        /** Size is a power of two. */
        private final Object[] array;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      private void assertEvents(String... events) {
        assertEquals(Arrays.toString(events), stopwatch.readEventsAndClear());
      }
    
      /**
       * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds
       * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second.
       */
      static class FakeStopwatch extends SleepingStopwatch {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      private void assertEvents(String... events) {
        assertEquals(Arrays.toString(events), stopwatch.readEventsAndClear());
      }
    
      /**
       * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds
       * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second.
       */
      static class FakeStopwatch extends SleepingStopwatch {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

    public class ListAddTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

            }
            break;
          case LAST_BEFORE:
            if (list.contains(key)) {
              assertEquals(list.indexOf(key) - 1, answer);
              return;
            }
            break;
        }
        // key is not present
        int nextHigherIndex = list.size();
        for (int i = list.size() - 1; i >= 0 && list.get(i) > key; i--) {
          nextHigherIndex = i;
        }
        switch (absentBehavior) {
          case NEXT_LOWER:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. docs/features/caching.md

    containing a query.
    
     - CallStart
     - **CacheHit**
     - CallEnd
     
    ### Cache Miss
    
    Under a cache miss the normal request events are seen but an additional event shows the presence of the cache.
    Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it's 
    lifetime based on Response cache headers.
    
     - CallStart 
     - **CacheMiss**
     - ProxySelectStart
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapContainsValueTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(absent = ZERO)
      public void testContains_yes() {
        assertTrue("containsValue(present) should return true", getMap().containsValue(v0()));
      }
    
      public void testContains_no() {
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * Internal representation of SIDs
     *
     * A Windows SID is a numeric identifier used to represent Windows
     * accounts. SIDs are commonly represented using a textual format such as
     * {@code S-1-5-21-1496946806-2192648263-3843101252-1029} but they may
     * also be resolved to yield the name of the associated Windows account
     * such as {@code Administrators} or {@code MYDOM\alice}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Encode to set headerStart
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = unicodePath.getBytes(StandardCharsets.UTF_16LE);
    
            // Verify Unicode path is preserved
            byte[] actualPath = new byte[pathBytes.length];
            System.arraycopy(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 8, actualPath, 0, pathBytes.length);
            assertArrayEquals(pathBytes, actualPath);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top