Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 395 for Sant (0.14 sec)

  1. internal/crypto/metadata_test.go

    			t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    		}
    		if err == nil && test.ExpectedErr != nil {
    			t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    		}
    		if err != nil && test.ExpectedErr != nil {
    			if err.Error() != test.ExpectedErr.Error() {
    				t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/metacache-entries_test.go

    	// Merge b into a
    	a.merge(b, -1)
    	//nolint:gocritic
    	want := append(loadMetacacheSampleNames, loadMetacacheSampleNames...)
    	sort.Strings(want)
    	got := a.entries().names()
    	if len(got) != len(want) {
    		t.Errorf("unexpected count, want %v, got %v", len(want), len(got))
    	}
    
    	for i, name := range got {
    		if want[i] != name {
    			t.Errorf("unexpected name, want %q, got %q", want[i], name)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    		name string
    		arg  []string
    		want map[string]string
    	}{
    		{name: "empty", arg: []string{""}, want: map[string]string{"": ""}},
    		{name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}},
    		{name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}},
    		{name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    			objs:     []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			name:     "cluster-foo",
    			want:     "cal-want",
    		},
    		{
    			testName: "success with type defined",
    			objs:     []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			name:     "cluster-foo",
    			secType:  "config",
    			want:     "cal-want",
    		},
    		{
    			testName:   "failure due to multiple secrets",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      std::vector<char> out;
      TF_EXPECT_OK(ReadCache(&cache1, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 1);
      TF_EXPECT_OK(ReadCache(&cache2, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 2);
      TF_EXPECT_OK(ReadCache(&cache3, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 3);
      TF_EXPECT_OK(ReadCache(&cache4, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 4);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    		{"abc//./../def", "def"},
    		{"abc/../../././../def", "../../def"},
    	}
    	for _, test := range cleantests {
    		want := test.path != test.result
    		got := pathNeedsClean([]byte(test.path))
    		if !got {
    			t.Logf("no clean: %q", test.path)
    		}
    		if want && !got {
    			t.Errorf("input: %q, want %v, got %v", test.path, want, got)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    				}
    			}
    
    			if v.file != "" {
    				want, err := os.ReadFile(v.file)
    				if err != nil {
    					t.Fatalf("ReadFile() = %v, want nil", err)
    				}
    				got := buf.Bytes()
    				if !bytes.Equal(want, got) {
    					t.Fatalf("incorrect result: (-got +want)\n%v", bytediff(got, want))
    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    ## Previous Steps Before Starting
    
    There are many cases where you want to perform some steps **before starting** your application.
    
    For example, you might want to run **database migrations**.
    
    But in most cases, you will want to perform these steps only **once**.
    
    So, you will want to have a **single process** to perform those **previous steps**, before starting the application.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    						test.input[i], test.input[j] = test.input[j], test.input[i]
    					})
    					got := mergeXLV2Versions(test.quorum, true, 0, test.input...)
    					if !reflect.DeepEqual(test.want, got) {
    						t.Errorf("want %v != got %v", test.want, got)
    					}
    				})
    			}
    		})
    	}
    }
    
    func Test_mergeEntryChannels(t *testing.T) {
    	dataZ, err := os.ReadFile("testdata/xl-meta-merge.zip")
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/endtoend_test.go

    			printed = f[0] + "\t" + strings.Join(f[1:], " ")
    		}
    
    		want := fmt.Sprintf("%05d (%s:%d)\t%s", seq, input, lineno, printed)
    		for len(output) > 0 && (output[0] < want || output[0] != want && len(output[0]) >= 5 && output[0][:5] == want[:5]) {
    			if len(output[0]) >= 5 && output[0][:5] == want[:5] {
    				t.Errorf("mismatched output:\nhave %s\nwant %s", output[0], want)
    				output = output[1:]
    				continue Diff
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top