Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 1,922 for LENGTH (0.05 seconds)

  1. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeAndXWireFormat(dst, dstIndex);
            this.length = dstIndex - start;
    
            if (this.digest != null) {
                this.digest.sign(dst, this.headerStart, this.length, this, this.getResponse());
            }
    
            return this.length;
        }
    
        /*
         * We overload this because we want readAndXWireFormat to
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Setup mock file with minimal required behavior
            String content = "File content for testing";
            byte[] contentBytes = content.getBytes();
    
            when(smbFile.length()).thenReturn((long) contentBytes.length);
            when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
    
            // Use spy to avoid actual SMB operations
            NetworkExplorer spyExplorer = spy(networkExplorer);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            SuggestItem[] mergedItems = writer.mergeItems(new SuggestItem[] { item1, item2 });
    
            assertNotNull(mergedItems);
            assertEquals(1, mergedItems.length);
            assertEquals(3, mergedItems[0].getDocFreq());
        }
    
        @Test
        public void test_mergeItemsWithDifferentTexts() throws Exception {
            String[][] readings1 = new String[1][];
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/Kerb5Context.java

         */
        @Override
        public void verifyMIC(byte[] data, byte[] mic) throws CIFSException {
            try {
                this.gssContext.verifyMIC(mic, 0, mic.length, data, 0, data.length, new MessageProp(false));
            } catch (GSSException e) {
                throw new CIFSException("Failed to verify MIC", e);
            }
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
                final String[] values = path.split("/", 2);
                if (values.length == 2) {
                    return values;
                }
                if (values.length == 1 && StringUtil.isNotEmpty(values[0])) {
                    return new String[] { values[0], StringUtil.EMPTY };
                }
            }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20K bytes
    - Click Count (2)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

    /**
     * The body of a [MockResponse].
     *
     * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not
     * called by readers.
     */
    public interface MockResponseBody {
      /** The length of this response in bytes, or -1 if unknown. */
      public val contentLength: Long
    
      @Throws(IOException::class)
      public fun writeTo(sink: BufferedSink)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 14 16:09:26 GMT 2025
    - 1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/FileEntry.java

         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the file size.
         *
         * @return the file size in bytes
         */
        long length();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 881 bytes
    - Click Count (0)
  8. docs/smb3-features/03-multi-channel-design.md

    ```java
    // In SmbFile.java
    public void optimizedLargeRead(byte[] buffer, long offset, int length) throws IOException {
        if (!session.isMultiChannelEnabled() || length < 1048576) {  // 1MB threshold
            // Use single channel for small reads
            normalRead(buffer, offset, length);
            return;
        }
        
        // Split large read across multiple channels
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

                entry1.setSize(content1.length);
                tos.putArchiveEntry(entry1);
                tos.write(content1);
                tos.closeArchiveEntry();
    
                // Add another valid entry
                final byte[] content2 = "Another valid content".getBytes("UTF-8");
                final TarArchiveEntry entry2 = new TarArchiveEntry("another.txt");
                entry2.setSize(content2.length);
                tos.putArchiveEntry(entry2);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            }
    
            request.getParameterMap().entrySet().stream().forEach(entry -> {
                if (entry.getValue().length > 1) {
                    curlRequest.param(entry.getKey(), String.join(",", entry.getValue()));
                } else if (entry.getValue().length == 1) {
                    curlRequest.param(entry.getKey(), entry.getValue()[0]);
                }
            });
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 12.9K bytes
    - Click Count (0)
Back to Top