Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 100 for 1024x1024 (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    				NodeSelector:                  map[string]string{},
    				ServiceAccountName:            "demo-sa",
    			},
    		}
    		pod.Name = fmt.Sprintf("object-%d", index)
    		data := make([]byte, 1024*2, 1024*2) // 2k labels
    		rand.Read(data)
    		pod.Spec.NodeSelector["key"] = string(data)
    		return pod
    	}
    	testCases := []struct {
    		name              string
    		objectNum         int
    		expectNum         int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/slices/slices_test.go

    				ss = append(ss, c.s...)
    				_ = CompactFunc(ss, func(a, b int) bool { return a == b })
    			}
    		})
    	}
    }
    
    func BenchmarkCompactFunc_Large(b *testing.B) {
    	type Element = int
    	const N = 1024 * 1024
    
    	b.Run("all_dup", func(b *testing.B) {
    		ss := make([]Element, N)
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    			_ = CompactFunc(ss, func(a, b Element) bool { return a == b })
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    		dummyServiceResolverImpl{},
    		func(r webhook.AuthenticationInfoResolver) webhook.AuthenticationInfoResolver { return r },
    		1,
    		dummyAuthorizerImpl{},
    		time.Minute, time.Minute, nil, 3*1024*1024)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	crdInfo, err := handler.getOrCreateServingInfoFor(crd.UID, crd.Name)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal_test.go

    							v1.ResourceMemory: *resource.NewQuantity(
    								int64(1024*1024/2),
    								resource.BinarySI),
    						},
    					},
    					{
    						Name: "container2",
    						Usage: v1.ResourceList{
    							v1.ResourceCPU: *resource.NewMilliQuantity(
    								int64(cpu/2),
    								resource.DecimalSI),
    							v1.ResourceMemory: *resource.NewQuantity(
    								int64(1024*1024/2),
    								resource.BinarySI),
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  5. src/runtime/mgcsweep.go

    		heapDistance := int64(trigger) - int64(heapLiveBasis)
    		// Add a little margin so rounding errors and
    		// concurrent sweep are less likely to leave pages
    		// unswept when GC starts.
    		heapDistance -= 1024 * 1024
    		if heapDistance < _PageSize {
    			// Avoid setting the sweep ratio extremely high
    			heapDistance = _PageSize
    		}
    		pagesSwept := mheap_.pagesSwept.Load()
    		pagesInUse := mheap_.pagesInUse.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/preflight/checks.go

    	// Run the system verification check, but write to out buffered writer instead of stdout
    	bufw := bufio.NewWriterSize(os.Stdout, 1*1024*1024)
    	reporter := &system.StreamReporter{WriteStream: bufw}
    
    	var errs []error
    	var warns []error
    	// All the common validators we'd like to run:
    	var validators = []system.Validator{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    	bucket := getRandomBucketName()
    
    	var opts ObjectOptions
    	// make data with more than one part
    	partCount := 3
    	data := bytes.Repeat([]byte("a"), 6*1024*1024*partCount)
    
    	z := obj.(*erasureServerPools)
    	xl := z.serverPools[0].sets[0]
    	erasureDisks := xl.getDisks()
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/config.go

    		// should be changed to reflect the new value, if the two haven't
    		// been wired together already somehow.
    		MaxRequestBodyBytes: int64(3 * 1024 * 1024),
    
    		// Default to treating watch as a long-running operation
    		// Generic API servers have no inherent long-running subresources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/route/route.go

    // DefaultMaxDirectResponseBodySizeBytes is 1mb, the same limit the control plane validates via webhook. Set this to increase from envoy default of 4k
    var DefaultMaxDirectResponseBodySizeBytes = wrapperspb.UInt32(1024 * 1024)
    
    type DestinationHashMap map[*networking.HTTPRouteDestination]*networking.LoadBalancerSettings_ConsistentHashLB
    
    // VirtualHostWrapper is a context-dependent virtual host entry with guarded routes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	// Set SSL to on to do encryption tests
    	globalIsTLS = true
    	defer func() { globalIsTLS = false }()
    
    	var (
    		oneMiB        int64 = 1024 * 1024
    		key32Bytes          = generateBytesData(32 * humanize.Byte)
    		key32BytesMd5       = md5.Sum(key32Bytes)
    		metaWithSSEC        = map[string]string{
    			xhttp.AmzServerSideEncryptionCustomerAlgorithm: xhttp.AmzEncryptionAES,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top