Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for p1 (0.12 sec)

  1. cmd/site-replication.go

    				found = true
    				break
    			}
    		}
    		if !found {
    			return false
    		}
    	}
    	return true
    }
    
    func isPolicyMappingEqual(p1, p2 srPolicyMapping) bool {
    	return p1.Policy == p2.Policy && p1.IsGroup == p2.IsGroup && p1.UserOrGroup == p2.UserOrGroup
    }
    
    type srPeerInfo struct {
    	madmin.PeerInfo
    	EndpointURL *url.URL
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. doc/go1.17_spec.html

    Consequently, taking the address of an empty slice or map composite literal
    does not have the same effect as allocating a new slice or map value with
    <a href="#Allocation">new</a>.
    </p>
    
    <pre>
    p1 := &amp;[]int{}    // p1 points to an initialized, empty slice with value []int{} and length 0
    p2 := new([]int)  // p2 points to an uninitialized slice with value nil and length 0
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top