Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 986 for handler1 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

            assertEquals(Smb2LeaseState.SMB2_LEASE_FULL, fullLease);
        }
    
        @Test
        @DisplayName("Should handle custom state combinations")
        void testCustomStateCombinations() {
            int customState = 0x06; // Write + Handle but no Read
    
            assertFalse(Smb2LeaseState.hasReadCaching(customState));
            assertTrue(Smb2LeaseState.hasWriteCaching(customState));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // Then
            assertEquals(maxMid, request.getMid(), "Should handle maximum MID");
            assertEquals(maxAsyncId, request.getAsyncId(), "Should handle maximum AsyncId");
            assertEquals(maxCredits, request.getCredit(), "Should handle maximum credits");
            assertEquals(maxTreeId, request.getTreeId(), "Should handle maximum tree ID");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test PRINT share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT, response.getShareType(), "Should handle PRINT share type");
            }
    
            @Test
            @DisplayName("Should handle share flags")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals("application/octet-stream", mimeMap.getMimeType("doesnotexist"));
            }
    
            @Test
            @DisplayName("Should handle case insensitive extensions")
            void testCaseInsensitiveExtensions() throws IOException {
                assertEquals("application/pdf", mimeMap.getMimeType("PDF"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * 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();
        }
    
        /**
         * Test isValid() when the handle is invalid.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

        }
    
        /**
         * Sets the context handle for the heartbeat.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java

    /**
     */
    @Deprecated
    public interface ArtifactInstaller {
        String ROLE = ArtifactInstaller.class.getName();
    
        /**
         * Install an artifact from a particular directory. The artifact handler is used to determine
         * the filename of the source file.
         *
         * @param basedir the directory where the artifact is stored
         * @param finalName the name of the artifact sans extension
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

            synchronized (this.sidCache) {
                try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", tc)) {
                    final SamrPolicyHandle policyHandle = new SamrPolicyHandle(handle, authorityServerName, 0x00000030);
                    final SamrDomainHandle domainHandle = new SamrDomainHandle(handle, policyHandle, 0x00000200, domsid.unwrap(sid_t.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Assert
            assertEquals(level1, queryPolicy1.level);
            assertEquals(level2, queryPolicy2.level);
            assertSame(mockPolicyHandle, queryPolicy1.handle);
            assertSame(mockPolicyHandle2, queryPolicy2.handle);
            assertSame(mockNdrObject, queryPolicy1.info);
            assertSame(mockNdrObject2, queryPolicy2.info);
        }
    
        @Test
        void constructor_shouldInitializeRetvalToZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

      private final EventBus eventBus;
      private final Object event;
      private final Object subscriber;
      private final Method subscriberMethod;
    
      /**
       * @param eventBus The {@link EventBus} that handled the event and the subscriber. Useful for
       *     broadcasting a new event based on the error.
       * @param event The event object that caused the subscriber to throw.
       * @param subscriber The source subscriber context.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top