Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for partlen (0.61 sec)

  1. src/net/dnsclient.go

    			}
    			partlen++
    			nonNumeric = true
    		case c == '.':
    			// Byte before dot cannot be dot, dash.
    			if last == '.' || last == '-' {
    				return false
    			}
    			if partlen > 63 || partlen == 0 {
    				return false
    			}
    			partlen = 0
    		}
    		last = c
    	}
    	if last == '-' || partlen > 63 {
    		return false
    	}
    
    	return nonNumeric
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/net/http/cookie.go

    				return false
    			}
    			partlen++
    		case c == '.':
    			// Byte before dot cannot be dot, dash.
    			if last == '.' || last == '-' {
    				return false
    			}
    			if partlen > 63 || partlen == 0 {
    				return false
    			}
    			partlen = 0
    		}
    		last = c
    	}
    	if last == '-' || partlen > 63 {
    		return false
    	}
    
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		var cp []CompletePart
    		cumulativeSum := int64(0)
    		for i, partLen := range partSizes {
    			partID := i + 1
    			partSrc := NewDummyDataGen(partLen, cumulativeSum)
    			cumulativeSum += partLen
    			req, errP := newTestSignedRequestV4(http.MethodPut,
    				getPutObjectPartURL("", bucketName, objectName, upID, fmt.Sprintf("%d", partID)),
    				partLen, partSrc, creds.AccessKey, creds.SecretKey, metadata)
    			if errP != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/syscall/fs_wasip1.go

    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    	errno := path_unlink_file(dirFd, pathPtr, pathLen)
    	return errnoErr(errno)
    }
    
    func Rmdir(path string) error {
    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    	errno := path_remove_directory(dirFd, pathPtr, pathLen)
    	return errnoErr(errno)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/opGen.go

    		argLen: 0,
    		reg:    regInfo{},
    	},
    	{
    		name:   "FlagGT_UGT",
    		argLen: 0,
    		reg:    regInfo{},
    	},
    	{
    		name:   "FlagGT_ULT",
    		argLen: 0,
    		reg:    regInfo{},
    	},
    	{
    		name:    "MOVSSconst1",
    		auxType: auxFloat32,
    		argLen:  0,
    		reg: regInfo{
    			outputs: []outputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    			},
    		},
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  6. src/crypto/sha1/sha1.go

    	tmp[0] = 0x80
    	var t uint64
    	if len%64 < 56 {
    		t = 56 - len%64
    	} else {
    		t = 64 + 56 - len%64
    	}
    
    	// Length in bits.
    	len <<= 3
    	padlen := tmp[:t+8]
    	byteorder.BePutUint64(padlen[t:], len)
    	d.Write(padlen)
    
    	if d.nx != 0 {
    		panic("d.nx != 0")
    	}
    
    	var digest [Size]byte
    
    	byteorder.BePutUint32(digest[0:], d.h[0])
    	byteorder.BePutUint32(digest[4:], d.h[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/net/http/clientserver_test.go

    	}
    	res.Body.Close()
    
    	wantFoo := "bar"
    	wantLen := int64(-1)
    	if method == "OPTIONS" {
    		wantFoo = ""
    		wantLen = 0
    	}
    	if res.StatusCode != 200 {
    		t.Errorf("status code = %v; want %d", res.Status, 200)
    	}
    	if res.ContentLength != wantLen {
    		t.Errorf("content length = %v; want %d", res.ContentLength, wantLen)
    	}
    	if got := res.Header.Get("foo"); got != wantFoo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_messages.go

    		if len(d) < 4 {
    			return false
    		}
    		certLen := uint32(d[0])<<16 | uint32(d[1])<<8 | uint32(d[2])
    		if uint32(len(d)) < 3+certLen {
    			return false
    		}
    		d = d[3+certLen:]
    		certsLen -= 3 + certLen
    		numCerts++
    	}
    
    	m.certificates = make([][]byte, numCerts)
    	d = data[7:]
    	for i := 0; i < numCerts; i++ {
    		certLen := uint32(d[0])<<16 | uint32(d[1])<<8 | uint32(d[2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    code, even though third parties are not compelled to copy the source
    along with the object code.
    
    4. You may not copy, modify, sublicense, or distribute the Program
    except as expressly provided under this License. Any attempt otherwise
    to copy, modify, sublicense or distribute the Program is void, and will
    automatically terminate your rights under this License. However, parties
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  10. internal/s3select/select.go

    	if s.Start == nil || s.End == nil {
    		return nil
    	}
    	if *s.Start > *s.End {
    		return errors.New("ScanRange: Start cannot be after end")
    	}
    	return nil
    }
    
    // StartLen returns start offset plus length from range.
    func (s *ScanRange) StartLen() (start, length int64, err error) {
    	if s == nil {
    		return 0, -1, nil
    	}
    	err = s.Validate()
    	if err != nil {
    		return 0, 0, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top