Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Colon (0.04 sec)

  1. src/net/ipsock.go

    		case len(hostport):
    			// There can't be a ':' behind the ']' now.
    			return addrErr(hostport, missingPort)
    		case i:
    			// The expected result.
    		default:
    			// Either ']' isn't followed by a colon, or it is
    			// followed by a colon that is not the last one.
    			if hostport[end+1] == ':' {
    				return addrErr(hostport, tooManyColons)
    			}
    			return addrErr(hostport, missingPort)
    		}
    		host = hostport[1:end]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/encoding/pem/pem.go

    			continue
    		}
    		result[n] = b
    		n++
    	}
    
    	return result[0:n]
    }
    
    var pemStart = []byte("\n-----BEGIN ")
    var pemEnd = []byte("\n-----END ")
    var pemEndOfLine = []byte("-----")
    var colon = []byte(":")
    
    // Decode will find the next PEM formatted block (certificate, private key
    // etc) in the input. It returns that block and the remainder of the input. If
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/os/user/lookup.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package user
    
    import "sync"
    
    const (
    	userFile  = "/etc/passwd"
    	groupFile = "/etc/group"
    )
    
    var colon = []byte{':'}
    
    // Current returns the current user.
    //
    // The first call will cache the current user information.
    // Subsequent calls will return the cached value and will not reflect
    // changes to the current user.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/positions.go

    		case *RangeClause:
    			m = n.X
    		case *CaseClause:
    			if l := lastStmt(n.Body); l != nil {
    				m = l
    				continue
    			}
    			return n.Colon
    		case *CommClause:
    			if l := lastStmt(n.Body); l != nil {
    				m = l
    				continue
    			}
    			return n.Colon
    
    		default:
    			return n.Pos()
    		}
    	}
    }
    
    func lastDecl(list []Decl) Decl {
    	if l := len(list); l > 0 {
    		return list[l-1]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/path/filepath/path_windows.go

    			// (a Root Local Device path).
    			if b.Len() == 1 && strings.HasPrefix(e, "??") && (len(e) == len("??") || os.IsPathSeparator(e[2])) {
    				b.WriteString(`.\`)
    			}
    		case lastChar == ':':
    			// If the path ends in a colon, keep the path relative to the current directory
    			// on a drive and don't add a separator. Preserve leading slashes in the next
    			// path element, which may make the path absolute.
    			//
    			// 	Join(`C:`, `f`) = `C:f`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/server-workers.md

        * You can imagine that `main:app` is equivalent to a Python `import` statement like:
    
            ```Python
            from main import app
            ```
    
        * So, the colon in `main:app` would be equivalent to the Python `import` part in `from main import app`.
    
    * `--workers`: The number of worker processes to use, each will run a Uvicorn worker, in this case, 4 workers.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/internal/filepathlite/path_windows.go

    		// Path rooted in the current drive.
    		return false
    	}
    	if stringslite.IndexByte(path, ':') >= 0 {
    		// Colons are only valid when marking a drive letter ("C:foo").
    		// Rejecting any path with a colon is conservative but safe.
    		return false
    	}
    	hasDots := false // contains . or .. path elements
    	for p := path; p != ""; {
    		var part string
    		part, p, _ = cutPath(p)
    		if part == "." || part == ".." {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/net/netip/slow_test.go

    	}
    
    	return AddrFrom16(ret).WithZone(zone), nil
    }
    
    // normalizeIPv6Slow expands s, which is assumed to be an IPv6
    // address, to its canonical text form.
    //
    // The canonical form of an IPv6 address is 8 colon-separated fields,
    // where each field should be a hex value from 0 to ffff. This
    // function does not verify the contents of each field.
    //
    // This function performs two transformations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top