- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 962 for diffCh (0.47 sec)
-
cmd/admin-bucket-handlers.go
keepAliveTicker := time.NewTicker(500 * time.Millisecond) defer keepAliveTicker.Stop() diffCh, err := getReplicationDiff(ctx, objectAPI, bucket, opts) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } enc := json.NewEncoder(w) for { select { case entry, ok := <-diffCh: if !ok { return } if err := enc.Encode(entry); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 32.7K bytes - Viewed (0) -
cmd/bucket-replication.go
replLogIf(ctx, err) return nil, err } rcfg := replicationConfig{ Config: cfg, remotes: tgts, } diffCh := make(chan madmin.DiffInfo, 4000) go func() { defer xioutil.SafeClose(diffCh) for res := range objInfoCh { if res.Err != nil { diffCh <- madmin.DiffInfo{Err: res.Err} return } if contextCanceled(ctx) { // Just consume input... continue
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 114.4K bytes - Viewed (0) -
src/internal/bytealg/compare_amd64.s
PMOVMSKB X1, AX XORQ $0xffff, AX // convert EQ to NE JNE diff16 // branch if at least one byte is not equal ADDQ $16, SI ADDQ $16, DI SUBQ $16, R8 JMP loop diff64: ADDQ $48, SI ADDQ $48, DI JMP diff16 diff48: ADDQ $32, SI ADDQ $32, DI JMP diff16 diff32: ADDQ $16, SI ADDQ $16, DI // AX = bit mask of differences diff16: BSFQ AX, BX // index of first byte that differs XORQ AX, AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:17:01 UTC 2022 - 4.3K bytes - Viewed (0) -
pilot/test/util/diff.go
text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err } return errors.New(text) } return nil } // CompareContent compares the content value against the golden file and fails the test if they differ func CompareContent(t test.Failer, content []byte, goldenFile string) { t.Helper() golden := ReadGoldenFile(t, content, goldenFile) CompareBytes(t, content, golden, goldenFile) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 05 08:53:20 UTC 2024 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/diff/diff.go
limitations under the License. */ package diff import ( "bytes" "fmt" "reflect" "strings" "text/tabwriter" "github.com/google/go-cmp/cmp" "k8s.io/apimachinery/pkg/util/dump" ) func legacyDiff(a, b interface{}) string { return cmp.Diff(a, b) } // StringDiff diffs a and b and returns a human readable diff. // DEPRECATED: use github.com/google/go-cmp/cmp.Diff func StringDiff(a, b string) string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:45:31 UTC 2023 - 3.4K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff.go
return &cobra.Command{ Use: "diff <profile|file1.yaml> <profile|file2.yaml>", Short: "Diffs two Istio configuration profiles", Long: "The diff subcommand displays the differences between two Istio configuration profiles.", Example: ` # Profile diff by providing yaml files istioctl profile diff manifests/profiles/default.yaml manifests/profiles/demo.yaml # Profile diff by providing a profile name
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 3.1K bytes - Viewed (0) -
operator/pkg/util/yaml_test.go
tests := []struct { desc string diff1 string diff2 string expect string }{ { desc: "1-line-diff", diff1: `hola: yo foo: bar goo: tar `, diff2: `hola: yo foo: bar notgoo: nottar `, expect: ` foo: bar -goo: tar hola: yo +notgoo: nottar `, }, { desc: "no-diff", diff1: `foo: bar`, diff2: `foo: bar`,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 17:00:14 UTC 2024 - 6.7K bytes - Viewed (0) -
src/internal/diff/diff.go
package diff import ( "bytes" "fmt" "sort" "strings" ) // A pair is a pair of values tracked for both the x and y side of a diff. // It is typically a pair of line indexes. type pair struct{ x, y int } // Diff returns an anchored diff of the two texts old and new // in the “unified diff” format. If old and new are identical, // Diff returns a nil slice (no output). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 14:13:04 UTC 2023 - 7.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/diff.go
if err != nil { return err } // Pick up the version from the ClusterConfiguration. if initCfg.KubernetesVersion != "" { flags.newK8sVersionStr = initCfg.KubernetesVersion } if upgradeCfg.Diff.KubernetesVersion != "" { flags.newK8sVersionStr = upgradeCfg.Diff.KubernetesVersion }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY); assertTrue(diff.areEqual()); assertEquals(EMPTY, diff.entriesOnlyOnLeft()); assertEquals(EMPTY, diff.entriesOnlyOnRight()); assertEquals(EMPTY, diff.entriesInCommon()); assertEquals(EMPTY, diff.entriesDiffering()); assertEquals("equal", diff.toString()); } public void testMapDifferenceEmptySingleton() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0)