Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for reqLen (0.15 sec)

  1. src/net/resolverdialfunc_test.go

    	if len(packet) < 2 {
    		return 0, fmt.Errorf("short write of %d bytes; want 2+", len(packet))
    	}
    	reqLen := int(packet[0])<<8 | int(packet[1])
    	req := packet[2:]
    	if len(req) != reqLen {
    		return 0, fmt.Errorf("packet declared length %d doesn't match body length %d", reqLen, len(req))
    	}
    
    	var parser dnsmessage.Parser
    	h, err := parser.Start(req)
    	if err != nil {
    		// TODO: hook
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    func (l *Loader) growAttrBitmaps(reqLen int) {
    	if reqLen > l.attrReachable.Len() {
    		// These are indexed by global symbol
    		l.attrReachable = growBitmap(reqLen, l.attrReachable)
    		l.attrOnList = growBitmap(reqLen, l.attrOnList)
    		l.attrLocal = growBitmap(reqLen, l.attrLocal)
    		l.attrNotInSymbolTable = growBitmap(reqLen, l.attrNotInSymbolTable)
    		l.attrUsedInIface = growBitmap(reqLen, l.attrUsedInIface)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                int reqLen = negotiateWrite(smb2neg, first != null);
                boolean doPreauth = getContext().getConfig().getMaximumVersion().atLeast(DialectVersion.SMB311);
                if ( doPreauth ) {
                    negoReqBuffer = new byte[reqLen];
                    System.arraycopy(this.sbuf, 4, negoReqBuffer, 0, reqLen);
                }
    
                negotiatePeek();
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  4. src/net/http/httputil/reverseproxy_test.go

    	for i := 0; i < 2; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			for j := 0; j < 10; j++ {
    				const reqLen = 6 * 1024 * 1024
    				req, _ := http.NewRequest("POST", frontend.URL, &io.LimitedReader{R: neverEnding('x'), N: reqLen})
    				req.ContentLength = reqLen
    				resp, _ := frontendClient.Transport.RoundTrip(req)
    				if resp != nil {
    					io.Copy(io.Discard, resp.Body)
    					resp.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    	var wg sync.WaitGroup
    	for i := 0; i < 2; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			for j := 0; j < 10; j++ {
    				const reqLen = 6 * 1024 * 1024
    				req, _ := NewRequest("POST", ts.URL, &io.LimitedReader{R: neverEnding('x'), N: reqLen})
    				req.ContentLength = reqLen
    				resp, _ := ts.Client().Transport.RoundTrip(req)
    				if resp != nil {
    					resp.Body.Close()
    				}
    			}
    		}()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    			Parts:             []string{"goodrscs", "eman"},
    		},
    		User: ui,
    	}
    	reqN := RequestDigest{
    		RequestInfo: &request.RequestInfo{
    			IsResourceRequest: false,
    			Path:              "/openapi/v2",
    			Verb:              "goodverb",
    		},
    		User: ui,
    	}
    	checkRules(t, true, reqRN, []flowcontrol.PolicyRulesWithSubjects{{
    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. tools/certs/common.mk

    	@echo "x509_extensions = req_ext" >> $@
    	@echo "distinguished_name = req_dn" >> $@
    	@echo "[ req_ext ]" >> $@
    	@echo "subjectKeyIdentifier = hash" >> $@
    	@echo "basicConstraints = critical, CA:true" >> $@
    	@echo "keyUsage = critical, digitalSignature, nonRepudiation, keyEncipherment, keyCertSign" >> $@
    	@echo "[ req_dn ]" >> $@
    	@echo "O = $(ROOTCA_ORG)" >> $@
    	@echo "CN = $(ROOTCA_CN)" >> $@
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 20 08:51:56 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/syscall/dirent.go

    	origlen := len(buf)
    	count = 0
    	for max != 0 && len(buf) > 0 {
    		reclen, ok := direntReclen(buf)
    		if !ok || reclen > uint64(len(buf)) {
    			return origlen, count, names
    		}
    		rec := buf[:reclen]
    		buf = buf[reclen:]
    		ino, ok := direntIno(rec)
    		if !ok {
    			break
    		}
    		// See src/os/dir_unix.go for the reason why this condition is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/dirent.go

    	origlen := len(buf)
    	count = 0
    	for max != 0 && len(buf) > 0 {
    		reclen, ok := direntReclen(buf)
    		if !ok || reclen > uint64(len(buf)) {
    			return origlen, count, names
    		}
    		rec := buf[:reclen]
    		buf = buf[reclen:]
    		ino, ok := direntIno(rec)
    		if !ok {
    			break
    		}
    		if ino == 0 { // File absent in directory.
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/syscall/syscall_darwin.go

    		e := readdir_r(d, &entry, &entryp)
    		if e != 0 {
    			return n, errnoErr(e)
    		}
    		if entryp == nil {
    			break
    		}
    		if skip > 0 {
    			skip--
    			cnt++
    			continue
    		}
    		reclen := int(entry.Reclen)
    		if reclen > len(buf) {
    			// Not enough room. Return for now.
    			// The counter will let us know where we should start up again.
    			// Note: this strategy for suspending in the middle and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top