Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 193 for BOTH (3.43 sec)

  1. src/main/java/jcifs/SmbPipeResource.java

        /**
         * The pipe should be opened only for writing.
         */
    
        int PIPE_TYPE_WRONLY = SmbConstants.O_WRONLY;
    
        /**
         * The pipe should be opened for both reading and writing.
         */
    
        int PIPE_TYPE_RDWR = SmbConstants.O_RDWR;
    
        /**
         * Pipe operations should behave like the <code>CallNamedPipe</code> Win32 Named Pipe function.
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile2.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile2.lastAccess()).thenReturn(System.currentTimeMillis() - 900000);
    
            // Request leases for both directories
            Smb2LeaseKey key1 = directoryLeaseManager.requestDirectoryLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            Smb2LeaseKey key2 =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

    /**
     * This class represents a custom exception for the suggester component.
     * It extends the {@link RuntimeException} class and provides constructors
     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
     * throw new SuggesterException("An error occurred");
     * throw new SuggesterException(new IOException("IO error"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            d.readBytesWireFormat(buf, 0);
    
            // After a full read both flags should be set and hasMore should be false
            assertTrue(d.getParametersDone(), "parametersDone should be true after reading");
            assertTrue(d.getDataDone(), "dataDone should be true after reading");
            assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

        }
    
        @Override
        protected void encodeWitnessParameters(NdrBuffer buf) throws NdrException {
            // Encode input parameters for WitnessUnregister
    
            // Context handle (20 bytes) - this is both input and output (modified)
            if (contextHandle != null) {
                buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20));
                // Pad with zeros if context handle is shorter than 20 bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbConnectionTest.java

            assertTrue(config.isUseUnicode(), "Unicode should be enabled");
            assertTrue(config.isUseBatching(), "Batching should be enabled");
    
            // When both are enabled, batch limits should be available
            int limit = config.getBatchLimit("TreeConnectAndX.QueryInformation");
            assertTrue(limit >= 0, "Batch limit should be non-negative when Unicode and batching enabled");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            assertEquals(FileInformation.FILE_INTERNAL_INFO, internalInfo.getFileInformationLevel());
        }
    
        /**
         * Test that FileInformation can be used as both Decodable and Encodable
         */
        @Test
        @DisplayName("Test FileInformation as both Decodable and Encodable")
        void testFileInformationAsDecodableAndEncodable() throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * equality. Two {@code NtlmPasswordAuthentication} objects are equal if
         * their caseless domain and username fields are equal and either both hashes are external and they are equal or
         * both internally supplied passwords are equal. If one {@code NtlmPasswordAuthentication} object has external
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/RC4.java

                s[j] = t;
            }
    
            i = j = 0;
        }
    
        /**
         * Encrypts or decrypts data using the RC4 stream cipher.
         * Since RC4 is a stream cipher, the same operation is used for both encryption and decryption.
         *
         * @param src the source data array
         * @param soff the offset in the source array
         * @param slen the length of data to process
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            assertNull(ex.getCause(), "cause must be null for int constructor");
            assertNull(ex.getRootCause(), "rootCause must be null for int constructor");
        }
    
        /**
         * Validate message-only constructor with both null and empty messages.
         */
        @ParameterizedTest
        @MethodSource("messageProvider")
        @DisplayName("String ctor: preserves message; default unsuccessful status")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top