Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for _Colon (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/cover/cover.go

    				for _, n := range n.List {
    					clause := n.(*ast.CaseClause)
    					f.addCounters(clause.Colon+1, clause.Colon+1, clause.End(), clause.Body, false)
    				}
    				return f
    			case *ast.CommClause: // select
    				for _, n := range n.List {
    					clause := n.(*ast.CommClause)
    					f.addCounters(clause.Colon+1, clause.Colon+1, clause.End(), clause.Body, false)
    				}
    				return f
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. src/net/netip/netip.go

    		s = s[off:]
    		if len(s) == 0 {
    			break
    		}
    
    		// Otherwise must be followed by colon and more.
    		if s[0] != ':' {
    			return Addr{}, parseAddrError{in: in, msg: "unexpected character, want colon", at: s}
    		} else if len(s) == 1 {
    			return Addr{}, parseAddrError{in: in, msg: "colon must be followed by more characters", at: s}
    		}
    		s = s[1:]
    
    		// Look for ellipsis.
    		if s[0] == ':' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    #### List
    
    For example, let's define a variable to be a `list` of `str`.
    
    === "Python 3.9+"
    
        Declare the variable, with the same colon (`:`) syntax.
    
        As the type, put `list`.
    
        As the list is a type that contains some internal types, you put them in square brackets:
    
        ```Python hl_lines="1"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

                // TODO (donat) verify reported problem details
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/24169")
        def "notation without colon does not suggest using .module"() {
            tomlFile << """[libraries]
    my-lib = "org.gradle.test"
    """
    
            when:
            fails ':help'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. pkg/volume/util/util_test.go

    			name:         "windows path no drive",
    		},
    		{
    			goos:         "windows",
    			path:         "\\:\\some\\path",
    			expectedPath: "\\:\\some\\path",
    			name:         "windows path with colon",
    		},
    	}
    	for _, test := range tests {
    		if runtime.GOOS == test.goos {
    			path := MakeAbsolutePath(test.goos, test.path)
    			if path != test.expectedPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/help/helpdoc.go

    	Long: `
    The Go path is used to resolve import statements.
    It is implemented by and documented in the go/build package.
    
    The GOPATH environment variable lists places to look for Go code.
    On Unix, the value is a colon-separated string.
    On Windows, the value is a semicolon-separated string.
    On Plan 9, the value is a list.
    
    If the environment variable is unset, GOPATH defaults
    to a subdirectory named "go" in the user's home directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top