Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for Printer (0.68 sec)

  1. CHANGELOG/CHANGELOG-1.31.md

    - The "fake" clients generated by `client-gen` now have the same semantics on
      error as the real clients; in particular, a failed Get(), Create(), etc, no longer
      returns `nil`. (It now returns a pointer to a zero-valued object, like the real
      clients do.) This will break some downstream unit tests that were testing
      `result == nil` rather than `err != nil`, and in some cases may expose bugs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    		}
    		if idx := int(cache & letterIdxMask); idx < len(letterBytes) {
    			b[i] = letterBytes[idx]
    			i--
    		}
    		cache >>= letterIdxBits
    		remain--
    	}
    
    	return *(*string)(unsafe.Pointer(&b))
    }
    
    // generate random object name.
    func getRandomObjectName() string {
    	return randString(16)
    }
    
    // generate random bucket name.
    func getRandomBucketName() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conversion.go

    	OriginalHostname string
    
    	// AttachedRoutes keeps track of how many routes are attached to this parent. This is tracked for status.
    	// Because this is mutate in the route generation, parentInfo must be passed as a pointer
    	AttachedRoutes int32
    	// ReportAttachedRoutes is a callback that should be triggered once all AttachedRoutes are computed, to
    	// actually store the attached route count in the status
    	ReportAttachedRoutes func()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modget/get.go

    		// Otherwise leave the cs.err for reporting later.
    		if sw.NeedSwitch() {
    			sw.Switch(ctx)
    			// If NeedSwitch is true and Switch returns, Switch has failed to locate a newer toolchain.
    			// It printed the errors along with one more about not finding a good toolchain.
    			base.Exit()
    		}
    
    		for _, q := range queries {
    			unresolved := q.candidates[:0]
    
    			for _, cs := range q.candidates {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	// Create endpoint slice as well
    	esps := make([]discovery.EndpointPort, 0)
    	for _, name := range portNames {
    		n := name // Create a stable reference to take the pointer from
    		esps = append(esps, discovery.EndpointPort{Name: &n, Port: &portNum})
    	}
    
    	sliceEndpoint := make([]discovery.Endpoint, 0, len(ips))
    	for i, ip := range ips {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. src/runtime/pprof/pprof_test.go

    		}
    	})
    
    	// The finalizer goroutine should show up when it's running user code.
    	t.Run("finalizer present", func(t *testing.T) {
    		// T is a pointer type so it won't be allocated by the tiny
    		// allocator, which can lead to its finalizer not being called
    		// during this test
    		type T *byte
    		obj := new(T)
    		ch1, ch2 := make(chan int), make(chan int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/watch"
    	"k8s.io/apiserver/pkg/apis/example"
    	"k8s.io/apiserver/pkg/storage"
    	"k8s.io/apiserver/pkg/storage/value"
    	utilpointer "k8s.io/utils/pointer"
    )
    
    type KeyValidation func(ctx context.Context, t *testing.T, key string)
    
    func RunTestCreate(ctx context.Context, t *testing.T, store storage.Interface, validation KeyValidation) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top