Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Shardz (0.33 sec)

  1. 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)
  2. plugin/pkg/admission/resourcequota/admission_test.go

    	resourceQuota := &corev1.ResourceQuota{}
    	resourceQuota.Name = "quota"
    	resourceQuota.Namespace = "test"
    	resourceQuota.Status = corev1.ResourceQuotaStatus{
    		Hard: corev1.ResourceList{},
    		Used: corev1.ResourceList{},
    	}
    	resourceQuota.Status.Hard[corev1.ResourceMemory] = resource.MustParse("2Gi")
    	resourceQuota.Status.Used[corev1.ResourceMemory] = resource.MustParse("1Gi")
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context.go

    		// First get endpoint level service accounts
    		shard, f := env.EndpointIndex.ShardsForService(string(svc.Hostname), svc.Attributes.Namespace)
    		if f {
    			shard.RLock()
    			// copy here to reduce the lock time
    			// endpoints could update frequently, so the longer it locks, the more likely it will block other threads.
    			accounts = shard.ServiceAccounts.Copy()
    			shard.RUnlock()
    		}
    		if len(svc.ServiceAccounts) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    	// These tests are written to avoid any possible overflow.
    	off := uintptr(shard) * rootBlockBytes
    	if off >= n0 {
    		return 0
    	}
    	b := b0 + off
    	ptrmask := (*uint8)(add(unsafe.Pointer(ptrmask0), uintptr(shard)*(rootBlockBytes/(8*goarch.PtrSize))))
    	n := uintptr(rootBlockBytes)
    	if off+n > n0 {
    		n = n0 - off
    	}
    
    	// Scan this shard.
    	scanblock(b, n, ptrmask, gcw, nil)
    	return int64(n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceregistry_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: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/controller_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: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  7. docs/en/data/people.yml

      url: https://github.com/alejsdev
    - login: hard-coders
      count: 10
      avatarUrl: https://avatars.githubusercontent.com/u/9651103?u=95db33927bbff1ed1c07efddeb97ac2ff33068ed&v=4
      url: https://github.com/hard-coders
    - login: KaniKim
      count: 10
      avatarUrl: https://avatars.githubusercontent.com/u/19832624?u=40f8f7f3f36d5f2365ba2ad0b40693e60958ce70&v=4
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jun 03 01:09:53 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/conversion.go

    				matches = append(matches, nil)
    			}
    			for _, m := range matches {
    				if m != nil {
    					r.Matches = []k8s.HTTPRouteMatch{*m}
    				}
    				vs, err := convertHTTPRoute(r, ctx, obj, n, !mesh)
    				// This was a hard error
    				if vs == nil {
    					res.error = err
    					return conversionResult{error: err}
    				}
    				// Got an error but also routes
    				if err != nil {
    					res.error = err
    				}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    	shardSize := int64(1024 * 1024)
    	shard := make([]byte, shardSize)
    	w := newStreamingBitrotWriter(storage, "", volName, fileName, size, algo, shardSize)
    	reader := bytes.NewReader(data)
    	for {
    		// Using io.Copy instead of this loop will not work for us as io.Copy
    		// will use bytes.Reader.WriteTo() which will not do shardSize'ed writes
    		// causing error.
    		n, err := reader.Read(shard)
    		w.Write(shard[:n])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

                    }
                    module("org:d:1.0") {
                        module("org:a:2.0")
                    }
                }
            }
        }
    
        def "evicted hard dependency shouldn't add constraint on range"() {
            given:
            4.times { mavenRepo.module("org", "e", "${it + 1}").publish() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
Back to top