Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 140 for Colon (0.1 sec)

  1. guava/src/com/google/common/net/HostAndPort.java

          portString = hostAndPort[1];
        } else {
          int colonPos = hostPortString.indexOf(':');
          if (colonPos >= 0 && hostPortString.indexOf(':', colonPos + 1) == -1) {
            // Exactly 1 colon. Split into host:port.
            host = hostPortString.substring(0, colonPos);
            portString = hostPortString.substring(colonPos + 1);
          } else {
            // 0 or 2+ colons. Bare hostname or IPv6 literal.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/pathelement_test.go

    	_, err := NewPathElement("r:Hello")
    	if err != nil {
    		t.Fatalf("Unknown qualifiers should be ignored")
    	}
    }
    
    func TestNewPathElementError(t *testing.T) {
    	tests := []string{
    		``,
    		`no-colon`,
    		`i:index is not a number`,
    		`i:1.23`,
    		`i:`,
    		`v:invalid json`,
    		`v:`,
    		`k:invalid json`,
    		`k:{"name":invalid}`,
    	}
    
    	for _, test := range tests {
    		t.Run(test, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	case *ast.InterfaceType:
    		children = append(children,
    			tok(n.Interface, len("interface")))
    
    	case *ast.KeyValueExpr:
    		children = append(children,
    			tok(n.Colon, len(":")))
    
    	case *ast.LabeledStmt:
    		children = append(children,
    			tok(n.Colon, len(":")))
    
    	case *ast.MapType:
    		children = append(children,
    			tok(n.Map, len("map")))
    
    	case *ast.ParenExpr:
    		children = append(children,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K 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. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    		},
    		{
    			name:             "parse invalid ipv6",
    			expr:             `ip("2001:db8:::68")`,
    			expectRuntimeErr: "IP Address \"2001:db8:::68\" parse error during conversion from string: ParseAddr(\"2001:db8:::68\"): each colon-separated field must have at least one digit (at \":68\")",
    		},
    		{
    			name:         "isIP valid ipv6",
    			expr:         `isIP("2001:db8::68")`,
    			expectResult: trueVal,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/net/textproto/reader_test.go

    func TestReadMIMEHeaderMalformed(t *testing.T) {
    	inputs := []string{
    		"No colon first line\r\nFoo: foo\r\n\r\n",
    		" No colon first line with leading space\r\nFoo: foo\r\n\r\n",
    		"\tNo colon first line with leading tab\r\nFoo: foo\r\n\r\n",
    		" First: line with leading space\r\nFoo: foo\r\n\r\n",
    		"\tFirst: line with leading tab\r\nFoo: foo\r\n\r\n",
    		"Foo: foo\r\nNo colon second line\r\n\r\n",
    		"Foo-\n\tBar: foo\r\n\r\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/crypto/x509/root_unix.go

    	certFileEnv = "SSL_CERT_FILE"
    
    	// certDirEnv is the environment variable which identifies which directory
    	// to check for SSL certificate files. If set this overrides the system default.
    	// It is a colon separated list of directories.
    	// See https://www.openssl.org/docs/man1.0.2/man1/c_rehash.html.
    	certDirEnv = "SSL_CERT_DIR"
    )
    
    func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:07 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/nodes.go

    		X   Expr // range X
    		simpleStmt
    	}
    
    	CaseClause struct {
    		Cases Expr // nil means default clause
    		Body  []Stmt
    		Colon Pos
    		node
    	}
    
    	CommClause struct {
    		Comm  SimpleStmt // send or receive stmt; nil means default clause
    		Body  []Stmt
    		Colon Pos
    		node
    	}
    )
    
    type stmt struct{ node }
    
    func (stmt) aStmt() {}
    
    type simpleStmt struct {
    	stmt
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/ModuleForcingResolveRuleSpec.groovy

            when:
            new ModuleForcingResolveRule([
                newSelector(mid("org", "module1"), "1.0"),
                newSelector(mid("org", "module2"), "2.0"),
                //exotic module with colon in the name
                newSelector(mid("org", "module:with:colon"), "3.0"),
                newSelector(mid("org:with:colon", "module2"), "4.0")
            ]).execute(details)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. docs/multi-user/README.md

    and in string comparisons in the *Condition* element.
    
    You can use a policy variable in the Resource element, but only in the resource portion of the ARN. This portion of the ARN appears after the 5th colon (:). You can't use a variable to replace parts of the ARN before the 5th colon, such as the service or account. The following policy might be attached to a group. It gives each of the users in the group full programmatic access to a user-specific object (their own "home directory") in MinIO....
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top