Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,215 for Rewrite (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

             */
            public SynonymItem write(final SynonymItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaAccess.java

        /**
         * Local read access to the memory region
         */
        LOCAL_READ,
    
        /**
         * Local write access to the memory region
         */
        LOCAL_WRITE,
    
        /**
         * Remote read access to the memory region
         */
        REMOTE_READ,
    
        /**
         * Remote write access to the memory region
         */
        REMOTE_WRITE,
    
        /**
         * Memory bind access for advanced operations
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

        }
    
        /**
         * Constructs a write request to write data to a file.
         *
         * @param config the configuration to use
         * @param fid the file identifier
         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
         * @param off the offset in the buffer where data starts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. cmd/erasure-encode.go

    	writeQuorum int
    	errs        []error
    }
    
    // Write writes data to writers.
    func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error {
    	for i := range p.writers {
    		if p.errs[i] != nil {
    			continue
    		}
    		if p.writers[i] == nil {
    			p.errs[i] = errDiskNotFound
    			continue
    		}
    		var n int
    		n, p.errs[i] = p.writers[i].Write(blocks[i])
    		if p.errs[i] == nil {
    			if n != len(blocks[i]) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/contribute/concurrency.md

    ### Threads
    
    #### Application's calling thread
    
    The application-layer must block on writing I/O. We can't return from a write until we've pushed its bytes onto the socket. Otherwise, if the write fails we are unable to deliver its IOException to the application. We would have told the application layer that the write succeeded, but it didn't!
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  8. 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)
  9. cmd/benchmark-utils_test.go

    			mustGetPutObjReader(b, bytes.NewReader(textData), int64(len(textData)), md5hex, sha256hex), ObjectOptions{})
    		if err != nil {
    			b.Fatal(err)
    		}
    		if objInfo.ETag != md5hex {
    			b.Fatalf("Write no: %d: Md5Sum mismatch during object write into the bucket: Expected %s, got %s", i+1, objInfo.ETag, md5hex)
    		}
    	}
    	// Benchmark ends here. Stop timer.
    	b.StopTimer()
    }
    
    // Benchmark utility functions for ObjectLayer.PutObjectPart().
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        public ByteSource createSource(byte[] bytes) throws IOException {
          checkNotNull(bytes);
          File file = createFile();
          OutputStream out = new FileOutputStream(file);
          try {
            out.write(bytes);
          } finally {
            out.close();
          }
          return Files.asByteSource(file);
        }
    
        @Override
        public byte[] getExpected(byte[] bytes) {
          return checkNotNull(bytes);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top