Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,623 for writes (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

        }
    
        /**
         * Get maximum read/write size
         *
         * @return maximum read/write size in bytes
         */
        public int getMaxReadWriteSize() {
            return maxReadWriteSize;
        }
    
        /**
         * Set maximum read/write size
         *
         * @param maxReadWriteSize maximum read/write size in bytes
         */
        public void setMaxReadWriteSize(int maxReadWriteSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.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.smb2.rdma.tcp;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

        val metadataBuffer = Buffer()
        metadataBuffer.write(metadata)
    
        val fileOperator = FileOperator(file!!.channel)
        fileOperator.write(FILE_HEADER_SIZE + upstreamSize, metadataBuffer, metadata.size.toLong())
      }
    
      @Throws(IOException::class)
      fun commit(upstreamSize: Long) {
        // Write metadata to the end of the file.
        writeMetadata(upstreamSize)
        file!!.channel.force(false)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. src/archive/zip/fuzz_test.go

    			ww, err := w.CreateHeader(f.header)
    			if err != nil {
    				t.Fatalf("unable to write previously parsed header: %s", err)
    			}
    			if _, err := ww.Write(f.content); err != nil {
    				t.Fatalf("unable to write previously parsed content: %s", err)
    			}
    		}
    
    		if err := w.Close(); err != nil {
    			t.Fatalf("Unable to write archive: %s", err)
    		}
    
    		// TODO: We may want to check if the archive roundtrips.
    	})
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

     * @author Jayaprabhakar Kadarkarai
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public interface ByteArrayDataOutput extends DataOutput {
      @Override
      void write(int b);
    
      @Override
      void write(byte[] b);
    
      @Override
      void write(byte[] b, int off, int len);
    
      @Override
      void writeBoolean(boolean v);
    
      @Override
      void writeByte(int v);
    
      @Override
      void writeShort(int v);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBasicInfo.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.fscc;
    
    import java.util.Date;
    
    import jcifs.internal.SMBProtocolDecodingException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbRandomAccessFile.write(42);
            assertEquals(1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testWriteByteArray() throws SmbException {
            byte[] testData = new byte[] { 0, 1, 2, 3, 4 };
    
            // Mock the write operation
            doAnswer(new Answer<Void>() {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java

     * 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.AndXServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Write AndX Response message.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CountingOutputStream.java

        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
      public long getCount() {
        return count;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        out.write(b, off, len);
        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                int bufferIndex = 0;
    
                // Write structure size (24)
                SMBUtil.writeInt2(24, buffer, bufferIndex);
    
                // Write oplock level at offset 2
                byte expectedOplockLevel = (byte) 0x02; // SMB2_OPLOCK_LEVEL_II
                buffer[bufferIndex + 2] = expectedOplockLevel;
    
                // Write reserved field (4 bytes at offset 4)
                bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top