Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for midpoint (0.2 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

          }
        }
      }
    
      /**
       * Performs a partition operation on the slice of {@code array} with elements in the range [{@code
       * from}, {@code to}]. Uses the median of {@code from}, {@code to}, and the midpoint between them
       * as a pivot. Returns the index which the slice is partitioned around, i.e. if it returns {@code
       * ret} then we know that the values with indexes in [{@code from}, {@code ret}) are less than or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	GridHost string
    }
    
    // Endpoint - any type of endpoint.
    type Endpoint struct {
    	*url.URL
    	IsLocal bool
    
    	PoolIdx, SetIdx, DiskIdx int
    }
    
    // Equal returns true if endpoint == ep
    func (endpoint Endpoint) Equal(ep Endpoint) bool {
    	if endpoint.IsLocal == ep.IsLocal && endpoint.PoolIdx == ep.PoolIdx && endpoint.SetIdx == ep.SetIdx && endpoint.DiskIdx == ep.DiskIdx {
    		if endpoint.Path == ep.Path && endpoint.Host == ep.Host {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  3. cmd/endpoint_test.go

    		{SlashSeparator, Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    		{`\`, Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    		{"c://foo", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"ftp://foo", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"http://server/path?location", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  4. cmd/endpoint-ellipses.go

    	"github.com/minio/pkg/v2/ellipses"
    	"github.com/minio/pkg/v2/env"
    )
    
    // This file implements and supports ellipses pattern for
    // `minio server` command line arguments.
    
    // Endpoint set represents parsed ellipses values, also provides
    // methods to get the sets of endpoints.
    type endpointSet struct {
    	argPatterns []ellipses.ArgPattern
    	endpoints   []string   // Endpoints saved from previous GetEndpoints().
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses_test.go

    		if paddinglen == 0 {
    			seq = append(seq, fmt.Sprintf("%d", i))
    		} else {
    			seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dd", paddinglen), i))
    		}
    	}
    	return seq
    }
    
    // Test tests parses endpoint ellipses input pattern.
    func TestParseEndpointSet(t *testing.T) {
    	testCases := []struct {
    		arg     string
    		es      endpointSet
    		success bool
    	}{
    		// Tests invalid inputs.
    		{
    			"...",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Cut.java

           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
           * of Cut.compareTo checks for belowAll before reading accessing `endpoint` on another Cut
           * instance.
           */
          super("");
        }
    
        @Override
        Comparable<?> endpoint() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.json

    [
        {
            "clusterName": "agent",
            "endpoints": [
                {
                    "locality": {},
                    "lbEndpoints": [
                        {
                            "endpoint": {
                                "address": {
                                    "socketAddress": {
                                        "address": "127.0.0.1",
                                        "portValue": 15020
                                    }
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 12 02:25:59 GMT 2022
    - 40.4K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.yaml

      endpoints:
      - lbEndpoints:
        - endpoint:
            address:
              socketAddress:
                address: 10.244.0.8
                portValue: 53
            healthCheckConfig: {}
          healthStatus: HEALTHY
          loadBalancingWeight: 1
          metadata:
            filterMetadata:
              istio:
                workload: coredns;kube-system;;;Kubernetes
        - endpoint:
            address:
              socketAddress:
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 12 02:25:59 GMT 2022
    - 17.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Cut.java

           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
           * of Cut.compareTo checks for belowAll before reading accessing `endpoint` on another Cut
           * instance.
           */
          super("");
        }
    
        @Override
        Comparable<?> endpoint() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. cmd/erasure.go

    	disks := er.getDisks()
    	endpoints := er.getEndpoints()
    
    	var localDisks []StorageAPI
    	var localEndpoints []Endpoint
    
    	for i, endpoint := range endpoints {
    		if endpoint.IsLocal {
    			localDisks = append(localDisks, disks[i])
    			localEndpoints = append(localEndpoints, endpoint)
    		}
    	}
    
    	return getStorageInfo(localDisks, localEndpoints, metrics)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
Back to top