Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,133 for rewrite (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.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 durable handle request data (16 bytes of reserved)
            for (int i = 0; i < 16; i++) {
                dst[dstIndex + i] = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            try {
                // In real implementation, this would perform RDMA write:
                // Similar to rdmaRead but with IBV_WR_RDMA_WRITE opcode
    
                log.debug("DiSNI RDMA write completed, {} bytes", length);
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("DiSNI RDMA write failed", e);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            SMBUtil.writeInt4(32, 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 lease V1 data (32 bytes total)
            leaseKey.encode(dst, dstIndex); // LeaseKey (16 bytes)
            dstIndex += 16;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                // Read the response
                int bytesRead = echoResponse.readBytesWireFormat(buffer, bufferIndex);
                assertEquals(0, bytesRead);
    
                // Write response (echo responses don't write data)
                int bytesWritten = echoResponse.writeBytesWireFormat(buffer, 0);
                assertEquals(0, bytesWritten);
    
                // Mark as received
                echoResponse.received();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.io;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                throw e;
            }
        }
    
        /**
         * Performs RDMA write operation.
         *
         * @param buffer the buffer to write from
         * @param remoteAddress remote memory address
         * @param remoteKey remote access key
         * @param length number of bytes to write
         * @return number of bytes written
         * @throws IOException if operation fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

       * java.nio.file.Files#write(java.nio.file.Path, byte[], java.nio.file.OpenOption...)}.
       *
       * @param from the bytes to write
       * @param to the destination file
       * @throws IOException if an I/O error occurs
       */
      public static void write(byte[] from, File to) throws IOException {
        asByteSink(to).write(from);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int readDataAvailable = 100;
            int numberOfMessages = 2;
            int messageLength = 50;
            byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Write values to buffer
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
            SMBUtil.writeInt4(numberOfMessages, buffer, bufferIndex + 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacLogonInfoTest.java

            // Write a valid string structure
            String testString = "TEST";
            int totalChars = testString.length();
            writeLittleEndianInt(dos, totalChars); // totalChars
            writeLittleEndianInt(dos, 0); // unusedChars
            writeLittleEndianInt(dos, totalChars); // usedChars
    
            // Write the actual characters (as shorts in little-endian)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top