Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for writeFile (0.11 sec)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            // ensure file is open
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
                int w;
                do {
                    w = len > this.writeSize ? this.writeSize : len;
                    long cnt;
    
                    if ( th.isSMB2() ) {
                        Smb2WriteRequest request = new Smb2WriteRequest(th.getConfig(), fh.getFileId());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeTime( createTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
            writeTime( lastWriteTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
    /* Samba 2.2.7 needs ATTR_NORMAL
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    
            int w;
            do {
                w = len > writeSize ? writeSize : len;
                file.send( new SmbComWriteAndX( file.fid, fp, len - w, b, off, w, null ), write_andx_resp );
                fp += write_andx_resp.count;
                len -= write_andx_resp.count;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

            int sendBufferSize = th.getSendBufferSize();
            if ( this.smb2 ) {
                this.writeSize = sendBufferSize;
                this.writeSizeFile = sendBufferSize;
                return;
            }
    
            this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC ); /* in case we close and reopen */
            this.writeSize = sendBufferSize - 70;
    
            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  5. cmd/storage-rest-common_gen.go

    		return
    	}
    	if z.Update == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.Update.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Update")
    			return
    		}
    	}
    	// write "f"
    	err = en.Append(0xa1, 0x66)
    	if err != nil {
    		return
    	}
    	if z.Final == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            ensureOpen();
    
            if( file.log.level >= 4 )
                file.log.println( "write: fid=" + file.fid + ",off=" + off + ",len=" + len );
    
            int w;
            do {
                w = len > writeSize ? writeSize : len;
                if( useNTSmbs ) {
                    reqx.setParam( file.fid, fp, len - w, b, off, w );
    if ((flags & 1) != 0) {
        reqx.setParam( file.fid, fp, len, b, off, w );
        reqx.writeMode = 0x8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom_gen.go

    	err = en.Append(0xa2, 0x6c, 0x75)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	// write "dec"
    	err = en.Append(0xa3, 0x64, 0x65, 0x63)
    	if err != nil {
    		return
    	}
    	if z.Decommission == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.Decommission.EncodeMsg(en)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            PropertyDoc readWriteProperty = propertyDoc('readWriteProperty', readable: true, writeable: true)
            PropertyDoc readOnlyProperty = propertyDoc('readOnlyProperty', readable: true, writeable: false)
            PropertyDoc writeOnlyProperty = propertyDoc('writeOnlyProperty', readable: false, writeable: true)
            _ * classDoc.classProperties >> [readWriteProperty, readOnlyProperty, writeOnlyProperty]
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  9. internal/grid/msg_gen.go

    	if err != nil {
    		return
    	}
    	if z.Err == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteString(*z.Err)
    		if err != nil {
    			err = msgp.WrapError(err, "Err")
    			return
    		}
    	}
    	// write "t"
    	err = en.Append(0xa1, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.T)
    	if err != nil {
    		err = msgp.WrapError(err, "T")
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. cmd/metacache_gen.go

    	// write "end"
    	err = en.Append(0x8d, 0xa3, 0x65, 0x6e, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.ended)
    	if err != nil {
    		err = msgp.WrapError(err, "ended")
    		return
    	}
    	// write "st"
    	err = en.Append(0xa2, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.started)
    	if err != nil {
    		err = msgp.WrapError(err, "started")
    		return
    	}
    	// write "lh"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
Back to top