Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for Franke (0.53 sec)

  1. cmd/endpoint.go

    // Add add pool endpoints
    func (l *EndpointServerPools) Add(zeps PoolEndpoints) error {
    	existSet := set.NewStringSet()
    	for _, zep := range *l {
    		for _, ep := range zep.Endpoints {
    			existSet.Add(ep.String())
    		}
    	}
    	// Validate if there are duplicate endpoints across serverPools
    	for _, ep := range zeps.Endpoints {
    		if existSet.Contains(ep.String()) {
    			return fmt.Errorf("duplicate endpoints found")
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  2. cmd/erasure.go

    	offlineDisks = make(madmin.BackendDisks)
    
    	for _, disk := range disksInfo {
    		ep := disk.Endpoint
    		if _, ok := offlineDisks[ep]; !ok {
    			offlineDisks[ep] = 0
    		}
    		if _, ok := onlineDisks[ep]; !ok {
    			onlineDisks[ep] = 0
    		}
    	}
    
    	// Wait for the routines.
    	for _, disk := range disksInfo {
    		ep := disk.Endpoint
    		state := disk.State
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  3. callbacks/preload.go

    		}
    		if value != "" {
    			preloadMap[name][value] = args
    		}
    	}
    
    	for name, args := range preloads {
    		preloadFields := strings.Split(name, ".")
    		value := strings.TrimPrefix(strings.TrimPrefix(name, preloadFields[0]), ".")
    		if preloadFields[0] == clause.Associations {
    			for _, relation := range s.Relationships.Relations {
    				if relation.Schema == s {
    					setPreloadMap(relation.Name, value, args)
    				}
    			}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. cmd/net_test.go

    		expectedPort string
    	}{
    		{":54321", "", "54321"},
    		{"server:54321", "server", "54321"},
    		{":0", "", "0"},
    		{"server:https", "server", "443"},
    		{"server:http", "server", "80"},
    	}
    
    	for _, testCase := range testCases {
    		host, port := mustSplitHostPort(testCase.hostPort)
    		if testCase.expectedHost != host {
    			t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host)
    		}
    
    		if testCase.expectedPort != port {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/data-scanner_test.go

    	es.workers.Store(&workers)
    	globalExpiryState = es
    	var wg sync.WaitGroup
    	wg.Add(1)
    	expired := make([]ObjectToDelete, 0, 5)
    	go func() {
    		defer wg.Done()
    		workers := globalExpiryState.workers.Load()
    		for t := range (*workers)[0] {
    			if t, ok := t.(newerNoncurrentTask); ok {
    				expired = append(expired, t.versions...)
    			}
    		}
    	}()
    	lc := lifecycle.Lifecycle{
    		Rules: []lifecycle.Rule{
    			{
    				ID:     "max-versions",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/erasure-healing.go

    	copyPartsMetadata := make([]FileInfo, len(partsMetadata))
    	for i := range latestDisks {
    		if latestDisks[i] == nil {
    			continue
    		}
    		copyPartsMetadata[i] = partsMetadata[i]
    	}
    
    	for i := range outDatedDisks {
    		if outDatedDisks[i] == nil {
    			continue
    		}
    		// Make sure to write the FileInfo information
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    			}
    			ok := len(splitFilled)
    			for i, sh := range splitFilled {
    				for _, v := range sh {
    					if v == 0 {
    						split[i] = nil
    						ok--
    						break
    					}
    				}
    			}
    			hasParity := 0
    			for idx, sh := range v {
    				split[idx] = sh
    				if idx >= k && len(v) > 0 {
    					hasParity++
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  8. cmd/admin-handlers.go

    	}
    
    	if globalIsTLS {
    		for _, c := range globalPublicCerts {
    			check := xxh3.Hash(c.RawIssuer)
    			check ^= xxh3.Hash(c.RawSubjectPublicKeyInfo)
    			// We XOR, so order doesn't matter.
    			for _, v := range c.DNSNames {
    				check ^= xxh3.HashString(v)
    			}
    			for _, v := range c.EmailAddresses {
    				check ^= xxh3.HashString(v)
    			}
    			for _, v := range c.IPAddresses {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. cmd/erasure-sets.go

    	g := errgroup.WithNErrs(len(s.sets))
    	for index := range s.sets {
    		index := index
    		g.Go(func() error {
    			storageInfos[index] = s.sets[index].StorageInfo(ctx)
    			return nil
    		}, index)
    	}
    
    	// Wait for the go routines.
    	g.Wait()
    
    	for _, lstorageInfo := range storageInfos {
    		storageInfo.Disks = append(storageInfo.Disks, lstorageInfo.Disks...)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  10. internal/logger/logger.go

    	// as "{path#}/src/" into trimStrings
    	for _, goPathString := range goPathList {
    		trimStrings = append(trimStrings, filepath.Join(goPathString, "src")+string(filepath.Separator))
    	}
    
    	for _, goRootString := range goRootList {
    		trimStrings = append(trimStrings, filepath.Join(goRootString, "src")+string(filepath.Separator))
    	}
    
    	for _, defaultgoPathString := range defaultgoPathList {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top