Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 760 for purposes (0.41 sec)

  1. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            public boolean isGuest() {
                return false; // not guest for test purposes
            }
    
            @Override
            public boolean isAnonymous() {
                return false; // not anonymous for test purposes
            }
    
            @Override
            public String getUserDomain() {
                return "TESTDOMAIN"; // test domain for test purposes
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

    /**
     * File System Control Code (FSCC) structure for File Internal Information.
     * Provides access to the file's internal index number, which is a unique identifier
     * assigned by the file system for internal tracking and reference purposes.
     *
     * @author mbechler
     */
    public class FileInternalInfo implements FileInformation {
    
        private long indexNumber;
    
        /**
         * Default constructor for decoding file internal information.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        }
    
        private void scheduleRecovery(ChannelInfo channel, FailoverState state) {
            state.incrementRetry();
    
            // For test purposes, execute recovery immediately without delay
            // In production, this might use the delay from getNextRetryTime()
            executor.submit(() -> attemptRecovery(channel, state));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameServicePacketTest.java

            }
    
            @Override
            int writeBodyWireFormat(byte[] dst, int dstIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
            int readBodyWireFormat(byte[] src, int srcIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class NdrObjectTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        private ConcreteNdrObject ndrObject;
    
        // A concrete implementation of NdrObject for testing purposes.
        private static class ConcreteNdrObject extends NdrObject {
            private boolean throwOnEncode = false;
            private boolean throwOnDecode = false;
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

    import org.junit.jupiter.api.Test;
    
    class SmbComNtTransactionResponseTest {
    
        private TestableSmbComNtTransactionResponse response;
    
        // A concrete implementation of the abstract class for testing purposes.
        private static class TestableSmbComNtTransactionResponse extends SmbComNtTransactionResponse {
            @Override
            int writeSetupWireFormat(byte[] dst, int dstIndex) {
                return 0;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Strings.java

                    throw new RuntimeCIFSException("zero termination not found");
                }
            }
            return len;
        }
    
        /**
         * Masks sensitive values in a string for security purposes.
         *
         * @param value the string potentially containing sensitive information
         * @return the string with sensitive parts masked, or the original string if masking is disabled
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            // Third modification back to 0
            item.id = 0L;
            assertEquals(0L, item.getId());
        }
    
        /**
         * Concrete implementation of DictionaryItem for testing purposes.
         * Since DictionaryItem is abstract, we need a concrete class to test it.
         */
        private static class TestDictionaryItem extends DictionaryItem {
            // Simple concrete implementation for testing
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/BufferCacheTest.java

            // Then
            assertSame(originalBuffer, reusedBuffer, "Released buffer should be reused");
        }
    
        /**
         * Simple test implementation of BufferCache for testing purposes
         */
        private static class TestBufferCacheImpl implements BufferCache {
            private final List<byte[]> cache;
            private final int bufferSize;
            private final int maxBuffers;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            // Verify
            assertNotNull(factory);
            assertNotNull(factory.handerMap);
            assertTrue(factory.handerMap.isEmpty());
        }
    
        // Test implementation of CorsHandler for testing purposes
        private static class TestCorsHandler extends CorsHandler {
            private final String name;
    
            public TestCorsHandler(String name) {
                this.name = name;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top