Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 303 for deduplicated (0.18 sec)

  1. subprojects/core/src/main/java/org/gradle/configuration/DefaultImportsReader.java

            return importPackages;
        }
    
        @Override
        public Map<String, List<String>> getSimpleNameToFullClassNamesMapping() {
            return simpleNameToFQCN;
        }
    
        /**
         * @implNote Logic is duplicated in {@link gradlebuild.integrationtests.action.AnnotationGeneratorWorkAction}.
         * Please keep this code in sync.
         */
        private static String[] generateImportPackages(URL url) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningConfigurationsIntegrationSpec.groovy

            and:
            run "sign"
    
            then:
            executedAndNotSkipped ":signArchives"
    
            and:
            file("build", "libs", "sign-1.0.jar.asc").text
        }
    
        def "duplicated inputs are handled"() {
            given:
            buildFile << """
                signing {
                    ${signingConfiguration()}
                    sign configurations.archives
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. operator/pkg/util/errs.go

    	return e.Error()
    }
    
    // ToError returns an error from Errors.
    func (e Errors) ToError() error {
    	if len(e) == 0 {
    		return nil
    	}
    	return fmt.Errorf("%s", e)
    }
    
    // Dedup removes any duplicated errors.
    func (e Errors) Dedup() Errors {
    	logCountMap := make(map[string]int)
    	for _, ee := range e {
    		if ee == nil {
    			continue
    		}
    		item := ee.Error()
    		_, exist := logCountMap[item]
    		if exist {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSourceTest.groovy

            source.addPending(provider)
    
            then:
            source.size() == 1
            source.contains("foo")
        }
    
        def "an element added as both a provider and a realized value is not duplicated"() {
            when:
            source.add("foo")
            source.addPending(provider("foo"))
    
            then:
            source.iterator().collect() == ["foo"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 06:43:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
            // As a workaround, we repeat the bucket N times, and deduplicate the result at the end
            val resultIncludingDuplicates = splitIntoBuckets(
                LinkedList(subProjectTestClassTimes),
                SubprojectTestClassTime::totalTime,
                { largeElement, factor ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      // This attribute marks if a function is stateful.
      // Returns the string description of stateful attribute.
      static StringRef GetStatefulAttrName() { return "tf.signature.is_stateful"; }
    
      // Returns true if the op can be duplicated during transformations.
      static bool CanDuplicate(Operation *op);
    
      // Returns true if the op can have side effects.
      static bool CanHaveSideEffects(Operation *op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/html/template/example_test.go

    	err := t.Execute(os.Stdout, data)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// Output:
    	// Hello {{.Name}}
    }
    
    // The following example is duplicated in text/template; keep them in sync.
    
    func ExampleTemplate_block() {
    	const (
    		master  = `Names:{{block "list" .}}{{"\n"}}{{range .}}{{println "-" .}}{{end}}{{end}}`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  9. test/typeparam/nested.go

    //    F[A].T[B] should be identical to F[A'].T[B'] iff (A, B) is
    //    identical to (A', B').
    //
    // 2. A few of the instantiations are constructed to be identical, and
    //    it tests that exactly these pairs are duplicated (by golden
    //    output comparison to nested.out).
    //
    // In both cases, we're effectively using the compiler's existing
    // runtime.Type handling (which is well tested) of type identity of A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:23:27 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                version = artifact.getBaseVersion();
            }
    
            // TODO also do this logging for other metadata?
            // TODO figure out way to avoid duplicated message
            if (getLogger().isDebugEnabled()) {
                if (!version.equals(artifact.getBaseVersion())) {
                    String message = artifact.getArtifactId() + ": resolved to version " + version;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top