Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 381 for readn (2.16 sec)

  1. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            byte[] buffer = new byte[16];
            SMBUtil.writeInt8(expectedValue, buffer, 0);
    
            // Decode
            int bytesRead = fileInfo.decode(buffer, 0, buffer.length);
    
            // Verify bytes read
            assertEquals(8, bytesRead);
    
            // Verify decoded value through toString
            assertTrue(fileInfo.toString().contains("endOfFile=" + expectedValue));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. CLAUDE.md

    ### Index Alias Strategy
    
    Zero-downtime index updates using dual aliases:
    
    ```
    Index Naming: {baseIndex}.{timestamp}
    Example:      my-suggest.20250123120000
    
    Aliases:
    ├── Search Alias: {baseIndex}          (read operations)
    └── Update Alias: {baseIndex}.update   (write operations)
    ```
    
    ### Text Processing Pipeline
    
    ```
    Input Text
        ↓
    [Normalization] - NormalizerChain
        ↓
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

            int start = bufferIndex;
    
            if (len < 32) {
                throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len);
            }
    
            // Read lease V1 data (32 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionRequestPacket.java

            return dstIndex - start;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            final int start = bufferIndex;
            if (in.read(buffer, bufferIndex, this.length) != this.length) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len);
            }
    
            // Read reserved field (should be all zeros but we don't validate)
            System.arraycopy(buffer, bufferIndex, reserved, 0, 8);
            return 8;
        }
    
        /**
         * Get the context name as string
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. docs/smb3-features/01-smb3-lease-design.md

            // This will be called when losing write cache
        }
        
        private void invalidateReadCache(String path) {
            // Implementation to invalidate read cache
            // This will be called when losing read cache
        }
    }
    ```
    
    ## 5. Lease Break Handling
    
    ### 5.1 Lease Break Notification
    ```java
    package jcifs.internal.smb2.lease;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                        }
                    } catch (final Exception e) {
                        logger.warn("Failed to read a suggest elevate word: {}", list, e);
                    }
                }
                elevateWordBhv.refresh();
            } catch (final IOException e) {
                logger.warn("Failed to read a suggest elevate word.", e);
            }
        }
    
        /**
         * Exports elevate words to a CSV file.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

         *
         * @return RDMA transform
         */
        public Smb2RdmaTransform getTransform() {
            return transform;
        }
    
        /**
         * Encode to byte array for SMB2 READ/WRITE channel info
         *
         * @param dst destination buffer
         * @param dstIndex starting index
         * @return number of bytes written
         */
        public int encode(byte[] dst, int dstIndex) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

    /**
     * TCP fallback RDMA provider.
     *
     * This provider uses regular TCP connections but maintains the RDMA
     * interface for compatibility. It only supports send/receive operations
     * and does not provide true RDMA read/write capabilities.
     */
    public class TcpRdmaProvider implements RdmaProvider {
    
        /**
         * Creates a new TCP RDMA provider instance
         */
        public TcpRdmaProvider() {
            // Default constructor
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top