Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for Colon (0.14 sec)

  1. src/os/os_test.go

    	if err := WriteFile(filepath.Join(d, "control.txt"), []byte(string("Hello, world!")), 0644); err != nil {
    		t.Fatal(err)
    	}
    	if err := WriteFile(filepath.Join(d, `e:xperi\ment.txt`), []byte(string("Hello, colon and backslash!")), 0644); err != nil {
    		t.Fatal(err)
    	}
    
    	fsys := DirFS(d)
    	err := fs.WalkDir(fsys, ".", func(path string, e fs.DirEntry, err error) error {
    		if fs.ValidPath(e.Name()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		{"foo\x00bar: foo\r\n", 400},                         // binary in header
    		{"Foo: " + strings.Repeat("x", 1<<21) + "\r\n", 431}, // header too large
    		// Spaces between the header key and colon are not allowed.
    		// See RFC 7230, Section 3.2.4.
    		{"Foo : bar\r\n", 400},
    		{"Foo\t: bar\r\n", 400},
    
    		// Empty header keys are invalid.
    		// See RFC 7230, Section 3.2.
    		{": empty key\r\n", 400},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier_test.go

    	if rule1.Comment == nil || rule2.Comment == nil {
    		return false
    	}
    	name1, name2 := rule1.Comment.Value, rule2.Comment.Value
    
    	// The service name is the comment up to the first space or colon
    	i := strings.IndexAny(name1, " :")
    	if i != -1 {
    		name1 = name1[:i]
    	}
    	i = strings.IndexAny(name2, " :")
    	if i != -1 {
    		name2 = name2[:i]
    	}
    
    	return name1 < name2
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  4. src/net/http/h2_bundle.go

    	// valid, however.
    	Truncated bool
    }
    
    // PseudoValue returns the given pseudo header field's value.
    // The provided pseudo field should not contain the leading colon.
    func (mh *http2MetaHeadersFrame) PseudoValue(pseudo string) string {
    	for _, hf := range mh.Fields {
    		if !hf.IsPseudo() {
    			return ""
    		}
    		if hf.Name[1:] == pseudo {
    			return hf.Value
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top