Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,623 for writes (0.24 sec)

  1. 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)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

        @Throws(IOException::class)
        override fun writeTo(sink: BufferedSink) {
          val forwardingSink =
            object : ForwardingSink(sink) {
              private var totalBytesWritten: Long = 0
              private var completed = false
    
              override fun write(
                source: Buffer,
                byteCount: Long,
              ) {
                super.write(source, byteCount)
                totalBytesWritten += byteCount
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                SMBUtil.writeInt2(0, readBuffer, 12); // Reserved bytes
    
                // When
                int written = response.writeBytesWireFormat(writeBuffer, 5);
                int read = response.readBytesWireFormat(readBuffer, 10);
    
                // Then
                assertEquals(0, written);
                assertEquals(4, read);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle write at buffer boundary")
            void testWriteAtBufferBoundary() {
                byte[] buffer = new byte[100];
    
                // Try to write at position that would exceed buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

            }
    
            @Test
            @DisplayName("Should write setup wire format")
            void testWriteSetupWireFormat() {
                byte[] buffer = new byte[100];
                int result = response.writeSetupWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should write parameters wire format")
            void testWriteParametersWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                while (writeBuffer.hasRemaining()) {
                    int written = socketChannel.write(writeBuffer);
                    totalWritten += written;
                }
    
                // Update original buffer position
                buffer.position(buffer.position() + totalWritten);
    
                log.debug("TCP RDMA write completed: {} bytes", totalWritten);
                return totalWritten;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. buildscripts/test-timeout.sh

    	# slow header writing
    	send_put_object_request 20 0 && exit -1
    	"${PWD}/mc" stat minio/testbucket/testobject && exit -1
    
    	# quick header write and slow bodywrite
    	send_put_object_request 0 40 && exit -1
    	"${PWD}/mc" stat minio/testbucket/testobject && exit -1
    
    	# quick header and body write
    	send_put_object_request 1 1 || exit -1
    	"${PWD}/mc" stat minio/testbucket/testobject || exit -1
    }
    
    function main() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        public fun shutdownServer(shutdownServer: Boolean): Builder =
          apply {
            this.shutdownServer = shutdownServer
          }
    
        /**
         * Throttles the request reader and response writer to sleep for the given period after each
         * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior.
         */
        public fun throttleBody(
          bytesPerPeriod: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. docs/erasure/storage-class/README.md

    on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB
    file will take 200 MiB space. But, if you use ten data and six parity drives, same 100 MiB file takes around 160 MiB. If you use 14 data and
    two parity drives, 100 MiB file takes only approximately 114 MiB.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. .github/workflows/team-triage-stale.yml

    on:
      schedule:
        # Execute every day at 00:05 to avoid conflicts with other workflows
        - cron: '5 0 * * *'
    
    permissions: {}
    
    jobs:
      requeue:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - uses: actions/stale@v10
            with:
              operations-per-run: 50
              remove-stale-when-updated: false
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 22:13:29 UTC 2025
    - 836 bytes
    - Viewed (0)
Back to top