Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for cOm1 (0.05 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)
  5. pkg/kube/watcher/configmapwatcher/configmapwatcher_test.go

    	cm := makeConfigMap(configMapName, "1")
    	cm1 := makeConfigMap(configMapName, "2")
    	cm2 := makeConfigMap("not-watched", "1")
    	steps := []struct {
    		added        *v1.ConfigMap
    		updated      *v1.ConfigMap
    		deleted      *v1.ConfigMap
    		expectCalled bool
    		expectCM     *v1.ConfigMap
    	}{
    		{added: cm2},
    		{added: cm, expectCalled: true, expectCM: cm},
    		{updated: cm},
    		{updated: cm1, expectCalled: true, expectCM: cm1},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. test/const.go

    	assert(chuge_1+1 == chuge, "chuge 1")
    	assert(chuge+cm1+1 == chuge, "cm1")
    	assert(c3div2 == 1, "3/2")
    	assert(c1e3 == 1000, "c1e3 int")
    	assert(c1e3 == 1e3, "c1e3 float")
    	assert(rsh1 == 0, "rsh1")
    	assert(rsh2 == 9, "rsh2")
    
    	// verify that all (in range) are assignable as ints
    	var i int
    	i = c0
    	assert(i == c0, "i == c0")
    	i = cm1
    	assert(i == cm1, "i == cm1")
    	i = c1
    	assert(i == c1, "i == c1")
    	i = c3div2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 26 23:54:29 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  7. plugin/pkg/auth/authorizer/node/graph_test.go

    				},
    			},
    		}
    		g.AddPod(pod)
    		if ok, err := a.hasPathFrom(nodeName, configMapVertexType, "ns", "cm1"); err != nil || !ok {
    			t.Errorf("expected path from %s to cm1, got %v, %v", nodeName, ok, err)
    		}
    	}
    
    	toString := func(id int) string {
    		for _, namespaceName := range g.vertices {
    			for _, nameVertex := range namespaceName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
Back to top