Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 469 for Rename (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

     *
     * This command renames a file or directory on the SMB server.
     * It takes an old filename and new filename and performs the rename operation.
     */
    public class SmbComRename extends ServerMessageBlock {
    
        private final int searchAttributes;
        private final String oldFileName;
        private final String newFileName;
    
        /**
         * Constructs a rename request.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

         */
        public FileRenameInformation2() {
        }
    
        /**
         * Constructs file rename information.
         *
         * @param name the new file name
         * @param replaceIfExists whether to replace if the target file exists
         */
        public FileRenameInformation2(final String name, final boolean replaceIfExists) {
            this.fileName = name;
            this.replaceIfExists = replaceIfExists;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. cmd/os-instrumented.go

    	return osMkdirAll(dirPath, mode, baseDir)
    }
    
    // Rename captures time taken to call os.Rename
    func Rename(src, dst string) (err error) {
    	defer updateOSMetrics(osMetricRename, src, dst)(err)
    	return RenameSys(src, dst)
    }
    
    // OpenFile captures time taken to call os.OpenFile
    func OpenFile(name string, flag int, perm os.FileMode) (f *os.File, err error) {
    	switch flag & writeMode {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-meta-inline.go

    		plSize += len(key) + len(value) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
    	}
    
    	// Reserialize...
    	x.serialize(plSize, keys, vals)
    }
    
    // rename will rename a key.
    // Returns whether the key was found.
    func (x *xlMetaInlineData) rename(oldKey, newKey string) bool {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz)
    	vals := make([][]byte, 0, sz)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. cmd/ftp-server-driver.go

    	if bucket == "" {
    		return errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := driver.getMinIOClient(ctx)
    	if err != nil {
    		return err
    	}
    
    	return clnt.RemoveObject(context.Background(), bucket, object, minio.RemoveObjectOptions{})
    }
    
    // Rename implements ftpDriver
    func (driver *ftpDriver) Rename(ctx *ftp.Context, fromObjPath string, toObjPath string) (err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileInformation.java

         */
        byte FILE_STANDARD_INFO = 0x5;
    
        /**
         * File internal information class constant.
         */
        byte FILE_INTERNAL_INFO = 0x6;
    
        /**
         * File rename information class constant.
         */
        byte FILE_RENAME_INFO = 10;
    
        /**
         * Gets the file information level/class for this file information object.
         *
         * @return the file information class
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. docs/bigdata/README.md

    stores such as MinIO. MapReduce workloads typically interact with object stores in the same way they do with HDFS. These workloads rely on HDFS atomic rename functionality to complete writing data to the datastore. Object storage operations are atomic by nature and they do not require/implement rename API. The default S3A committer emulates renames through copy and delete APIs. This interaction pattern causes significant loss of performance because of the write amplification. _Netflix_, for example,...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("getName should return resource name")
            void testGetName() throws CIFSException {
                // Given
                String expectedName = "test.txt";
                when(mockResource.getName()).thenReturn(expectedName);
    
                // When
                String name = mockResource.getName();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
      private final E e1;
      private final E e2;
      private final E e3;
      private final E e4;
    
      public SampleElements(E e0, E e1, E e2, E e3, E e4) {
        this.e0 = e0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(checkTarget.exists(), "Target file should exist after rename");
    
            // Verify content is preserved
            try (InputStream in = checkTarget.getInputStream()) {
                String readContent = new String(in.readAllBytes(), "UTF-8");
                assertEquals(content, readContent, "Content should be preserved after rename");
            }
    
            // Best effort to verify source is gone
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top