Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for swap (0.28 sec)

  1. cmd/xl-storage-disk-id-check.go

    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    		atomic.StoreInt64(&e.cachedSec, t)
    	})
    	acc := e.cached.Load()
    	if lastT := atomic.LoadInt64(&e.cachedSec); lastT != t {
    		// Check if lastT was changed by someone else.
    		if atomic.CompareAndSwapInt64(&e.cachedSec, lastT, t) {
    			// Now we swap in a new.
    			newAcc := &AccElem{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. internal/logger/target/testlogger/testlogger.go

    // Call the returned function to disable logging.
    func (t *testLogger) SetFatalTB(tb testing.TB) func() {
    	return t.setTB(tb, fatalMessage)
    }
    
    func (t *testLogger) setTB(tb testing.TB, action int32) func() {
    	old := t.action.Swap(action)
    	t.current.Store(&tb)
    	return func() {
    		t.current.Store(nil)
    		t.action.Store(old)
    	}
    }
    
    func (t *testLogger) String() string {
    	tb := t.current.Load()
    	if tb != nil {
    		tbb := *tb
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    				epHealth.offlineDuration = prev.offlineDuration
    				epHealth.lastHCAt = prev.lastHCAt
    				epHealth.latency = prev.latency
    			}
    			m[t.Endpoint] = epHealth
    		}
    	}
    	// swap out the map
    	sys.hc = m
    	sys.hMutex.Unlock()
    }
    
    func (sys *BucketTargetSys) healthStats() map[string]epHealth {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	m := make(map[string]epHealth, len(sys.hc))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    				a.setBool(bA)
    			} else {
    				return fmt.Errorf("Could not convert %s to a boolean", a.String())
    			}
    
    		default:
    			return errCmpMismatchedTypes
    		}
    		return nil
    
    	case !okA && okB:
    		// swap arguments to avoid repeating code
    		return inferTypesForCmp(b, a)
    
    	default:
    		// Does not happen
    		return nil
    	}
    }
    
    // Value arithmetic functions: we do not expose them outside the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  5. internal/logger/targets.go

    	for _, target := range targets {
    		go target.Cancel()
    	}
    }
    
    // UpdateHTTPWebhooks swaps system webhook targets with newly loaded ones from the cfg
    func UpdateHTTPWebhooks(ctx context.Context, cfgs map[string]http.Config) (errs []error) {
    	return updateHTTPTargets(ctx, cfgs, &systemTargets)
    }
    
    // UpdateAuditWebhooks swaps audit webhook targets with newly loaded ones from the cfg
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. helm/minio/.helmignore

    # negation (prefixed with !). Only one pattern per line.
    .DS_Store
    # Common VCS dirs
    .git/
    .gitignore
    .bzr/
    .bzrignore
    .hg/
    .hgignore
    .svn/
    # Common backup files
    *.swp
    *.bak
    *.tmp
    *~
    # Various IDEs
    .project
    .idea/
    *.tmproj
    # OWNERS file for Kubernetes
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 20 22:30:54 GMT 2021
    - 368 bytes
    - Viewed (0)
  7. helm-releases/minio-2.0.0.tgz

    building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *~ # Various IDEs .project .idea/ *.tmproj # OWNERS file for Kubernetes OWNERS minio/README.md # MinIO Helm Chart [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![license](https://img.shields.io/badge/license-AGP...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 26 07:36:46 GMT 2021
    - 13.6K bytes
    - Viewed (0)
  8. helm-releases/minio-1.0.3.tgz

    building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *~ # Various IDEs .project .idea/ *.tmproj # OWNERS file for Kubernetes OWNERS minio/README.md # MinIO Helm Chart [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![license](https://img.shields.io/badge/license-AGP...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 24 19:04:07 GMT 2021
    - 13.6K bytes
    - Viewed (0)
  9. helm-releases/minio-3.3.3.tgz

    building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *~ # Various IDEs .project .idea/ *.tmproj # OWNERS file for Kubernetes OWNERS minio/README.md # MinIO Helm Chart [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![license](https://img.shields.io/badge/license-AGP...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 11 17:28:02 GMT 2021
    - 14.6K bytes
    - Viewed (0)
  10. helm-releases/minio-3.1.4.tgz

    building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *~ # Various IDEs .project .idea/ *.tmproj # OWNERS file for Kubernetes OWNERS minio/README.md # MinIO Helm Chart [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![license](https://img.shields.io/badge/license-AGP...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 20 05:30:22 GMT 2021
    - 14.4K bytes
    - Viewed (0)
Back to top