Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Edwards (0.19 sec)

  1. tests/embedded_struct_test.go

    	} else if news.Title != "hn_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_news"}, Author: &Author{Name: "Edward"}})
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_article"}, Author: &Author{Name: "George"}})
    	var egNews EngadgetPost
    	if err := DB.First(&egNews, "title = ?", "engadget_news").Error; err != nil {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. cmd/dynamic-timeouts.go

    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	} else if failPct < dynamicTimeoutDecreaseThresholdPct {
    		// We are hitting the timeout relatively few times,
    		// so decrease the timeout towards 25 % of maximum time spent.
    		max = max * 125 / 100
    
    		timeout := atomic.LoadInt64(&dt.timeout)
    		if max < time.Duration(timeout) {
    			// Move 50% toward the max.
    			timeout = (int64(max) + timeout) / 2
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    				}
    			}
    		}
    		if objDeleted {
    			// we return errIgnoreFileContrib to signal this function's
    			// callers to skip this object's contribution towards
    			// usage.
    			return sizeSummary{}, errIgnoreFileContrib
    		}
    		return sizeS, nil
    	}, scanMode, weSleep)
    	if err != nil {
    		return dataUsageInfo, err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 82.4K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    		} else {
    			console.Debugf(applyActionsLogPrefix+" lifecycle: %q Initial scan: %v\n", i.objectPath(), lcEvt.Action)
    		}
    	}
    
    	switch lcEvt.Action {
    	// This version doesn't contribute towards sizeS only when it is permanently deleted.
    	// This can happen when,
    	// - ExpireObjectAllVersions flag is enabled
    	// - NoncurrentVersionExpiration is applicable
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_test.go

    		expireRestored   bool
    		expectedDataDir  string
    	}{
    		{ // object versions with inlined data don't count towards shared data directory
    			versionID: mustGetUUID(),
    			dataDir:   d0,
    			data:      data,
    			shares:    0,
    		},
    		{ // object versions with inlined data don't count towards shared data directory
    			versionID: mustGetUUID(),
    			dataDir:   d1,
    			data:      data2,
    			shares:    0,
    		},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// Handle policy mapping removal.
    	if policy == "" {
    		if store.getUsersSysType() == LDAPUsersSysType {
    			// Add a fallback removal towards previous content that may come back
    			// as a ghost user due to lack of delete, this change occurred
    			// introduced in PR #11840
    			store.deleteMappedPolicy(ctx, name, regUser, false)
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 74.4K bytes
    - Viewed (2)
  7. cmd/erasure-multipart.go

    // uploads for a particular object in a bucket.
    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    // towards simplification of multipart APIs.
    // The resulting ListMultipartsInfo structure is unmarshalled directly as XML.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 42.4K bytes
    - Viewed (0)
  8. cmd/auth-handler.go

    			amzDate, errCode := parseAmzDateHeader(r)
    			if errCode != ErrNone {
    				if ok {
    					tc.FuncName = "handler.Auth"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    				// All our internal APIs are sensitive towards Date
    				// header, for all requests where Date header is not
    				// present we will reject such clients.
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		if err == nil {
    			return res.oi, res.zIdx, nil
    		}
    		if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    			// some errors such as MethodNotAllowed for delete marker
    			// should be returned upwards.
    			return res.oi, res.zIdx, err
    		}
    		// When its a delete marker and versionID is empty
    		// we should simply return the error right away.
    		if res.oi.DeleteMarker && opts.VersionID == "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 77.8K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/reader.go

    	var tokens int           // number of tokens to request
    
    	if hdr > 0 { // available tokens go towards header first
    		if hdr < b { // all of header can be accommodated
    			r.opts.HeaderSize = 0
    			need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload
    			tokens = need + hdr
    
    		} else { // part of header can be accommodated
    			r.opts.HeaderSize -= b - 1
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top