Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 143 for Diff (0.04 sec)

  1. istioctl/pkg/writer/compare/comparator_test.go

    	comparator, err := NewComparator(&outputBuffer, map[string][]byte{"default": cfg}, cfg)
    	if err != nil {
    		t.Fatalf("Failed to create Comparator: %v", err)
    	}
    	err = comparator.Diff()
    	if err != nil {
    		t.Errorf("Unexpected error during diff: %v", err)
    	}
    
    	expected := []string{"Clusters Match", "Listeners Match", "Routes Match"}
    	for _, exp := range expected {
    		if !bytes.Contains(outputBuffer.Bytes(), []byte(exp)) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret_test.go

        users:
        - name: 54643f96-eca0-11e9-bb97-42010a80000a
          user:
            token: token
    ---
    `, clusterNameAnnotationKey, secretName, key)
    
    				if diff := cmp.Diff(got, wantOutput); diff != "" {
    					tt.Errorf("got\n%v\nwant\n%vdiff %v", got, c.want, diff)
    				}
    			}
    		})
    	}
    }
    
    func TestGetServiceAccountSecretToken(t *testing.T) {
    	secret := makeSecret("secret", "caData", "token")
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. manifests/.gitattributes

    *.descriptor      linguist-generated=true
    *.descriptor      -diff -merge
    *.descriptor_set  linguist-generated=true
    *.descriptor_set  -diff -merge
    *.pb.html linguist-generated=true
    *.pb.go linguist-generated=true
    *.gen.go linguist-generated=true
    *.gen.yaml linguist-generated=true
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Jan 12 18:15:05 UTC 2020
    - 313 bytes
    - Viewed (0)
  5. .gitattributes

    *.descriptor      linguist-generated=true
    *.descriptor      -diff -merge
    *.descriptor_set  linguist-generated=true
    *.descriptor_set  -diff -merge
    *.pb.html linguist-generated=true
    *.pb.go linguist-generated=true
    *.gen.go linguist-generated=true
    *.gen.yaml linguist-generated=true
    *.gen.json linguist-generated=true
    *_pb2.py linguist-generated=true
    manifests/charts/**/profile*.yaml linguist-generated=true
    go.sum merge=union
    vendor/**  linguist-vendored
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 01 19:15:39 UTC 2024
    - 545 bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/route.go

    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Routes",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Routes",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    	text, err := difflib.GetUnifiedDiffString(diff)
    	if err != nil {
    		return err
    	}
    	lastUpdatedStr := ""
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. .github/workflows/reviewdog.yml

            env:
              REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
            run: |
              go install mvdan.cc/gofumpt@v0.2.0
              gofumpt -e -d . | \
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:50:45 UTC 2023
    - 664 bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/comparator.go

    		return nil, err
    	}
    	c.envoy = envoyDump
    	c.w = w
    	c.context = 7
    	c.location = "Local" // the time.Location for formatting time.Time instances
    	return c, nil
    }
    
    // Diff prints a diff between Istiod and Envoy to the passed writer
    func (c *Comparator) Diff() error {
    	if err := c.ClusterDiff(); err != nil {
    		return err
    	}
    	if err := c.ListenerDiff(); err != nil {
    		return err
    	}
    	return c.RouteDiff()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/ToDoubleRounder.java

              }
    
              X deltaToFloor = minus(x, roundFloor);
              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

            context.putUserData(CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES, diff(
                currentAccessorsOfUpgradedProperties(currentUpgradedProperties),
                currentAccessorsOfUpgradedProperties(baselineUpgradedProperties)
            ));
            context.putUserData(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES, diff(
                oldRemovedAccessorsOfUpgradedProperties(currentUpgradedProperties),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top