Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 902 for WRITE (0.24 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Write in little-endian format as specified by MS-SMB2
            bb.putInt(data1); // data1 (4 bytes, little-endian)
            bb.putShort(data2); // data2 (2 bytes, little-endian)
            bb.putShort(data3); // data3 (2 bytes, little-endian)
    
            // Last 8 bytes (data4) written directly as big-endian bytes
            // Extract individual bytes from leastSig and write them directly
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        /**
         * Verify that writeParameterWordsWireFormat writes the file id and the
         * unsigned time correctly.  The last write time is zero which should be
         * encoded as four 0xFF bytes by {@code writeUTime}.
         */
        @ParameterizedTest(name = "fid={0}, lastWriteTime={1}")
        @MethodSource("validParams")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/FileNotifyInformation.java

         */
        int FILE_NOTIFY_CHANGE_SIZE = 0x00000008;
    
        /**
         * Any change to the last write-time of files in the watched directory or subtree causes a change notification wait
         * operation to return. The operating system detects a change to the last write-time only when the file is written
         * to the disk. For operating systems that use extensive caching, detection occurs only when the cache is
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertDoesNotThrow(() -> request.setRemainingBytes(1024));
                assertDoesNotThrow(() -> request.setRemainingBytes(Integer.MAX_VALUE));
            }
    
            @Test
            @DisplayName("Should set write flags")
            void testSetWriteFlags() {
                assertDoesNotThrow(() -> request.setWriteFlags(0));
                assertDoesNotThrow(() -> request.setWriteFlags(0x01));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                DataOutputStream dos = new DataOutputStream(baos);
    
                // Write minimal PAC header
                dos.writeInt(Integer.reverseBytes(3)); // 3 buffers
                dos.writeInt(Integer.reverseBytes(PacConstants.PAC_VERSION));
    
                // Write buffer entries
                dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         * @return The number of bytes written.
         */
        public static int write(final FileChannel channel, final ByteBuffer buffer) {
            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("buffer", buffer);
    
            try {
                return channel.write(buffer);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write file ID (16 bytes)
            System.arraycopy(fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

            // Should return true when write caching is enabled
            assertTrue(DirectoryLeaseState.canCacheModifications(Smb2LeaseState.SMB2_LEASE_WRITE_CACHING));
            assertTrue(DirectoryLeaseState.canCacheModifications(Smb2LeaseState.SMB2_LEASE_READ_WRITE));
            assertTrue(DirectoryLeaseState.canCacheModifications(DirectoryLeaseState.DIRECTORY_FULL));
    
            // Should return false when write caching is not enabled
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. docs/smb3-features/01-smb3-lease-design.md

            
            writeInt4(buffer, offset + 12, dataOffset - offset);  // DataOffset
            
            // Write context name
            System.arraycopy(getName().getBytes(), 0, buffer, offset + 16, getName().length());
            
            // Write lease data
            System.arraycopy(leaseKey.getKey(), 0, buffer, dataOffset, 16);  // LeaseKey
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle write at buffer boundary")
            void testWriteAtBufferBoundary() {
                request.setReadLength(1024);
    
                byte[] buffer = new byte[100];
    
                // Try to write at position that would exceed buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top