Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 120 for somme (0.9 sec)

  1. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                    || url.startsWith("storage:") || url.startsWith("s3:") || url.startsWith("gcs:");
        }
    
        /**
         * Checks if the given URL should skip URL decoding when extracting file names.
         * Some protocols (like SMB, FTP, S3, GCS) should preserve the original URL encoding.
         *
         * @param url the URL to check
         * @return true if URL decoding should be skipped for this protocol
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                    size = sfd.getInitialSize();
                    resumeKey = rkresp.getResumeKey();
    
                    // start with some reasonably safe defaults, the server will till us if it does not like it
                    // can we resume this if we loose the file descriptor?
    
                    int maxChunks = 256;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/FileEntryTest.java

            when(mockEntry.lastModified()).thenReturn(200L);
            when(mockEntry.lastAccess()).thenReturn(300L);
            when(mockEntry.length()).thenReturn(12345L);
    
            // Act: call methods, some multiple times
            String name = mockEntry.getName();
            int type1 = mockEntry.getType();
            int type2 = mockEntry.getType(); // called twice for interaction verification
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbWatchHandleTest.java

                public List<FileNotifyInformation> watch() throws CIFSException {
                    synchronized (lock) {
                        watchCount++;
                        try {
                            // Simulate some processing time
                            Thread.sleep(10);
                        } catch (InterruptedException e) {
                            Thread.currentThread().interrupt();
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                    readParameterWordsWireFormat(buffer, bufferIndex + 4);
    
                    /* The SMB_COM_NT_CREATE_ANDX response wordCount is wrong. There's an
                     * extra 16 bytes for some "Offline Files (CSC or Client Side Caching)"
                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            // Then
            assertNotNull(type1);
            // Note: getType() method does not exist in Type1Message
            assertTrue(type1.getFlags() != 0); // Should have some flags set
        }
    
        @Test
        @DisplayName("Should create Type 1 message with custom flags")
        void testType1MessageWithFlags() {
            // Given
            int flags =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (!this.useNTSmbs) {
                log.debug("No support for NT SMBs");
            }
    
            // there seems to be a bug with some servers that causes corruption if using signatures +
            // CAP_LARGE_WRITE
            if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            SMBUtil.writeInt4(10, buffer, bodyStart + 4);
            SMBUtil.writeInt4(0, buffer, bodyStart + 8);
            SMBUtil.writeInt4(reserved2Value, buffer, bodyStart + 12); // Reserved2
    
            // Write some test data
            Arrays.fill(buffer, dataOffsetFromHeader, dataOffsetFromHeader + 10, (byte) 0x55);
    
            // Use reflection to set headerStart
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.readSize =
                            Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                }
    
                // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE
                if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(0, buffer[1]);
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat with long path")
        void testWriteBytesWireFormatLongPath() {
            String longPath = "very\\long\\path\\to\\some\\deeply\\nested\\file\\in\\directory\\structure.txt";
            request = new Smb2CreateRequest(mockConfig, longPath);
    
            byte[] buffer = new byte[2048];
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top