Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for COM1 (0.03 sec)

  1. src/internal/poll/fd_windows_test.go

    		t.Fatal(err)
    	}
    	defer f.Close()
    
    	err = checkFileIsNotPartOfNetpoll(f)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestSerialFdsAreInitialised(t *testing.T) {
    	for _, name := range []string{"COM1", "COM2", "COM3", "COM4"} {
    		t.Run(name, func(t *testing.T) {
    			h, err := syscall.CreateFile(syscall.StringToUTF16Ptr(name),
    				syscall.GENERIC_READ|syscall.GENERIC_WRITE,
    				0,
    				nil,
    				syscall.OPEN_EXISTING,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 08:33:36 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/path/filepath/path_windows_test.go

    		path string
    		want string
    	}{
    		{`C:\foo`, `C:\foo`},
    		{`\\host\share\foo`, `\\host\share\foo`},
    		{`\\host`, `\\host`},
    		{`\\.\NUL`, `\\.\NUL`},
    		{`NUL`, `\\.\NUL`},
    		{`COM1`, `\\.\COM1`},
    		{`a/NUL`, `\\.\NUL`},
    	} {
    		got, err := filepath.Abs(test.path)
    		if err != nil || got != test.want {
    			t.Errorf("Abs(%q) = %q, %v; want %q, nil", test.path, got, err, test.want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/module/module.go

    // It must not end with a dot (U+002E), nor contain two dots in a row.
    //
    // The element prefix up to the first dot must not be a reserved file name
    // on Windows, regardless of case (CON, com1, NuL, and so on). The element
    // must not have a suffix of a tilde followed by one or more ASCII digits
    // (to exclude paths elements that look like Windows short-names).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. src/path/filepath/path_test.go

    	{"a/nul:", false},
    	{"a/nul : a", false},
    	{"com0", true},
    	{"com1", false},
    	{"com2", false},
    	{"com3", false},
    	{"com4", false},
    	{"com5", false},
    	{"com6", false},
    	{"com7", false},
    	{"com8", false},
    	{"com9", false},
    	{"com¹", false},
    	{"com²", false},
    	{"com³", false},
    	{"com¹ : a", false},
    	{"cOm1", false},
    	{"lpt1", false},
    	{"LPT1", false},
    	{"lpt³", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top