Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Colon (0.05 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/net/url/url.go

    func splitHostPort(hostPort string) (host, port string) {
    	host = hostPort
    
    	colon := strings.LastIndexByte(host, ':')
    	if colon != -1 && validOptionalPort(host[colon:]) {
    		host, port = host[:colon], host[colon+1:]
    	}
    
    	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
    		host = host[1 : len(host)-1]
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  4. src/net/textproto/reader.go

    	}
    
    	for {
    		kv, err := r.readContinuedLineSlice(maxMemory, mustHaveFieldNameColon)
    		if len(kv) == 0 {
    			return m, err
    		}
    
    		// Key ends at first colon.
    		k, v, ok := bytes.Cut(kv, colon)
    		if !ok {
    			return m, ProtocolError("malformed MIME header line: " + string(kv))
    		}
    		key, ok := canonicalMIMEHeaderKey(k)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/TreeFormatter.java

        private enum State {
            CollectValue, TraverseChildren, Done
        }
    
        private enum Separator {
            NewLine(true, TextUtil.getPlatformLineSeparator()),
            Empty(false, " "),
            Colon(false, ": "),
            ColonNewLine(true, ":" + TextUtil.getPlatformLineSeparator());
    
            Separator(boolean newLine, String text) {
                this.newLine = newLine;
                this.text = text;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

    import org.jetbrains.kotlin.lexer.KtSingleValueToken
    import org.jetbrains.kotlin.lexer.KtTokens.ARROW
    import org.jetbrains.kotlin.lexer.KtTokens.CLOSING_QUOTE
    import org.jetbrains.kotlin.lexer.KtTokens.COLON
    import org.jetbrains.kotlin.lexer.KtTokens.COMMA
    import org.jetbrains.kotlin.lexer.KtTokens.DOT
    import org.jetbrains.kotlin.lexer.KtTokens.EQ
    import org.jetbrains.kotlin.lexer.KtTokens.IDENTIFIER
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top