Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for Shardz (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/mgcpacer.go

    //
    // The worst case result of this raciness is that we may miss a larger shift
    // in the ratio (say, if we decide to pace more aggressively against the
    // hard heap goal) but even this "hard goal" is best-effort (see #40460).
    // The dedicated GC should ensure we don't exceed the hard goal by too much
    // in the rare case we do exceed it.
    //
    // It should only be called when gcBlackenEnabled != 0 (because this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
            }
        }
    
    
        protected synchronized void doDisconnect ( boolean hard ) throws IOException {
            doDisconnect(hard, false);
        }
    
    
        @Override
        protected synchronized boolean doDisconnect ( boolean hard, boolean inUse ) throws IOException {
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            boolean wasInUse = false;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top