Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 750 for HANDLE (0.03 sec)

  1. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

                } else {
                    throw new IOException("Simulated reconnection failure");
                }
            }
    
            public void testCreateReconnectionRequest(HandleInfo handle) {
                createReconnectionRequest(handle);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/Converter.java

         */
        Object getAsObject(String value);
    
        /**
         * Returns {@literal true} if this converter can handle the specified type.
         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                // Should handle whitespace-only groupId as invalid
                assertNull(gav, "Artifact should be null for whitespace-only groupId");
            }
    
            @Test
            @DisplayName("should handle POM with empty elements")
            void shouldHandlePOMWithEmptyElements() throws Exception {
                String pomXml = """
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

            // Full lease for read/write/handle operations
            if (hasWriteAccess || hasDeleteAccess) {
                return Smb2LeaseState.SMB2_LEASE_FULL; // Read + Write + Handle
            }
            // Read + Handle for read operations
            else if (hasReadAccess) {
                return Smb2LeaseState.SMB2_LEASE_READ_HANDLE; // Read + Handle
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            }
        }
    
        @Nested
        @DisplayName("Message Encoding Tests")
        class MessageEncodingTests {
    
            @Test
            @DisplayName("encode should handle REQUEST ptype correctly")
            void testEncodeRequestPtype() throws NdrException {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST; // 0
                message.call_id = 1;
                message.opnumValue = 5;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      }
    
      public static class StringSubscriber {
    
        @Subscribe
        public void handle(String s) {}
      }
    
      public static class IntegerSubscriber {
    
        @Subscribe
        public void handle(Integer i) {}
      }
    
      public static class ObjectSubscriber {
    
        @Subscribe
        public void handle(Object o) {}
      }
    
      public void testFlattenHierarchy() {
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @NullAndEmptySource
            @DisplayName("Should handle null and empty domains")
            void testNullAndEmptyDomains(String domain) {
                referralData.setDomain(domain);
                assertEquals(domain, referralData.getDomain());
            }
    
            @ParameterizedTest
            @NullAndEmptySource
            @DisplayName("Should handle null and empty links")
            void testNullAndEmptyLinks(String link) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                assertEquals(rootNames[i], entries[i].getName());
                assertEquals(8, entries[i].getType()); // TYPE_SHARE constant value
            }
        }
    
        @Test
        @DisplayName("getEntries should handle single DFS root correctly")
        void testGetEntries_singleEntry() throws Exception {
            // Create array with single entry
            netdfs.DfsEnumArray200 singleArray = new netdfs.DfsEnumArray200();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readParametersWireFormat(buffer, 0, 100));
            assertEquals(0, response.readDataWireFormat(buffer, 0, 100));
        }
    
        @Test
        @DisplayName("Methods should handle null buffer without validation")
        void testMethodsWithNullBuffer() {
            // The implementation doesn't validate null buffers
            // These methods simply return 0 without accessing the buffer
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.setAccessible(true);
                assertEquals(oplockLevel, oplockLevelField.get(notification));
            }
    
            @Test
            @DisplayName("Should handle buffer with offset correctly")
            void testReadWithBufferOffset() throws Exception {
                int offset = 10;
                byte[] buffer = new byte[64];
                byte[] fileId = createTestData(16);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top