Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 706 for Cool (0.12 sec)

  1. cmd/batch-expire.go

    						VersionID:  exp.VersionID,
    					},
    				}
    				toDel = append(toDel, od)
    				oiCache.Add(od, &exp.ObjectInfo)
    			}
    
    			var done bool
    			// DeleteObject(deletePrefix: true) to expire all versions of an object
    			for _, exp := range toExpireAll {
    				var success bool
    				for attempts := 1; attempts <= retryAttempts; attempts++ {
    					select {
    					case <-ctx.Done():
    						done = true
    					default:
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  2. internal/cachevalue/cache.go

    	ReturnLastGood bool
    
    	// If CacheError is set, errors will be cached as well
    	// and not continuously try to update.
    	// Should not be combined with ReturnLastGood.
    	CacheError bool
    
    	// If NoWait is set, Get() will return the last good value,
    	// if TTL has expired but 2x TTL has not yet passed,
    	// but will fetch a new value in the background.
    	NoWait bool
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. schema/schema_helper_test.go

    	t.Run("CheckSchema/"+s.Name, func(t *testing.T) {
    		tests.AssertObjEqual(t, s, v, "Name", "Table")
    
    		for idx, field := range primaryFields {
    			var found bool
    			for _, f := range s.PrimaryFields {
    				if f.Name == field {
    					found = true
    				}
    			}
    
    			if idx == 0 {
    				if field != s.PrioritizedPrimaryField.Name {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. schema/naming.go

    }
    
    var _ Namer = (*NamingStrategy)(nil)
    
    // NamingStrategy tables, columns naming strategy
    type NamingStrategy struct {
    	TablePrefix         string
    	SingularTable       bool
    	NameReplacer        Replacer
    	NoLowerCase         bool
    	IdentifierMaxLength int
    }
    
    // TableName convert string to table name
    func (ns NamingStrategy) TableName(str string) string {
    	if ns.SingularTable {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  5. cmd/leak-detect_test.go

    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    // NewLeakDetect - Initialize a LeakDetector with the snapshot of relevant Go routines.
    func NewLeakDetect() LeakDetect {
    	snapshot := LeakDetect{
    		relevantRoutines: make(map[string]bool),
    	}
    	for _, g := range pickRelevantGoroutines() {
    		snapshot.relevantRoutines[g] = true
    	}
    	return snapshot
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/delmarker-expiration.go

    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. tests/callbacks_test.go

    func c5(*gorm.DB) {}
    func c6(*gorm.DB) {}
    
    func TestCallbacks(t *testing.T) {
    	type callback struct {
    		name    string
    		before  string
    		after   string
    		remove  bool
    		replace bool
    		err     string
    		match   func(*gorm.DB) bool
    		h       func(*gorm.DB)
    	}
    
    	datas := []struct {
    		callbacks []callback
    		err       string
    		results   []string
    	}{
    		{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/bufio/example_test.go

    	const input = "1234 5678 1234567901234567890"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Create a custom split function by wrapping the existing ScanWords function.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. cmd/consolelogger.go

    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    func (sys *HTTPConsoleLoggerSys) Subscribe(subCh chan log.Info, doneCh <-chan struct{}, node string, last int, logKind madmin.LogMask, filter func(entry log.Info) bool) error {
    	// Enable console logging for remote client.
    	if !sys.HasLogListeners() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    func (client *peerRESTClient) LocalStorageInfo(metrics bool) (info StorageInfo, err error) {
    	resp, err := localStorageInfoRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTMetrics: strconv.FormatBool(metrics),
    	}))
    	return resp.ValueOrZero(), err
    }
    
    // ServerInfo - fetch server information for a remote node.
    func (client *peerRESTClient) ServerInfo(metrics bool) (info madmin.ServerProperties, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top