Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for partlen (0.13 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. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    	validMiddle := []charRange{{'0', '9'}, {'a', 'z'}, {'A', 'Z'},
    		{'.', '.'}, {'-', '-'}, {'_', '_'}}
    
    	partLen := c.Rand.Intn(64) // len is [0, 63]
    	if !canBeEmpty {
    		partLen = c.Rand.Intn(63) + 1 // len is [1, 63]
    	}
    
    	runes := make([]rune, partLen)
    	if partLen == 0 {
    		return string(runes)
    	}
    
    	runes[0] = validStartEnd[c.Rand.Intn(len(validStartEnd))].choose(c.Rand)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/MD4.java

            count += len;                                        // update number of bytes
            int partLen = BLOCK_LENGTH - bufferNdx;
            int i = 0;
            if (len >= partLen) {
                System.arraycopy(input, offset, buffer, bufferNdx, partLen);
    
    
                transform(buffer, 0);
    
                for (i = partLen; i + BLOCK_LENGTH - 1 < len; i+= BLOCK_LENGTH)
                    transform(input, offset + i);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  5. 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)
  6. pkg/test/framework/components/echo/portgen.go

    Nathan Mittler <******@****.***> 1646353444 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 04 00:24:04 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Parentdev    uint32
    	Rootino      uint32
    	Status       byte
    	Ddname       [9]byte
    	Fstname      [9]byte
    	Fsname       [45]byte
    	Pathlen      uint32
    	Mountpoint   [1024]byte
    	Jobname      [8]byte
    	PID          int32
    	Parmoffset   int32
    	Parmlen      int16
    	Owner        [8]byte
    	Quiesceowner [8]byte
    	_            [38]byte
    }
    
    type EpollEvent struct {
    	Events uint32
    	_      int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. 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)
  9. internal/crypto/key_test.go

    		expectedPartKey, err := hex.DecodeString(test.PartKey)
    		if err != nil {
    			t.Fatalf("Test %d failed to decode expected part-key: %v", i, err)
    		}
    		partKey := key.DerivePartKey(test.PartID)
    		if !bytes.Equal(partKey[:], expectedPartKey) {
    			t.Errorf("Test %d derives wrong part-key: got '%s' want: '%s'", i, hex.EncodeToString(partKey[:]), test.PartKey)
    		}
    	}
    }
    
    var sealUnsealETagTests = []string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. 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)
Back to top