Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 479 for expensive (0.16 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/MetadataFetchingCost.java

         */
        CHEAP,
        /**
         * Cannot return metadata without an expensive call, typically involving parsing a descriptor
         * or accessing the network
         */
        EXPENSIVE;
    
        public boolean isFast() {
            return this == FAST;
        }
    
        public boolean isExpensive() {
            return this == EXPENSIVE;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy

            false                    | MetadataFetchingCost.EXPENSIVE | MetadataFetchingCost.CHEAP
            true                     | MetadataFetchingCost.CHEAP     | MetadataFetchingCost.CHEAP
            true                     | MetadataFetchingCost.FAST      | MetadataFetchingCost.FAST
            true                     | MetadataFetchingCost.EXPENSIVE | MetadataFetchingCost.EXPENSIVE
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/limit_test.go

    			t.Errorf("expected too large error, got %v", err)
    		}
    	})
    
    	// Create YAML just under 3MB limit, nested
    	t.Run("create YAML doc under limit, nested", func(t *testing.T) {
    		if testing.Short() {
    			t.Skip("skipping expensive test")
    		}
    		yamlBody := []byte(fmt.Sprintf(`
    	apiVersion: %s
    	kind: %s
    	metadata:
    	  name: test
    	values: `+strings.Repeat("[", 3*1024*1024/2-500)+strings.Repeat("]", 3*1024*1024/2-500), apiVersion, kind))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 8K bytes
    - Viewed (0)
  4. platforms/software/resources/src/main/java/org/gradle/internal/resource/TextResource.java

        boolean isContentCached();
    
        /**
         * Returns true if this resource exists, false if it does not exist. A resource exists when it has content associated with it.
         *
         * <p>Note that this method may be expensive when {@link #isContentCached()} returns false, depending on the implementation.
         *
         * @return true if this resource exists.
         * @throws ResourceException On failure to check whether resource exists.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/ptr_test.go

    		return cmd.CombinedOutput()
    	}
    
    	if pt.expensive {
    		buf, err := runcmd("1")
    		if err != nil {
    			t.Logf("%s", buf)
    			if pt.fail {
    				t.Fatalf("test marked expensive, but failed when not expensive: %v", err)
    			} else {
    				t.Errorf("failed unexpectedly with GODEBUG=cgocheck=1: %v", err)
    			}
    		}
    
    	}
    
    	cgocheck := ""
    	if pt.expensive {
    		cgocheck = "2"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/buildtree/BuildTreeLifecycleListener.java

         * and should not run any user code.
         */
        default void afterStart() {
        }
    
        /**
         * Called just before the build tree is finished with, just prior to closing the build tree services.
         *
         * This method is called after the root build operation has completed, so implementations should not perform any expensive work
         * and should not run any user code.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

             * This documents the current behavior, which is optimizing
             * for performance at the expense of not detecting some corner
             * cases. If there actually is a task that needs to distinguish
             * between links and real files, we should probably provide an
             * opt-in to canonical snapshotting, as it's quite expensive.
             */
            then:
            result.assertTaskSkipped(":work")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDeclarationProvider.kt

        /**
         * Calculates the set of package names which can be provided by this declaration provider.
         *
         * The set may contain false positives. `null` may be returned if the package set is too expensive or impossible to compute.
         *
         * [computePackageNames] is used as the default implementation for [computePackageNamesWithTopLevelClassifiers] and
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/session/BuildSessionLifecycleListener.java

         * and should not run any user code.
         */
        default void afterStart() {
        }
    
        /**
         * Called at the completion of the session, immediately prior to tearing down the session services.
         *
         * This method is called after the root build operation has completed, so implementations should not perform any expensive work
         * and should not run any user code.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ComponentGraphResolveMetadata.java

     * component or its variants, as this may be expensive to calculate and is only required in specific cases.
     * Information about the artifacts can be accessed via the methods of {@link ComponentGraphResolveState}.</p>
     *
     * <p>Implementations must be immutable, thread safe, "fast" (ie should not run user code, or touch the file system or network etc) and "reliable" (ie should not fail)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top