Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,640 for writer (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Write request message.
     *
     * This command is used to write data to a file that has been
     * previously opened with a Create request.
     *
     * @author mbechler
     */
    public class Smb2WriteRequest extends ServerMessageBlock2Request<Smb2WriteResponse> implements RequestWithFileId {
    
        /**
         * The overhead size in bytes for an SMB2 write request packet.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            assertEquals(4, bytesWritten);
    
            // Verify structure size (4) is written at offset
            assertEquals(4, SMBUtil.readInt2(buffer, offset));
    
            // Verify reserved field (0) is written at offset + 2
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
        }
    
        @Test
        @DisplayName("Should write exact wire format structure")
        void testWriteBytesWireFormatStructure() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        if (this[i] == '"'.code.toByte()) {
          result.write(this, i)
          // Consume '"'.
          readByte()
          return result.readUtf8()
        }
    
        if (size == i + 1L) return null // Dangling escape.
        result.write(this, i)
        // Consume '\'.
        readByte()
        result.write(this, 1L) // The escaped character.
      }
    }
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

        object : ForwardingSink(sink) {
          @Throws(IOException::class)
          override fun write(
            source: Buffer,
            byteCount: Long,
          ) {
            val bytes = source.readByteString(byteCount)
            delegate.write(
              Buffer()
                .write(bytes.toAsciiUppercase()),
              byteCount,
            )
          }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/SmbBasicFileInfo.java

        int getAttributes();
    
        /**
         * Gets the file creation time.
         *
         * @return file create time
         */
        long getCreateTime();
    
        /**
         * Gets the file last write time.
         *
         * @return file last write time
         */
        long getLastWriteTime();
    
        /**
         * Gets the file last access time.
         *
         * @return file last access time
         */
        long getLastAccessTime();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            request.setCompletionFilter(0);
    
            // When - first write
            byte[] buffer1 = new byte[512];
            request.writeBytesWireFormat(buffer1, 0);
    
            // Update values
            request.setNotifyFlags(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE);
            request.setCompletionFilter(0xFFF);
    
            // Second write
            byte[] buffer2 = new byte[512];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                data[i] = (byte) (i % 256);
            }
    
            // Create file and write data
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(data);
            }
    
            assertEquals(data.length, file.length(), "File length should match written data");
    
            // Verify content
            try (InputStream in = file.getInputStream()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

    import java.nio.channels.FileChannel
    import okio.Buffer
    
    /**
     * Read and write a target file. Unlike Okio's built-in `Okio.source(java.io.File file)` and `Okio.sink(java.io.File file)`
     * this class offers:
     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/middleware.md

    * Den `request`.
    * Eine Funktion `call_next`, die den `request` als Parameter erhält.
        * Diese Funktion gibt den `request` an die entsprechende *Pfadoperation* weiter.
        * Dann gibt es die von der entsprechenden *Pfadoperation* generierte `response` zurück.
    * Sie können die `response` dann weiter modifizieren, bevor Sie sie zurückgeben.
    
    {* ../../docs_src/middleware/tutorial001.py hl[8:9,11,14] *}
    
    /// tip | Tipp
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. .github/workflows/scorecards-analysis.yml

        name: Scorecards analysis
        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
          security-events: write
          # Needed to publish results and get a badge (see publish_results below).
          id-token: write
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
            with:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top