Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 840 for TT (0.03 sec)

  1. src/strconv/quote_test.go

    }
    
    func TestQuote(t *testing.T) {
    	for _, tt := range quotetests {
    		if out := Quote(tt.in); out != tt.out {
    			t.Errorf("Quote(%s) = %s, want %s", tt.in, out, tt.out)
    		}
    		if out := AppendQuote([]byte("abc"), tt.in); string(out) != "abc"+tt.out {
    			t.Errorf("AppendQuote(%q, %s) = %s, want %s", "abc", tt.in, out, "abc"+tt.out)
    		}
    	}
    }
    
    func TestQuoteToASCII(t *testing.T) {
    	for _, tt := range quotetests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Configuration.java

        boolean isUseBatching ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.nativeOs</tt> (string, default <tt>os.name</tt>)
         * 
         * @return OS string to report
         */
        String getNativeOs ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.nativeLanMan</tt> (string, default <tt>jCIFS</tt>)
         * 
         * @return Lanman string to report
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/amd64/versions_test.go

    	} {
    		if got := tt.x ^ (tt.x - 1); got != tt.want {
    			t.Errorf("%#x ^ (%#x-1) = %#x, want %#x", tt.x, tt.x, got, tt.want)
    		}
    		if got := uint32(tt.x) ^ (uint32(tt.x) - 1); got != uint32(tt.want) {
    			t.Errorf("%#x ^ (%#x-1) = %#x, want %#x", tt.x, tt.x, got, uint32(tt.want))
    		}
    	}
    }
    
    // Test to use BLSR, if available
    func TestBLSR(t *testing.T) {
    	for _, tt := range []struct {
    		x, want uint64
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * credentials try try when accessing SMB resources described by the <tt>getRequestingURL</tt> and
         * <tt>getRequestingException</tt> methods.
         * If this method returns <tt>null</tt> the <tt>SmbAuthException</tt> that triggered the authenticator check will
         * simply be rethrown. The default implementation returns <tt>null</tt>.
         */
        protected NtlmPasswordAuthenticator getNtlmPasswordAuthentication () {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  5. operator/pkg/tpath/struct_test.go

    				t.Fatalf("GetFromStructPath(%s): gotErr:%s, wantErr:%s", tt.desc, gotErr, wantErr)
    			}
    			if tt.wantErr != "" || !tt.wantFound {
    				return
    			}
    			gotYAML := util.ToYAML(GotOut)
    			diff := util.YAMLDiff(gotYAML, tt.wantYAML)
    			if diff != "" {
    				t.Errorf("GetFromStructPath(%s): YAML of gotOut:\n%s\n, YAML of wantOut:\n%s\n, diff:\n%s\n", tt.desc, gotYAML, tt.wantYAML, diff)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. pilot/pkg/networking/util/util_test.go

    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := ConvertLocality(tt.locality)
    			if !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("Expected locality %#v, but got %#v", tt.want, got)
    			}
    			// Verify we can reverse the conversion back to the original input
    			reverse := LocalityToString(got)
    			if tt.reverse != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. operator/pkg/util/path_test.go

    		{
    			desc:    "empty",
    			in:      "",
    			wantErr: errors.New(""),
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			if k, v, err := PathKV(tt.in); k != tt.wantK || v != tt.wantV || errNilCheck(err, tt.wantErr) {
    				t.Errorf("%s: expect %v %v %v got %v %v %v", tt.desc, tt.wantK, tt.wantV, tt.wantErr, k, v, err)
    			}
    		})
    	}
    }
    
    func TestPathV(t *testing.T) {
    	tests := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Aug 29 00:15:38 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  8. operator/pkg/util/label_test.go

    			wantErr:   nil,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			resource := &unstructured.Unstructured{Object: make(map[string]any)}
    			gotErr := SetLabel(resource, tt.wantLabel, tt.wantValue)
    			resourceAccessor, _ := meta.Accessor(resource)
    			labels := resourceAccessor.GetLabels()
    			if gotVal, ok := labels[tt.wantLabel]; !ok || gotVal != tt.wantValue || gotErr != tt.wantErr {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. pilot/pkg/xds/nds_test.go

    			if len(tt.nameTable) == 0 {
    				if len(nametable) != 0 {
    					t.Errorf("unexpected nametable. want: %v, got: %v", tt.nameTable, nametable)
    				}
    			} else {
    				if !reflect.DeepEqual(tt.nameTable[0].Resource, nametable[0].Resource) {
    					t.Errorf("unexpected nametable. want: %v, got: %v", tt.nameTable, nametable)
    				}
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. operator/pkg/util/yaml_test.go

    			expectedErr:     nil,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			if gotOverlays, err := OverlayTrees(tt.inBase, tt.inOverlays); !reflect.DeepEqual(gotOverlays, tt.expectedOverlay) ||
    				((err != nil && tt.expectedErr == nil) || (err == nil && tt.expectedErr != nil)) {
    				t.Errorf("%s: expected overlay & err %v %v got %v %v", tt.desc, tt.expectedOverlay, tt.expectedErr,
    					gotOverlays, err)
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top