Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 255 for compareIDs (0.18 sec)

  1. pkg/maps/maps.go

    	for key, value := range subset {
    		if supersetValue, ok := superset[key]; !ok || supersetValue != value {
    			return false
    		}
    	}
    	return true
    }
    
    // EqualFunc is like Equal, but compares values using eq.
    // Keys are still compared with ==.
    func EqualFunc[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool {
    	return maps.EqualFunc(m1, m2, eq)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

            return lastSeparator;
        }
    
        /**
         * Compares to the first segment of a relative path.
         *
         * A segment of a path is the part between two file separators.
         * For example, the path some/long/path has the segments some, long and path.
         *
         * Similar to {@link #lengthOfCommonPrefix(String, CaseSensitivity)},
         * only that this method compares to the first segment of the path if there is no common prefix.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. operator/pkg/util/yaml.go

    	}
    	my, err := yaml.JSONToYAML(merged)
    	if err != nil {
    		return "", fmt.Errorf("jsonToYAML error (%s) for merged object: \n%s", err, merged)
    	}
    
    	return string(my), nil
    }
    
    // yamlDiff compares single YAML file
    func yamlDiff(a, b string) string {
    	ao, bo := make(map[string]any), make(map[string]any)
    	if err := yaml.Unmarshal([]byte(a), &ao); err != nil {
    		return err.Error()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

    import java.util.Random;
    
    /**
     * Benchmarks for {@link CharStreams#copy}.
     *
     * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and
     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/StaticVersionComparator.java

                                                                                .put("sp", 6).build();
        /**
         * Compares 2 versions. Algorithm is inspired by PHP version_compare one.
         */
        @Override
        public int compare(Version version1, Version version2) {
            if (version1.equals(version2)) {
                return 0;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataComparatorTest.groovy

            when:
            metadata.sort(new JvmInstallationMetadataComparator(getJavaHome()))
    
            then:
            metadata == [jdk, jre]
        }
    
        @Issue("https://github.com/gradle/gradle/issues/17195")
        def "compares installation paths as a last resort"() {
            given:
            def prevJdk = jvmMetadata("8.0.1", true, ADOPTOPENJDK, "/jdks/openjdk-8.0.1")
            def nextJdk = jvmMetadata("8.0.1", true, ADOPTOPENJDK, "/jdks/openjdk-8.0.1.1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/api_object_versioner.go

    		})
    	}
    	return version, nil
    }
    
    // Versioner implements Versioner
    var _ Versioner = APIObjectVersioner{}
    
    // CompareResourceVersion compares etcd resource versions.  Outside this API they are all strings,
    // but etcd resource versions are special, they're actually ints, so we can easily compare them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:19:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two arrays of unsigned {@code int} values <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it
       * compares, using {@link #compare(int, int)}), the first pair of values that follow any common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedInts.java

        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two arrays of unsigned {@code int} values <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it
       * compares, using {@link #compare(int, int)}), the first pair of values that follow any common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MapDifference.java

      /**
       * Returns an unmodifiable map describing keys that appear in both maps, but with different
       * values.
       */
      Map<K, ValueDifference<V>> entriesDiffering();
    
      /**
       * Compares the specified object with this instance for equality. Returns {@code true} if the
       * given object is also a {@code MapDifference} and the values returned by the {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 3.5K bytes
    - Viewed (0)
Back to top