Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,484 for timeN (0.01 sec)

  1. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).getTree();
        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multiset.java

       * e]}.
       */
      @Override
      String toString();
    
      // Refined Collection Methods
    
      /**
       * {@inheritDoc}
       *
       * <p>Elements that occur multiple times in the multiset will appear multiple times in this
       * iterator, though not necessarily sequentially.
       */
      @Override
      Iterator<E> iterator();
    
      /**
       * Determines whether this multiset contains the specified element.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            handle.close();
    
            // Assert
            // sendrecv for open is called once
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrOpenDomain.class));
            // sendrecv for close is called only once, even if close() is called multiple times
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                while (waitingThreads() != numThreads - 1) {
                  if (System.nanoTime() - t0 > timeout) {
                    thrown.set(
                        new TimeoutException(
                            "timed out waiting for other threads to block"
                                + " synchronizing on supplier"));
                    break;
                  }
                  Thread.yield();
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/HMACT64Test.java

                assertArrayEquals(finalDigest, result);
                verify(mockMd5, times(1)).digest(); // First call for inner digest
                verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor with ipad, once in engineDigest with opad
                verify(mockMd5, times(1)).digest(innerDigest); // Second call for final digest
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      /**
       * Clears fields that are no longer needed after this future has completed -- or at least all its
       * inputs have completed (more precisely, after {@link #handleAllCompleted()} has been called).
       * Often called multiple times (that is, both when the inputs complete and when the output
       * completes).
       *
       * <p>This is similar to our proposed {@code afterCommit} method but not quite the same. See the
       * description of CL 265462958.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act
            handle.close();
    
            // Assert
            // Verify sendrecv was called once for open and once for close
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class));
        }
    
        @Test
        void close_shouldDoNothingIfAlreadyClosed() throws IOException {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun messageDone(
        exchange: Exchange,
        requestDone: Boolean = false,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/ResponseTest.java

            // Verify the method was called
            verify(mockResponse, times(2)).isReceived();
        }
    
        @Test
        void testReceived() {
            // Call the method
            mockResponse.received();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).received();
        }
    
        @Test
        void testClearReceived() {
            // Call the method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test size returns positive message size")
        void testSizeReturnsPositiveValue() {
            // Given
            int expectedSize = 1024;
            when(request.size()).thenReturn(expectedSize);
    
            // When
            int result = request.size();
    
            // Then
            assertEquals(expectedSize, result);
            verify(request, times(1)).size();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top