Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 840 for TT (0.03 sec)

  1. src/net/netip/uint128_test.go

    		{uint128{1, 1}, sub1, uint128{1, 0}},
    	}
    	for _, tt := range tests {
    		var got uint128
    		switch tt.op {
    		case add1:
    			got = tt.in.addOne()
    		case sub1:
    			got = tt.in.subOne()
    		default:
    			panic("bogus op")
    		}
    		if got != tt.want {
    			t.Errorf("%v add %d = %v; want %v", tt.in, tt.op, got, tt.want)
    		}
    	}
    }
    
    func TestBitsSetFrom(t *testing.T) {
    	tests := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 01:28:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. src/internal/poll/fd_posix_test.go

    	{0, ErrNetClosing, &FD{ZeroReadIsEOF: false}, ErrNetClosing},
    }
    
    func TestEOFError(t *testing.T) {
    	for _, tt := range eofErrorTests {
    		actual := tt.fd.EOFError(tt.n, tt.err)
    		if actual != tt.expected {
    			t.Errorf("eofError(%v, %v, %v): expected %v, actual %v", tt.n, tt.err, tt.fd.ZeroReadIsEOF, tt.expected, actual)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ACE.java

     * of <tt>0x001200A9</tt> which doesn't have the
     * <tt>FILE_WRITE_DATA</tt> bit on (bit <tt>0x00000002</tt>). Actually, this isn't quite correct. If
     * <tt>WNET\alice</tt> is in the local <tt>Administrators</tt> group the access check
     * will succeed because the inherited ACE allows local <tt>Administrators</tt>
     * both <tt>FILE_READ_DATA</tt> and <tt>FILE_WRITE_DATA</tt> access.
     */
    public interface ACE {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/query_test.go

    			t.Parallel()
    
    			info, err := Query(ctx, tt.path, tt.query, tt.current, allowed)
    			if tt.err != "" {
    				if err == nil {
    					t.Errorf("Query(_, %q, %q, %q, %v) = %v, want error %q", tt.path, tt.query, tt.current, allow, info.Version, tt.err)
    				} else if err.Error() != tt.err {
    					t.Errorf("Query(_, %q, %q, %q, %v): %v\nwant error %q", tt.path, tt.query, tt.current, allow, err, tt.err)
    				}
    				return
    			}
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/crypto/internal/alias/alias_test.go

    		t.Errorf("%d: wrong InexactOverlap result, expected %v, got %v", i, inexactOverlap, any)
    	}
    }
    
    func TestAliasing(t *testing.T) {
    	for i, tt := range aliasingTests {
    		testAliasing(t, i, tt.x, tt.y, tt.anyOverlap, tt.inexactOverlap)
    		testAliasing(t, i, tt.y, tt.x, tt.anyOverlap, tt.inexactOverlap)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 18:46:05 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. src/os/error_test.go

    }
    
    func TestIsExist(t *testing.T) {
    	for _, tt := range isExistTests {
    		if is := os.IsExist(tt.err); is != tt.is {
    			t.Errorf("os.IsExist(%T %v) = %v, want %v", tt.err, tt.err, is, tt.is)
    		}
    		if is := errors.Is(tt.err, fs.ErrExist); is != tt.is {
    			t.Errorf("errors.Is(%T %v, fs.ErrExist) = %v, want %v", tt.err, tt.err, is, tt.is)
    		}
    		if isnot := os.IsNotExist(tt.err); isnot != tt.isnot {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 00:41:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. src/runtime/minmax_test.go

    	return x == y && math.Signbit(x) == math.Signbit(y)
    }
    
    func TestMinFloat(t *testing.T) {
    	for _, tt := range tests {
    		if z := min(tt.min, tt.max); !eq(z, tt.min) {
    			t.Errorf("min(%v, %v) = %v, want %v", tt.min, tt.max, z, tt.min)
    		}
    		if z := min(tt.max, tt.min); !eq(z, tt.min) {
    			t.Errorf("min(%v, %v) = %v, want %v", tt.max, tt.min, z, tt.min)
    		}
    	}
    	for _, x := range all {
    		if z := min(nan, x); !math.IsNaN(z) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 01:41:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. logger/sql_test.go

    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. internal/config/storageclass/storage-class_test.go

    		},
    	}
    	for i, tt := range tests {
    		gotSc, err := parseStorageClass(tt.storageClassEnv)
    		if err != nil && tt.expectedError == nil {
    			t.Errorf("Test %d, Expected %s, got %s", i+1, tt.expectedError, err)
    			return
    		}
    		if err == nil && tt.expectedError != nil {
    			t.Errorf("Test %d, Expected %s, got %s", i+1, tt.expectedError, err)
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. cni/pkg/repair/repair_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			mt := monitortest.New(t)
    			tt.config.LabelPods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    			tt.client.RunAndWait(stop)
    			go c.Run(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top