Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 256 for 65533 (0.04 sec)

  1. src/runtime/memmove_linux_amd64_test.go

    	if errno != 0 {
    		t.Skipf("could not create memory mapping: %s", errno)
    	}
    	syscall.Syscall(syscall.SYS_MUNMAP, base, 3<<30, 0)
    
    	for off := uintptr(0); off < 3<<30; off += 65536 {
    		_, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
    			base+off, 65536, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SHARED|syscall.MAP_FIXED, tmp.Fd(), 0)
    		if errno != 0 {
    			t.Skipf("could not map a page at requested 0x%x: %s", base+off, errno)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. test/escape_array.go

    	a := new([10]*string) // ERROR "new\(\[10\]\*string\) does not escape"
    	a[0] = x
    	b := new([65537]*string) // ERROR "new\(\[65537\]\*string\) escapes to heap"
    	b[0] = y
    }
    
    type a10 struct {
    	s *string
    	i [10]int32
    }
    
    type a65537 struct {
    	s *string
    	i [65537]int32
    }
    
    // BAD: x need not leak.
    func doesNew2(x *string, y *string) { // ERROR "leaking param: x" "leaking param: y"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:32 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  3. cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-deployment.yaml

      template:
        metadata:
          labels:
            k8s-app: calico-typha-autoscaler
        spec:
          priorityClassName: system-cluster-critical
          securityContext:
            supplementalGroups: [ 65534 ]
            fsGroup: 65534
          containers:
          - image: registry.k8s.io/cluster-proportional-autoscaler-amd64:1.7.1
            name: autoscaler
            command:
              - /cluster-proportional-autoscaler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 1K bytes
    - Viewed (0)
  4. src/net/port.go

    // parse service as a non-decimal integer when needsLookup is true.
    //
    // Some system resolvers will return a valid port number when given a number
    // over 65536 (see https://golang.org/issues/11715). Alas, the parser
    // can't bail early on numbers > 65536. Therefore reasonably large/small
    // numbers are parsed in full and rejected if invalid.
    func parsePort(service string) (port int, needsLookup bool) {
    	if service == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:56 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  5. src/net/ipsock_plan9.go

    		ip = a.IP
    		port = a.Port
    	case *UDPAddr:
    		proto = "udp"
    		ip = a.IP
    		port = a.Port
    	default:
    		err = UnknownNetworkError(net)
    		return
    	}
    
    	if port > 65535 {
    		err = InvalidAddrError("port should be < 65536")
    		return
    	}
    
    	clone, dest, err := queryCS1(ctx, proto, ip, port)
    	if err != nil {
    		return
    	}
    	f, err := os.OpenFile(clone, os.O_RDWR, 0)
    	if err != nil {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 20:38:53 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    			cacheSizes: []string{"deployments.apps#65536", "replicasets.extensions#-65536"},
    			expectErr:  "watch cache size cannot be negative",
    		},
    		{
    			name:       "test when parse watch cache size success",
    			cacheSizes: []string{"deployments.apps#65536", "replicasets.extensions#65536"},
    			expectWatchCacheSizes: map[schema.GroupResource]int{
    				{Group: "apps", Resource: "deployments"}:       65536,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server_websocket_test.go

    		"none number port":              {port: "abc", shouldError: true},
    		"negative port":                 {port: "-1", shouldError: true},
    		"too large port":                {port: "65536", shouldError: true},
    		"0 port":                        {port: "0", shouldError: true},
    		"min port":                      {port: "1", shouldError: false},
    		"normal port":                   {port: "8000", shouldError: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/net/port_range.go

    		if err != nil {
    			return err
    		}
    		high = low + offset
    	default:
    		return fmt.Errorf("unable to parse port range: %s", value)
    	}
    
    	if low > 65535 || high > 65535 {
    		return fmt.Errorf("the port range cannot be greater than 65535: %s", value)
    	}
    
    	if high < low {
    		return fmt.Errorf("end port cannot be less than start port: %s", value)
    	}
    
    	pr.Base = low
    	pr.Size = 1 + high - low
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 10 01:27:56 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  9. test/fixedbugs/issue64715.out

    65535...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 19:35:21 UTC 2023
    - 6 bytes
    - Viewed (0)
  10. pkg/registry/core/service/allocator/bitmap_test.go

    			allocator: NewAllocationMapWithOffset,
    			max:       1024,
    			reserved:  64,
    		},
    		{
    			name:      "NewAllocationMapWithOffset max value",
    			allocator: NewAllocationMapWithOffset,
    			max:       65535,
    			reserved:  256,
    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			m := tc.allocator(tc.max, "test", tc.reserved)
    
    			if _, ok, _ := m.AllocateNext(); !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 10 08:56:31 UTC 2022
    - 13.3K bytes
    - Viewed (0)
Back to top