Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for msglen (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/crypto/internal/boring/goboringcrypto.h

    int _goboringcrypto_RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len, const uint8_t *sig, size_t sig_len, GO_RSA*);
    int _goboringcrypto_RSA_verify_pss_mgf1(GO_RSA*, const uint8_t *msg, size_t msg_len, const GO_EVP_MD *md, const GO_EVP_MD *mgf1_md, int salt_len, const uint8_t *sig, size_t sig_len);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_MQ_SEND                = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); }
    	SYS_MQ_RECEIVE             = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); }
    	SYS_MQ_TIMEDSEND           = 518 // { int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  8. src/runtime/memmove_test.go

    	for _, t := range benchSizes {
    		total := 0
    		minLen := 0
    		maxLen := 0
    
    		for _, clrLen := range t.data {
    			maxLen = max(maxLen, clrLen)
    			if clrLen < minLen || minLen == 0 {
    				minLen = clrLen
    			}
    			total += clrLen
    		}
    		buffer := make([]byte, maxLen)
    
    		text := ""
    		if minLen >= (1 << 20) {
    			text = fmt.Sprint(minLen>>20, "M ", (maxLen+(1<<20-1))>>20, "M")
    		} else if minLen >= (1 << 10) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/runtime/heapdump.go

    		// conservative - everything might be a pointer
    		for off := child.argoff; off < child.argoff+child.arglen; off += goarch.PtrSize {
    			dumpint(fieldKindPtr)
    			dumpint(uint64(off))
    		}
    	}
    
    	// Dump fields in the local vars section
    	if stkmap == nil {
    		// No locals information, dump everything.
    		for off := child.arglen; off < s.varp-s.sp; off += goarch.PtrSize {
    			dumpint(fieldKindPtr)
    			dumpint(uint64(off))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go

    	{"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
    	{"net.inet.ip.ifq.drops", []_C_int{4, 2, 0, 30, 3}},
    	{"net.inet.ip.ifq.len", []_C_int{4, 2, 0, 30, 1}},
    	{"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
    	{"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
    	{"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
    	{"net.inet.ip.mrtmfc", []_C_int{4, 2, 0, 37}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top