Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for renames (0.05 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. cmd/erasure-multipart.go

    	g := errgroup.WithNErrs(len(disks))
    
    	// Rename file on all underlying storage disks.
    	for index := range disks {
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			return disks[index].RenamePart(ctx, srcBucket, srcEntry, dstBucket, dstEntry, optsMeta, skipParent)
    		}, index)
    	}
    
    	// Wait for all renames to finish.
    	errs := g.Wait()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  3. 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)
  4. cmd/erasure-object.go

    		// Make sure to return object info to provide extra information.
    		return objInfo, wquorum, toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    
    	return objInfo, wquorum, nil
    }
    
    // Similar to rename but renames data from srcEntry to dstEntry at dataDir
    func renameData(ctx context.Context, disks []StorageAPI, srcBucket, srcEntry string, metadata []FileInfo, dstBucket, dstEntry string, writeQuorum int) ([]StorageAPI, []byte, string, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.33.md

    - This renames some coredns metrics, see https://github.com/coredns/coredns/blob/v1.11.0/plugin/forward/README.md#metrics. ([#129175](https://github.com/kubernetes/kubernetes/pull/129175), [@DamianSawicki](https://github.com/DamianSawicki)) [SIG Cloud Provider]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:46:23 UTC 2025
    - 294.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                verify(mockResource).renameTo(destination);
                verify(mockResource).renameTo(destination, true);
            }
    
            @Test
            @DisplayName("renameTo should throw NullPointerException for null destination")
            void testRenameTo_NullDestination() throws CIFSException {
                // Given
                doThrow(new NullPointerException("dest argument is null")).when(mockResource).renameTo(null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. cmd/os-instrumented.go

    	defer updateOSMetrics(osMetricMkdirAll, dirPath)(err)
    	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
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                    // Do nothing
                }
            }, "activityHelper");
    
            String[] roleNames = ldapUser.getRoleNames();
            assertNotNull(roleNames);
            assertEquals(2, roleNames.length);
            assertEquals("role1", roleNames[0]);
            assertEquals("role2", roleNames[1]);
        }
    
        public void test_getRoleNames_empty() {
            // Test when no roles match the prefix
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileTest.java

            void testRenameToSameFile() throws MalformedURLException, SmbException {
                // Arrange
                doThrow(new SmbException("Cannot rename to same file")).when(smbFile).renameTo(smbFile);
    
                // Act & Assert
                assertThrows(SmbException.class, () -> smbFile.renameTo(smbFile));
            }
    
            @Test
            void testCreateNewFileWhenExists() throws SmbException, IOException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-updates.md

    Like `item.model_dump(exclude_unset=True)`.
    
    /// info
    
    In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
    The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top