Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 249 for writeInt (0.36 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            byte[] buffer = new byte[32];
            // Mock data for FsFullSizeInformation
            writeInt8(3000, buffer, 0); // total allocation units
            writeInt8(1500, buffer, 8); // caller available allocation units
            writeInt8(1500, buffer, 16); // actual free units (skipped)
            writeInt4(4, buffer, 24); // sectors per allocation unit
            writeInt4(8192, buffer, 28); // bytes per sector
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
            SMBUtil.writeInt4(0x00000001, buf, start + 16);
            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            int start = dstIndex;
    
            // StructureSize (2 bytes) - must be 36
            SMBUtil.writeInt2(STRUCTURE_SIZE, dst, dstIndex);
            dstIndex += 2;
    
            // Reserved (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(flags, dst, dstIndex);
            dstIndex += 4;
    
            // LeaseKey (16 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            // Write context header
            SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last)
            offset += 4;
    
            SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context)
            offset += 2;
    
            SMBUtil.writeInt2(4, buffer, offset); // NameLength
            offset += 2;
    
            SMBUtil.writeInt2(0, buffer, offset); // Reserved
            offset += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        @Override
        protected ConcurrentMap<K, V> delegate() {
          return delegate;
        }
    
        void writeMapTo(ObjectOutputStream out) throws IOException {
          out.writeInt(delegate.size());
          for (Entry<K, V> entry : delegate.entrySet()) {
            out.writeObject(entry.getKey());
            out.writeObject(entry.getValue());
          }
          out.writeObject(null); // terminate entries
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

                SMBUtil.writeInt2(transformOffset, dst, dstIndex); // writeChannelInfoOffset
                SMBUtil.writeInt2(16, dst, dstIndex + 2); // writeChannelInfoLength (size of SMB2_RDMA_TRANSFORM)
            } else {
                SMBUtil.writeInt2(0, dst, dstIndex); // writeChannelInfoOffset
                SMBUtil.writeInt2(0, dst, dstIndex + 2); // writeChannelInfoLength
            }
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
                // Set up sync message fields
                SMBUtil.writeInt4(0, buffer, 16); // flags (no async flag)
                SMBUtil.writeInt4(123, buffer, 36); // tree ID
                SMBUtil.writeInt8(456L, buffer, 40); // session ID
                return buffer;
            }
    
            private byte[] createValidAsyncMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. docs/smb3-features/01-smb3-lease-design.md

            // Write context header
            writeInt4(buffer, offset, getName().length());  // NameOffset
            writeInt4(buffer, offset + 4, getName().length());  // NameLength
            writeInt4(buffer, offset + 8, 16);  // Reserved
            
            int dataOffset = offset + 16 + getName().length();
            dataOffset = (dataOffset + 7) & ~7;  // 8-byte alignment
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param val the value to write
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         */
        public static void writeInt2(final long val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dstIndex++;
            dst[dstIndex] = (byte) (val >> 8);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top