Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for maxParts (0.14 sec)

  1. src/internal/trace/base.go

    	"internal/trace/event/go122"
    	"internal/trace/version"
    )
    
    // maxArgs is the maximum number of arguments for "plain" events,
    // i.e. anything that could reasonably be represented as a baseEvent.
    //
    // TODO(mknyszek): This is only 6 instead of 5 because GoStatusStack
    // has 5 arguments and needs to smuggle in a 6th. Figure out a way to
    // shrink this in the future.
    const maxArgs = 6
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. cmd/encryption-v1_test.go

    	}{
    		{0, mkSPObj(0)},
    		{1, mkSPObj(1)},
    		{pkgSz - 1, mkSPObj(pkgSz - 1)},
    		{pkgSz, mkSPObj(pkgSz)},
    		{2*pkgSz - 1, mkSPObj(2*pkgSz - 1)},
    		{minPartSz, mkSPObj(minPartSz)},
    		{maxPartSz, mkSPObj(maxPartSz)},
    	}
    
    	for i, test := range testSP {
    		{
    			// nil range
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(nil)
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  3. src/cmd/dist/util.go

    		}
    		*c = count(n)
    	}
    	return nil
    }
    
    func (c *count) IsBoolFlag() bool {
    	return true
    }
    
    func xflagparse(maxargs int) {
    	flag.Var((*count)(&vflag), "v", "verbosity")
    	flag.Parse()
    	if maxargs >= 0 && flag.NArg() > maxargs {
    		flag.Usage()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows.go

    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    // maxArgs should be divisible by 2, as Windows stack
    // must be kept 16-byte aligned on syscall entry.
    //
    // Although it only permits maximum 42 parameters, it
    // is arguably large enough.
    const maxArgs = 42
    
    //go:linkname syscall_SyscallN syscall.SyscallN
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pkg/apis/discovery/validation/validation_test.go

    			},
    		},
    		"max-ports": {
    			expectedErrors: 0,
    			endpointSlice: &discovery.EndpointSlice{
    				ObjectMeta:  standardMeta,
    				AddressType: discovery.AddressTypeIPv4,
    				Ports:       generatePorts(maxPorts),
    			},
    		},
    		"max-addresses": {
    			expectedErrors: 0,
    			endpointSlice: &discovery.EndpointSlice{
    				ObjectMeta:  standardMeta,
    				AddressType: discovery.AddressTypeIPv4,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

       * label internally). Thus, if all labels have the minimum size of one byte, 127 of them will fit.
       */
      private static final int MAX_PARTS = 127;
    
      /**
       * Maximum length of a full domain name, including separators, and leaving room for the root
       * label. See <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InternetDomainName.java

       * label internally). Thus, if all labels have the minimum size of one byte, 127 of them will fit.
       */
      private static final int MAX_PARTS = 127;
    
      /**
       * Maximum length of a full domain name, including separators, and leaving room for the root
       * label. See <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/liveness/plive.go

    					maxArgNode = n
    				}
    			}
    		}
    	}
    	// Next, find the offset of the largest pointer in the largest node.
    	var maxArgs int64
    	if maxArgNode != nil {
    		maxArgs = maxArgNode.FrameOffset() + types.PtrDataSize(maxArgNode.Type())
    	}
    
    	// Size locals bitmaps to be stkptrsize sized.
    	// We cannot shrink them to only hold the largest pointer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows_test.go

    		t.Skip("skipping test: gcc is missing")
    	}
    	if runtime.GOARCH != "amd64" {
    		t.Skipf("skipping test: GOARCH=%s", runtime.GOARCH)
    	}
    
    	for arglen := 0; arglen <= runtime.MaxArgs; arglen++ {
    		arglen := arglen
    		t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) {
    			t.Parallel()
    			args := make([]string, arglen)
    			rets := make([]string, arglen+1)
    			params := make([]uintptr, arglen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top