Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 562 for Shardz (0.12 sec)

  1. pilot/pkg/xds/endpoints/ep_filters_test.go

    			}
    			ep.Labels["app"] = "example"
    			ep.Locality.ClusterID = sk.Cluster
    			shards.Shards[sk][i] = ep
    		}
    	}
    	// convert to EndpointIndex
    	index := model.NewEndpointIndex(model.NewXdsCache())
    	for shardKey, testEps := range shards.Shards {
    		svc, _ := index.GetOrCreateEndpointShard("example.ns.svc.cluster.local", "ns")
    		svc.Lock()
    		svc.Shards[shardKey] = testEps
    		svc.Unlock()
    	}
    	return index
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/endpoint_builder.go

    	shards := b.findShards(endpointIndex)
    	if shards == nil {
    		return nil
    	}
    
    	// Determine whether or not the target service is considered local to the cluster
    	// and should, therefore, not be accessed from outside the cluster.
    	isClusterLocal := b.clusterLocal
    	var eps []*model.IstioEndpoint
    	shards.RLock()
    	defer shards.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. docs/debugging/hash-set/main.go

    	flag.StringVar(&deploymentID, "deployment-id", "", "MinIO deployment ID, obtained from 'format.json'")
    	flag.IntVar(&setCount, "set-count", 0, "Total set count")
    	flag.IntVar(&shards, "shards", 0, "Total shards count")
    	flag.BoolVar(&verbose, "v", false, "Display all objects")
    
    	flag.Parse()
    
    	if deploymentID == "" {
    		log.Fatalln("deployment ID is mandatory")
    	}
    
    	if setCount == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go

    	shards, ok := endpoints.ShardsForService(string(s.Hostname), s.Attributes.Namespace)
    	if !ok {
    		return nil
    	}
    	var pn string
    	for _, p := range s.Ports {
    		if p.Port == port {
    			pn = p.Name
    			break
    		}
    	}
    	if pn == "" && port != 0 {
    		return nil
    	}
    	shards.RLock()
    	defer shards.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. pilot/pkg/model/endpointshards_test.go

    			originalEndpointsShard := &EndpointShards{
    				Shards: map[ShardKey][]*IstioEndpoint{
    					c1Key: cluster1Endppoints,
    					c2Key: {{Address: "10.244.0.1", ServiceAccount: "sa1"}, {Address: "10.244.0.2", ServiceAccount: "sa-vm2"}},
    				},
    				ServiceAccounts: map[string]struct{}{
    					"sa1":    {},
    					"sa-vm1": {},
    					"sa-vm2": {},
    				},
    			}
    			originalEndpointsShard.Shards[tc.shardKey] = tc.endpoints
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 15:48:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    	force          = flag.Bool("f", false, "ignore expected-failure test lists")
    	target         = flag.String("target", "", "cross-compile tests for `goos/goarch`")
    
    	shard  = flag.Int("shard", 0, "shard index to run. Only applicable if -shards is non-zero.")
    	shards = flag.Int("shards", 0, "number of shards. If 0, all tests are run. This is used by the continuous build.")
    )
    
    // defaultAllCodeGen returns the default value of the -all_codegen
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. docs/distributed/DESIGN.md

    - We limited the number of drives to 16 for erasure set because, erasure code shards more than 16 can become chatty and do not have any performance advantages. Additionally since 16 drive erasure set gives you tolerance of 8 drives per object by default which is plenty in any practical scenario.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. src/cmd/dist/test.go

    				&goTest{
    					variant:     id,
    					omitVariant: true, // Shards of the same Go package; tests are guaranteed not to overlap.
    					pkg:         "cmd/internal/testdir",
    					testFlags:   []string{fmt.Sprintf("-shard=%d", shard), fmt.Sprintf("-shards=%d", nShards)},
    					runOnHost:   true,
    				},
    			)
    		}
    	}
    }
    
    // addTest adds an arbitrary test callback to the test list.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  10. src/internal/coverage/pkid.go

    //
    //    internal error in coverage meta-data tracking:
    //    list of hard-coded runtime package IDs needs revising.
    //    registered list:
    //    slot: 0 path='internal/cpu'  hard-coded id: 1
    //    slot: 1 path='internal/goarch'  hard-coded id: 2
    //    slot: 2 path='internal/runtime/atomic'  hard-coded id: 3
    //    slot: 3 path='internal/goos'
    //    slot: 4 path='runtime/internal/sys'  hard-coded id: 5
    //    slot: 5 path='internal/abi'  hard-coded id: 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top