Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 805 for nextUp (0.13 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        Object[] unused2 = set.toArray(new Object[2]);
      }
    
      interface Interface extends Comparable<Interface> {}
    
      static class Impl implements Interface {
        static int nextId;
        Integer id = nextId++;
    
        @Override
        public int compareTo(Interface other) {
          return id.compareTo(((Impl) other).id);
        }
      }
    
      public void testOf_ordering_dupes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  2. docs/en/docs/environment-variables.md

    obvious how environment variables would be useful and applicable right away. But they keep showing up in many different scenarios when you are developing, so it's good to know about them.
    
    For example, you will need this information in the next section, about [Virtual Environments](virtual-environments.md)....
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

            override fun runOnce(): Long {
              block()
              return -1L
            }
          },
          delayNanos,
        )
      }
    
      /** Returns a latch that reaches 0 when the queue is next idle. */
      fun idleLatch(): CountDownLatch {
        taskRunner.withLock {
          // If the queue is already idle, that's easy.
          if (activeTask == null && futureTasks.isEmpty()) {
            return CountDownLatch(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("a", 2);
        filtered.put("b", 4);
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
    
        Entry<String, Integer> entry = filtered.entrySet().iterator().next();
        assertThrows(IllegalArgumentException.class, () -> entry.setValue(5));
    
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
      }
    
      public void testFilteredValuesClear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/BufferCacheImplTest.java

            impl.releaseBuffer(b);
    
            // Assert: original array is zeroed in-place
            for (byte value : b) {
                assertEquals(0, value, "Released buffer must be zeroed");
            }
    
            // Next get should return the same instance from cache
            byte[] reused = impl.getBuffer();
            assertSame(b, reused, "Buffer should be reused from cache");
            // And it should still be zeroed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
          // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
          assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize));
          assertEquals(expectedBytes / chunkSize, processCalled);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      @CollectionSize.Require(SEVERAL)
      public void testDescendingNavigation() {
        List<E> descending = new ArrayList<>();
        for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) {
          descending.add(i.next());
        }
        Collections.reverse(descending);
        assertEquals(values, descending);
      }
    
      public void testEmptySubSet() {
        NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Credits
            SMBUtil.writeInt2(1, buffer, bufferIndex + 14);
            // Flags
            SMBUtil.writeInt4(1, buffer, bufferIndex + 16); // SMB2_FLAGS_SERVER_TO_REDIR
            // Next command
            SMBUtil.writeInt4(0, buffer, bufferIndex + 20);
            // Message ID
            SMBUtil.writeInt8(1, buffer, bufferIndex + 24);
            // Reserved/Async ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *    125 : Mapped inline to the sequence: [b2a, b3].
     *    126 : Mapped inline to the sequence: [b2, b3a].
     *    127 : Mapped inline to the sequence: [b2a, b3a].
     *
     * The range goes until the beginning of the next range.
     *
     * When b2 and b3 are unused, their values are set to 0x2d ('-').
     *
     * Section Index (1,240 bytes)
     * ===========================
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // First release drops usage to zero and releases transport
            session.release();
            verify(transport, times(1)).release();
            assertFalse(session.isInUse());
    
            // Next release goes below zero and throws
            RuntimeException ex = assertThrows(RuntimeCIFSException.class, session::release);
            assertTrue(ex.getMessage().contains("below zero"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top