Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 495 for reclen (0.41 sec)

  1. src/mime/encodedword.go

    		// Multi-byte characters must not be split across encoded-words.
    		// See RFC 2047, section 5.3.
    		var encLen int
    		if b >= ' ' && b <= '~' && b != '=' && b != '?' && b != '_' {
    			runeLen, encLen = 1, 1
    		} else {
    			_, runeLen = utf8.DecodeRuneInString(s[i:])
    			encLen = 3 * runeLen
    		}
    
    		if currentLen+encLen > maxContentLen {
    			e.splitWord(buf, charset)
    			currentLen = 0
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/getentropy_netbsd.go

    		uintptr(len(mib)),
    		uintptr(unsafe.Pointer(&p[0])), // olddata
    		uintptr(unsafe.Pointer(&n)),    // &oldlen
    		uintptr(unsafe.Pointer(nil)),   // newdata
    		0)                              // newlen
    	if errno != 0 {
    		return syscall.Errno(errno)
    	}
    	if n != uintptr(len(p)) {
    		return syscall.EINVAL
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 19:42:54 UTC 2023
    - 779 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/noder/codes.go

    type codeDecl int
    
    func (c codeDecl) Marker() pkgbits.SyncMarker { return pkgbits.SyncDecl }
    func (c codeDecl) Value() int                 { return int(c) }
    
    const (
    	declEnd codeDecl = iota
    	declFunc
    	declMethod
    	declVar
    	declOther
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 20:07:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/encoding/csv/reader.go

    		preIdx = idx
    	}
    
    	// Check or update the expected fields per record.
    	if r.FieldsPerRecord > 0 {
    		if len(dst) != r.FieldsPerRecord && err == nil {
    			err = &ParseError{
    				StartLine: recLine,
    				Line:      recLine,
    				Column:    1,
    				Err:       ErrFieldCount,
    			}
    		}
    	} else if r.FieldsPerRecord == 0 {
    		r.FieldsPerRecord = len(dst)
    	}
    	return dst, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/versions.md

    After you have tests, then you can upgrade the **FastAPI** version to a more recent one, and make sure that all your code is working correctly by running your tests.
    
    If everything is working, or after you make the necessary changes, and all your tests are passing, then you can pin your `fastapi` to that new recent version.
    
    ## About Starlette
    
    You shouldn't pin the version of `starlette`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Nov 05 20:50:37 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  6. src/runtime/proflabel.go

    	// setProfLabel operations, not just the most recent one. This
    	// is important because profBuf.read will observe different
    	// labels set by different setProfLabel operations on
    	// different goroutines, so it needs to synchronize with all
    	// of them (this wouldn't be an issue if we could synchronize
    	// on &getg().labels since we would synchronize with each
    	// most-recent labels write separately.)
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. pilot/pkg/config/monitor/monitor.go

    		cpy := config.DeepCopy()
    		copyConfigs = append(copyConfigs, &cpy)
    	}
    
    	// Compare the new list to the previous one and detect changes.
    	oldLen := len(m.configs)
    	newLen := len(newConfigs)
    	oldIndex, newIndex := 0, 0
    	for oldIndex < oldLen && newIndex < newLen {
    		oldConfig := m.configs[oldIndex]
    		newConfig := newConfigs[newIndex]
    		if v := compareIDs(oldConfig, newConfig); v < 0 {
    			m.deleteConfig(oldConfig)
    			oldIndex++
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistry.java

    import java.util.Map;
    import java.util.Optional;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    /**
     * Reuses the services for the most recent Gradle user home dir. Could instead cache several most recent and clean these up on memory pressure, however in practise there is only a single user home dir associated with a given build process.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go

    // sysctl without depending on x/sys/unix.
    
    const (
    	_CTL_QUERY = -2
    
    	_SYSCTL_VERS_1 = 0x1000000
    )
    
    var _zero uintptr
    
    func sysctl(mib []int32, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
    	var _p0 unsafe.Pointer
    	if len(mib) > 0 {
    		_p0 = unsafe.Pointer(&mib[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	_, _, errno := syscall.Syscall6(
    		syscall.SYS___SYSCTL,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  10. src/strings/replace.go

    	// Iterate down the trie to the end, and grab the value and keylen with
    	// the highest priority.
    	bestPriority := 0
    	node := &r.root
    	n := 0
    	for node != nil {
    		if node.priority > bestPriority && !(ignoreRoot && node == &r.root) {
    			bestPriority = node.priority
    			val = node.value
    			keylen = n
    			found = true
    		}
    
    		if s == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top