Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 840 for TT (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <tt>getType()</tt>, <tt>getDomainName()</tt>, <tt>getAccountName()</tt>,
     * or <tt>toString()</tt> is called, the names will attempt to be
     * resolved. If the names cannot be resolved (e.g. due to temporary
     * network failure), the said methods will return default values (usually
     * <tt>S-X-Y-Z</tt> strings of fragments of).
     * <p>
     * Alternatively <tt>getSecurity(true)</tt> may be used to resolve all
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  2. pilot/pkg/status/distribution/state_test.go

    					},
    				},
    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got, got1 := ReconcileStatuses(tt.args.current.Status.(*v1alpha1.IstioStatus), tt.args.desired)
    			if got != tt.want {
    				t.Errorf("ReconcileStatuses() got = %v, want %v", got, tt.want)
    			}
    			if tt.want1 != nil {
    				for i := range tt.want1.Conditions {
    					if got1 != nil && i < len(got1.Conditions) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 22 22:47:47 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/gover/gover_test.go

    		}
    	}
    }
    
    func test3[In1, In2, In3, Out any](t *testing.T, tests []testCase3[In1, In2, In3, Out], name string, f func(In1, In2, In3) Out) {
    	t.Helper()
    	for _, tt := range tests {
    		if out := f(tt.in1, tt.in2, tt.in3); !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("%s(%+v, %+v, %+v) = %+v, want %+v", name, tt.in1, tt.in2, tt.in3, out, tt.out)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. internal/rest/client_test.go

    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Wrap error
    			n := &NetworkError{
    				Err: tt.err,
    			}
    			//nolint:gocritic
    			if tt.target == nil {
    				var netErrInterface net.Error
    				if errors.As(n, &netErrInterface) != tt.want {
    					t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want)
    				}
    			} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. pkg/istio-agent/health/health_probers_test.go

    			if got != tt.expectedProbeResult || (err == nil && tt.expectedError != nil) || (err != nil && tt.expectedError == nil) {
    				t.Errorf("%s: got: %v, expected: %v, got error: %v, expected error %v", tt.desc, got, tt.expectedProbeResult, err, tt.expectedError)
    			}
    		})
    	}
    }
    
    func TestTcpProber(t *testing.T) {
    	tests := []struct {
    		desc                string
    		expectedProbeResult ProbeResult
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    		{"/foo", "/foo", "/foo/foo"},
    		{"/foo/", "/foo/", "/foo/foo/"},
    	}
    	for _, tt := range tests {
    		name := fmt.Sprintf("%q+%q=%q", tt.a, tt.b, tt.want)
    		t.Run(name, func(t *testing.T) {
    			if got := JoinPreservingTrailingSlash(tt.a, tt.b); got != tt.want {
    				t.Errorf("JoinPreservingTrailingSlash() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestAllowsHTTP2(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  7. operator/pkg/controlplane/control_plane_test.go

    							},
    						},
    					},
    				},
    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			gotOperator, err := NewIstioControlPlane(tt.inInstallSpec, tt.inTranslator, nil, nil)
    			if ((err != nil && tt.wantErr == nil) || (err == nil && tt.wantErr != nil)) || !gotOperator.componentsEqual(tt.wantIstioOperator.components) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 04 02:36:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. src/cmd/distpack/archive_test.go

    	{"go/pkg/tool/*/compile", "go/pkg/tool/darwin_amd64/compile", true},
    }
    
    func TestAmatch(t *testing.T) {
    	for _, tt := range amatchTests {
    		ok, err := amatch(tt.pattern, tt.name)
    		if ok != tt.ok || err != nil {
    			t.Errorf("amatch(%q, %q) = %v, %v, want %v, nil", tt.pattern, tt.name, ok, err, tt.ok)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 21:29:13 UTC 2023
    - 938 bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/envoyfilter/rc_patch_test.go

    			},
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			savedSharedVHost := proto.Clone(tt.args.sharedRoutesVHost).(*route.VirtualHost)
    			patchHTTPRoute(tt.args.patchContext, tt.args.patches, tt.args.routeConfiguration,
    				tt.args.virtualHost, tt.args.routeIndex, tt.args.routesRemoved, tt.args.portMap, &tt.args.clonedVhostRoutes)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. src/internal/reflectlite/set_test.go

    var _ error = mapError{}
    var _ error = new(mapError)
    
    func TestImplements(t *testing.T) {
    	for _, tt := range implementsTests {
    		xv := TypeOf(tt.x).Elem()
    		xt := TypeOf(tt.t).Elem()
    		if b := xv.Implements(xt); b != tt.b {
    			t.Errorf("(%s).Implements(%s) = %v, want %v", TypeString(xv), TypeString(xt), b, tt.b)
    		}
    	}
    }
    
    var assignableTests = []struct {
    	x any
    	t any
    	b bool
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top