Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deterministic (0.27 sec)

  1. cmd/xl-storage-format-utils.go

    		// PR #11758 used DataDir, preserve it
    		// for users who might have used master
    		// branch
    		fi.Data = inData.find(fi.DataDir)
    	}
    	return fi, nil
    }
    
    // hashDeterministicString will return a deterministic hash for the map values.
    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    			err := cb(r.Msg)
    			if err != nil {
    				if errors.Is(err, ErrDone) {
    					break
    				}
    				return err
    			}
    		}
    	}
    	return nil
    }
    */
    
    // shouldConnect returns a deterministic bool whether the local should initiate the connection.
    // It should be 50% chance of any host initiating the connection.
    func (c *Connection) shouldConnect() bool {
    	// The remote should have the opposite result.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. docs/distributed/README.md

    > **NOTE:** **Each pool you add must have the same erasure coding parity configuration as the original pool, so the same data redundancy SLA is maintained.**
    
    ## 3. Test your setup
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  4. cmd/notification.go

    				info.Disks = getOfflineDisks(info.Endpoint, globalEndpoints)
    			}
    			reply[idx] = info
    		}(client, i)
    	}
    	wg.Wait()
    
    	return reply
    }
    
    // restClientFromHash will return a deterministic peerRESTClient based on s.
    // Will return nil if client is local.
    func (sys *NotificationSys) restClientFromHash(s string) (client *peerRESTClient) {
    	if len(sys.peerClients) == 0 {
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
Back to top