Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,425 for equalTo (0.12 sec)

  1. cni/pkg/plugin/plugin_test.go

    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod in namespace with enabled ambient label, should be added to mesh
    	assert.Equal(t, wasCalled, true)
    }
    
    func TestCmdAddAmbientEnabledOnNSServerFails(t *testing.T) {
    	serverClose := setupCNIEventClientWithMockServer(true)
    
    	cniConf := buildMockConf(true)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Enums.java

        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) object;
            return this.enumClass.equals(that.enumClass);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

                Node node = childNodes.item(i);
                if (node instanceof Element) {
                    Element childElement = (Element) node;
                    if (childElement.getTagName().equals(childName)) {
                        matches.add(childElement);
                    }
                }
            }
            return matches;
        }
    
        protected Element getChild(Element element, String childName) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/LongMath.java

       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CaseFormat.java

          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter that = (StringConverter) object;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload_test.go

    		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": ""}},
    	}
    	for _, tt := range tests {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                        return properties;
                                    } else if ("getUserProperties".equals(method.getName())) {
                                        return Map.of();
                                    } else if ("getService".equals(method.getName())) {
                                        if (args[0] == ToolchainsXmlFactory.class) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

            Cut<K> upperBound = entry.getLowerBound();
            if (!lowerBound.equals(upperBound)) {
              gaps.put(lowerBound, new RangeMapEntry<K, V>(lowerBound, upperBound, value));
            }
            lowerBound = entry.getUpperBound();
          }
          if (!lowerBound.equals(range.upperBound)) {
            gaps.put(lowerBound, new RangeMapEntry<K, V>(lowerBound, range.upperBound, value));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    func reduceErrs(errs []error, ignoredErrs []error) (maxCount int, maxErr error) {
    	errorCounts := make(map[error]int)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
          Class<?> paramType = paramTypes[i];
          if (paramType.equals(String.class)) {
            params[i] = cause.toString();
          } else if (paramType.equals(Throwable.class)) {
            params[i] = cause;
          } else {
            return null;
          }
        }
        try {
          return constructor.newInstance(params);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top