Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,116 for handles (2.72 sec)

  1. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Each name should write at least 34 bytes (encoded name + scope)
            assertTrue(bytesWritten >= 68);
        }
    
        @Test
        @DisplayName("writeTrailerWireFormat with scope should handle scoped names")
        void testWriteTrailerWireFormatWithScope() {
            when(mockCalledName.getName()).thenReturn("SERVER");
            when(mockCalledName.getNameType()).thenReturn(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0
            }
    
            @Test
            @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully")
            void testConstructorWithEmptyNode() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = TIME_LOW;
                rpcUuid.time_mid = TIME_MID;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            leaseManager.updateLease(key, grantedState);
    
            LeaseEntry entry = leaseManager.getLease(key);
            assertEquals(grantedState, entry.getLeaseState());
        }
    
        @Test
        @DisplayName("Should handle lease break")
        void testHandleLeaseBreak() {
            String path = "/share/file.txt";
            int initialState = Smb2LeaseState.SMB2_LEASE_FULL;
            int newState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        @DisplayName("Constructor with null pipe name should handle gracefully")
        void testConstructorWithNullPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, null);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
        @DisplayName("Constructor with empty pipe name should handle gracefully")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. docs/en/docs/reference/openapi/index.md

    # OpenAPI
    
    There are several utilities to handle OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 158 bytes
    - Viewed (0)
  6. cmd/batchjobmetric_string.go

    // Code generated by "stringer -type=batchJobMetric -trimprefix=batchJobMetric batch-handlers.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[batchJobMetricReplication-0]
    	_ = x[batchJobMetricKeyRotation-1]
    	_ = x[batchJobMetricExpire-2]
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 797 bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

            };
        return newProxy(interfaceType, handler);
      }
    
      // TODO: replace with version in common.reflect if and when it's open-sourced
      private static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) {
        Object object =
            Proxy.newProxyInstance(
                interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler);
        return interfaceType.cast(object);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

     *
     * @author Gregory Kick
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class UncaughtExceptionHandlers {
      private UncaughtExceptionHandlers() {}
    
      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/CIFSExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle null message")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
                CIFSException exception = new CIFSException((String) null);
                assertNotNull(exception);
            });
        }
    
        @Test
        @DisplayName("Should handle null cause")
        void testNullCause() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete copy operation with multiple chunks")
            void testCompleteCopyOperation() {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top