Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for Clulow (0.83 sec)

  1. internal/store/queuestore_test.go

    		t.Fatal("Failed to create a queue store ", err)
    	}
    	for i := 0; i < 5; i++ {
    		if err := store.Put(testItem); err != nil {
    			t.Fatal("Failed to put to queue store ", err)
    		}
    	}
    	// Should not allow 6th Put.
    	if err := store.Put(testItem); err == nil {
    		t.Fatalf("Expected to fail with %s, but passes", errLimitExceeded)
    	}
    }
    
    // TestQueueStoreLimit - tests for store.LimitN.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 04 17:52:24 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    			if err != nil {
    				return entries, fmt.Errorf("remote listing canceled: %w", err)
    			}
    			retries = 1
    		}
    
    		// All operations are performed without locks, so we must be careful and allow for failures.
    		// Read metadata associated with the object from a disk.
    		if retries > 0 {
    			for _, disk := range er.getDisks() {
    				if disk == nil {
    					continue
    				}
    				if !disk.IsOnline() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. gorm.go

    	// IgnoreRelationshipsWhenMigrating
    	IgnoreRelationshipsWhenMigrating bool
    	// DisableNestedTransaction disable nested transaction
    	DisableNestedTransaction bool
    	// AllowGlobalUpdate allow global update
    	AllowGlobalUpdate bool
    	// QueryFields executes the SQL query with all fields of the table
    	QueryFields bool
    	// CreateBatchSize default create batch size
    	CreateBatchSize int
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  4. internal/kms/kes.go

    				c.lock.Unlock()
    
    				prevCertificate = certificate
    			}
    		}
    	}()
    
    	go c.refreshKMSMasterKeyCache(logger)
    	return c, nil
    }
    
    // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The
    // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused
    func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    	// Do not need to undo partial successful operation since those will be cleaned up
    	// in 24hrs via multipart cleaner, never rename() back to `.minio.sys/tmp` as there
    	// is no way to clean them.
    
    	// We can safely allow RenameFile errors up to len(er.getDisks()) - writeQuorum
    	// otherwise return failure. Cleanup successful renames.
    	return evalDisks(disks, errs), reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricReplication, job.ID, attempts)
    				success := true
    				if err := r.ReplicateFromSource(ctx, api, core, oi, retry); err != nil {
    					// object must be deleted concurrently, allow these failures but do not count them
    					if isErrVersionNotFound(err) || isErrObjectNotFound(err) {
    						return
    					}
    					stopFn(oi, err)
    					batchLogIf(ctx, err)
    					success = false
    				} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    // of bytes in the combined first two elements, error).
    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    // length of `totalLen`. The result is structured in this way to allow callers
    // to minimize allocations and copies.
    func (b *Reader) collectFragments(delim byte) (fullBuffers [][]byte, finalFragment []byte, totalLen int, err error) {
    	var frag []byte
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. misc/ios/go_ios_exec.go

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>keychain-access-groups</key>
    	<array><string>` + appID + `</string></array>
    	<key>get-task-allow</key>
    	<true/>
    	<key>application-identifier</key>
    	<string>` + appID + `</string>
    	<key>com.apple.developer.team-identifier</key>
    	<string>` + teamID + `</string>
    </dict>
    </plist>
    `
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    // listSem is a semaphore restricting concurrent invocations of 'go list'. 'go
    // list' has its own internal concurrency, so we use a hard-coded constant (to
    // allow the I/O-intensive phases of 'go list' to overlap) instead of scaling
    // all the way up to GOMAXPROCS.
    var listSem = make(chan semToken, 2)
    
    type semToken struct{}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	for n > 0 {
    		var m madmin.RealtimeMetrics
    		mLocal := collectLocalMetrics(types, collectMetricsOpts{
    			hosts: hostMap,
    			disks: diskMap,
    			jobID: jobID,
    			depID: dID,
    		})
    		m.Merge(&mLocal)
    		// Allow half the interval for collecting remote...
    		cctx, cancel := context.WithTimeout(ctx, interval/2)
    		mRemote := collectRemoteMetrics(cctx, types, collectMetricsOpts{
    			hosts: hostMap,
    			disks: diskMap,
    			jobID: jobID,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top