Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for renamer (0.22 sec)

  1. cmd/erasure-multipart.go

    			}
    			return disks[index].WriteAll(ctx, dstBucket, dstEntry, b)
    		}, index)
    	}
    
    	// Wait for all renames to finish.
    	errs := g.Wait()
    
    	// We can safely allow RenameFile errors up to len(er.getDisks()) - writeQuorum
    	// otherwise return failure. Cleanup successful renames.
    	err := reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    	if errors.Is(err, errErasureWriteQuorum) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    				for _, entry := range legacyEntries {
    					// Skip xl.meta renames further, also ignore any directories such as `legacyDataDir`
    					if entry == xlStorageFormatFile || strings.HasSuffix(entry, slashSeparator) {
    						continue
    					}
    
    					if err = Rename(pathJoin(currentDataPath, entry), pathJoin(legacyDataPath, entry)); err != nil {
    						// Any failed rename calls un-roll previous transaction.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

        }
    
        @Issue("gradle/gradle#20390")
        def "can deserialize copy task with rename"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            buildFile """
                tasks.register('copyAndRename', Copy) {
                    from('foo') { rename { 'bar' } }
                }
            """
    
            when:
            configurationCacheRun "copyAndRename"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. schema/relationship.go

    	if _, ok := relation.JoinTable.Relationships.Relations[relName]; !ok {
    		relation.JoinTable.Relationships.Relations[relName] = &Relationship{
    			Name:        relName,
    			Type:        BelongsTo,
    			Schema:      relation.JoinTable,
    			FieldSchema: relation.Schema,
    		}
    	} else {
    		relation.JoinTable.Relationships.Relations[relName].References = []*Reference{}
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            when:
            def newInitScript1 = file('new' + initScript1.name)
            def newInitScript2 = file('new' + initScript2.name)
            initScript1.renameTo(newInitScript1)
            initScript2.renameTo(newInitScript2)
            configurationCacheRun 'build', '-I', newInitScript1.absolutePath, '-I', newInitScript2.absolutePath
    
            then:
            outputDoesNotContain 'initscript1!'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    	UndoWrite bool `msg:"u"`
    	// OldDataDir of the previous object
    	OldDataDir string `msg:"o,omitempty"` // old data dir used only when to revert a rename()
    }
    
    // BaseOptions represents common options for all Storage API calls
    type BaseOptions struct{}
    
    // RenameOptions represents rename API options, currently its same as BaseOptions
    type RenameOptions struct {
    	BaseOptions
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    	}
    
    	defer er.deleteAll(context.Background(), minioMetaTmpBucket, tmpID)
    
    	// Rename from tmp location to the actual location.
    	for i, disk := range outDatedDisks {
    		if disk == OfflineDisk {
    			continue
    		}
    
    		// record the index of the updated disks
    		partsMetadata[i].Erasure.Index = i + 1
    
    		// Attempt a rename now from healed data to final location.
    		partsMetadata[i].SetHealing()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  8. pkg/log/options.go

    	//
    	// This path is used as a foundational path. This is where log output is normally
    	// saved. When a rotation needs to take place because the file got too big,
    	// then the file is renamed by appending a timestamp to the name. Such renamed
    	// files are called backups. Once a backup has been created,
    	// output resumes to this path.
    	RotateOutputPath string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. callbacks/query.go

    							currentRelations := db.Statement.Schema.Relationships.Relations
    							for _, relname := range nestedJoinNames {
    								// incomplete match, only treated as raw sql
    								if relation, ok = currentRelations[relname]; ok {
    									gussNestedRelations = append(gussNestedRelations, relation)
    									currentRelations = relation.FieldSchema.Relationships.Relations
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    // where we keep old *Readers
    var readMsgpReaderPool = sync.Pool{New: func() interface{} { return &msgp.Reader{} }}
    
    // mspNewReader returns a *Reader that reads from the provided reader.
    // The reader will be buffered.
    // Return with readMsgpReaderPoolPut when done.
    func msgpNewReader(r io.Reader) *msgp.Reader {
    	p := readMsgpReaderPool.Get().(*msgp.Reader)
    	if p.R == nil {
    		p.R = xbufio.NewReaderSize(r, 4<<10)
    	} else {
    		p.R.Reset(r)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top