Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 247 for msglen (0.13 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/Util.h

    extern "C" {
    #endif
    
    #define CUNIT_MAX_ENTITY_LEN 5
    /**< Maximum number of characters in a translated xml entity. */
    
    CU_EXPORT size_t CU_translate_special_characters(const char *szSrc, char *szDest, size_t maxlen);
    /**< 
     *  Converts special characters in szSrc to xml entity codes and stores 
     *  result in szDest.  Currently conversion of '&', '<', and '>' is supported.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/internal/sys/args.go

    //
    // Windows has a limit of 32 KB. To be conservative and not worry about whether
    // that includes spaces or not, just use 30 KB. Darwin's limit is less clear.
    // The OS claims 256KB, but we've seen failures with arglen as small as 50KB.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 13:15:42 UTC 2021
    - 550 bytes
    - Viewed (0)
  3. src/internal/bytealg/index_arm64.go

    package bytealg
    
    // Empirical data shows that using Index can get better
    // performance when len(s) <= 16.
    const MaxBruteForce = 16
    
    func init() {
    	// Optimize cases where the length of the substring is less than 32 bytes
    	MaxLen = 32
    }
    
    // Cutover reports the number of failures of IndexByte we should tolerate
    // before switching over to Index.
    // n is the number of bytes processed so far.
    // See the bytes.Index implementation for details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 05:45:33 UTC 2019
    - 706 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go

    	d := `
    stuff: 1
    `
    	maxLen := 5 * 1024 * 1024
    	bufferLen := 4 * 1024
    	//  maxLen 5 M
    	dd := strings.Repeat(d, 512*1024)
    	r := NewDocumentDecoder(io.NopCloser(bytes.NewReader([]byte(dd[:maxLen-1]))))
    	b := make([]byte, bufferLen)
    	n, err := r.Read(b)
    	if err != io.ErrShortBuffer {
    		t.Fatalf("expected ErrShortBuffer: %d / %v", n, err)
    	}
    	b = make([]byte, maxLen)
    	n, err = r.Read(b)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. src/reflect/makefunc.go

    	// makeFuncImpl contains a stack map for use by the runtime
    	_, _, abid := funcLayout(ftyp, nil)
    
    	impl := &makeFuncImpl{
    		makeFuncCtxt: makeFuncCtxt{
    			fn:      code,
    			stack:   abid.stackPtrs,
    			argLen:  abid.stackCallArgsSize,
    			regPtrs: abid.inRegPtrs,
    		},
    		ftyp: ftyp,
    		fn:   fn,
    	}
    
    	return Value{t, unsafe.Pointer(impl), flag(Func)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/tracing_test.go

    		},
    	}
    	return t
    }
    
    func fakeTracingConfigNoProvider(randomSampling float64, maxLen uint32, tags []*tracing.CustomTag) *hcm.HttpConnectionManager_Tracing {
    	return fakeTracingConfig(nil, randomSampling, maxLen, tags)
    }
    
    func fakeTracingConfig(provider *tracingcfg.Tracing_Http, randomSampling float64, maxLen uint32, tags []*tracing.CustomTag) *hcm.HttpConnectionManager_Tracing {
    	t := &hcm.HttpConnectionManager_Tracing{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 20:47:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. src/runtime/syscall_windows_test.go

    		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)
    			for i := range args {
    				args[i] = fmt.Sprintf("int a%d", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  8. src/testing/benchmark.go

    // iterations of this benchmarks should be run.
    func (b *B) run1() bool {
    	if ctx := b.context; ctx != nil {
    		// Extend maxLen, if needed.
    		if n := len(b.name) + ctx.extLen + 1; n > ctx.maxLen {
    			ctx.maxLen = n + 8 // Add additional slack to avoid too many jumps in size.
    		}
    	}
    	go func() {
    		// Signal that we're done whether we return normally
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
    
            return Strings.fromOEMBytes(src, srcIndex, Strings.findTermination(src, srcIndex, maxLen), getConfig());
        }
    
    
        /**
         * 
         * @param src
         * @param srcIndex
         * @param srcEnd
         * @param maxLen
         * @param unicode
         * @return read string
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  10. src/go/ast/commentmap.go

    func summary(list []*CommentGroup) string {
    	const maxLen = 40
    	var buf bytes.Buffer
    
    	// collect comments text
    loop:
    	for _, group := range list {
    		// Note: CommentGroup.Text() does too much work for what we
    		//       need and would only replace this innermost loop.
    		//       Just do it explicitly.
    		for _, comment := range group.List {
    			if buf.Len() >= maxLen {
    				break loop
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top