Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 104 for unneeded (0.89 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

        //                                                                        ============
    
        /**
         * Sets up HTML data for admin pages.
         * <p>
         * This method configures common data needed for admin pages including
         * editable flags, user roles, and forum links.
         * </p>
         *
         * @param runtime the action runtime context
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode with larger buffer and length")
        void testDecodeWithLargerBufferAndLength() throws SMBProtocolDecodingException {
            // Test with buffer and length larger than needed
            byte[] buffer = new byte[100];
    
            // Fill test pattern
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            pdis.readByte(); // position is 1
            pdis.align(4);
            assertEquals(1, pdis.available());
            assertEquals(0x05, pdis.readByte());
    
            // Test no alignment needed
            pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
            pdis.readInt(); // position is 4
            pdis.align(4);
            assertEquals(0, pdis.available());
    
            // Test alignment with mask 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            case FILE_MODIFIED:
                // Remove from cache to force refresh
                entry.removeChild(childName);
                break;
    
            case DIRECTORY_RENAMED:
                // Full invalidation needed
                entry.invalidate();
                break;
    
            case ATTRIBUTES_CHANGED:
                // Remove from cache to force refresh
                entry.removeChild(childName);
                break;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

        @Mock
        private sid_t mockSidT;
    
        private MsrpcLookupSids lookupSids;
        private jcifs.SID[] testSids;
    
        @BeforeEach
        void setUp() {
            // Setup is minimal - mocks are configured per test as needed
        }
    
        @Test
        void constructor_shouldInitializeWithValidParameters() {
            // Arrange
            jcifs.SID mockSid1 = mock(jcifs.SID.class);
            jcifs.SID mockSid2 = mock(jcifs.SID.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertArrayEquals(newFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test edge case with minimum buffer size")
        void testMinimumBufferSize() {
            byte[] buffer = new byte[24]; // Exact size needed
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                return false;
            }
        }
    
        @Override
        public void close() {
            // GCS Storage client doesn't require explicit close
            // but we can try to close it if needed
            try {
                storage.close();
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to close GCS storage client", e);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Arrange
            // Enable output mode
            when(mockConnection.getDoOutput()).thenReturn(true);
            ntlmConnection.setDoOutput(true);
    
            // Mock initial connection's output stream (needed for CacheStream)
            OutputStream initialOutputStream = mock(OutputStream.class);
            when(mockConnection.getOutputStream()).thenReturn(initialOutputStream);
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    }
                }
                if (targetInformation != null) {
                    flags |= NTLMSSP_NEGOTIATE_TARGET_INFO;
                    // empty context is needed for padding when t.i. is supplied.
                    if (context == null) {
                        context = new byte[8];
                    }
                }
                int data = 32;
                if (context != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplTest.java

        private SmbSessionImpl newSession() {
            return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport);
        }
    
        @BeforeEach
        void setup() {
            // Base context configuration - always needed
            when(cifsContext.getConfig()).thenReturn(configuration);
    
            // Context and credentials wiring - used by most tests
            when(cifsContext.getCredentials()).thenReturn(credentials);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top