Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,144 for rewrite (0.28 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/smb1/com/SmbComSetInformation.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.smb1.com;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K 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. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

            for (domain in sortedRules) {
              write(domain).writeByte(NEWLINE)
            }
            writeInt(totalExceptionRuleBytes)
            for (domain in sortedExceptionRules) {
              write(domain).writeByte(NEWLINE)
            }
          }
        }
      }
    
      private suspend fun writeOutputFile(importResults: ImportResults) =
        withContext(Dispatchers.IO) {
          fileSystem.write(outputFile) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K 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. src/main/java/jcifs/SmbConstants.java

        /**
         * Permission to write data to the file.
         */
        int FILE_WRITE_DATA = 0x00000002; // 2
        /**
         * Permission to append data to the file.
         */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /**
         * Permission to read extended attributes.
         */
        int FILE_READ_EA = 0x00000008; // 4
        /**
         * Permission to write extended attributes.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K 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