Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 3,662 for Void (0.02 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSequenceReaderTest extends TestCase {
    
      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
      public void testReadsStringsCorrectly() throws IOException {
        assertReadsCorrectly("abc");
        assertReadsCorrectly("abcde");
        assertReadsCorrectly("abcdefghijkl");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

        }
    
        public void setDataBuffer(byte[] dataBuffer) {
            this.dataBuffer = dataBuffer;
        }
    
        public int getDataOffset() {
            return dataOffset;
        }
    
        public void setDataOffset(int dataOffset) {
            this.dataOffset = dataOffset;
        }
    
        public int getDataLength() {
            return dataLength;
        }
    
        public void setDataLength(int dataLength) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        class CtorValidation {
            @Test
            @DisplayName("null handle throws NPE")
            void nullHandle() {
                assertThrows(NullPointerException.class, () -> new SmbPipeInputStream(null, tree));
            }
    
            @Test
            @DisplayName("null tree throws NPE")
            void nullTree() {
                assertThrows(NullPointerException.class, () -> new SmbPipeInputStream(handle, null));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      public void testAsMapValuesImplementSet() {
        for (Collection<V> valueCollection : multimap().asMap().values()) {
          assertTrue(valueCollection instanceof Set);
        }
      }
    
      public void testAsMapGetImplementsSet() {
        for (K key : multimap().keySet()) {
          assertTrue(multimap().asMap().get(key) instanceof Set);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade"));
        }
    
        @Test
        @DisplayName("Default ctor: null message/cause; toString is class name; type hierarchy")
        void defaultConstructor_hasNullMessageAndCause_andTypeHierarchy() {
            // Arrange & Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException();
    
            // Assert - message and cause are null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         */
        public void setThumbnailPathCacheSize(final int thumbnailPathCacheSize) {
            this.thumbnailPathCacheSize = thumbnailPathCacheSize;
        }
    
        /**
         * Sets the image file extension for thumbnails.
         *
         * @param imageExtention the file extension to set
         */
        public void setImageExtention(final String imageExtention) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

         */
        public final void setOpenTimeout(final int openTimeout) {
            this.openTimeout = openTimeout;
        }
    
        /**
         * Sets the remaining bytes count.
         *
         * @param remaining
         *            the remaining to set
         */
        public final void setRemaining(final int remaining) {
            this.remaining = remaining;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /**
         * Updates the heartbeat timestamp to current time and resets failure count.
         */
        public void updateHeartbeat() {
            this.lastHeartbeat = System.currentTimeMillis();
            this.heartbeatFailures = 0;
        }
    
        /**
         * Increments the heartbeat failure count.
         */
        public void incrementHeartbeatFailures() {
            this.heartbeatFailures++;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
        TypeVariable<?> expected =
            TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter")
                .getTypeParameters()[0];
        assertEquals(expected, variable);
      }
    
      public void testConcreteTypeRejected() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top