Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,606 for fwrite (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

            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
                progressListener.update(totalBytesWritten, contentLength(), completed)
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

        public void write(final byte[] b, final int off, final int len) throws IOException {
            writeDirect(b, off, len, 0);
        }
    
        /**
         * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
         *
         * @param b the byte array containing the data to write
         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @param flags write operation flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. .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)
  4. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

        }
    
        @Override
        public void rdmaWrite(RdmaMemoryRegion localRegion, long remoteAddress, int remoteKey, int length) throws IOException {
            // TCP fallback doesn't support real RDMA write
            throw new UnsupportedOperationException("RDMA write not supported by TCP fallback");
        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            assertNotNull(lockResponse);
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should always return 0 for write bytes")
            void testWriteBytesWireFormat() {
                // Given
                byte[] dst = new byte[100];
                int dstIndex = 0;
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/ACETest.java

                // Write permissions
                int writeOnly = ACE.FILE_WRITE_DATA | ACE.FILE_APPEND_DATA | ACE.FILE_WRITE_ATTRIBUTES | ACE.FILE_WRITE_EA;
                assertTrue((writeOnly & ACE.FILE_WRITE_DATA) != 0, "Write should include FILE_WRITE_DATA");
                assertTrue((writeOnly & ACE.FILE_APPEND_DATA) != 0, "Write should include FILE_APPEND_DATA");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. 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)
  10. cmd/xl-storage.go

    		return err
    	}
    
    	_, err = w.Write(b)
    	if err != nil {
    		w.Truncate(0) // to indicate that we did partial write.
    		w.Close()
    		return err
    	}
    
    	// Dealing with error returns from close() - 'man 2 close'
    	//
    	// A careful programmer will check the return value of close(), since it is quite possible that
    	// errors on a previous write(2) operation are reported only on the final close() that releases
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top