Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 293 for loadsys (0.27 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

          )
        return dataset_file_map
    
    
    class RepresentativeDatasetLoader:
      """Representative dataset loader.
    
      Exposes the `load` method that loads the representative dataset from files.
      """
    
      def load(self) -> RepresentativeDatasetMapping:
        """Loads the representative datasets.
    
        Returns:
          representative dataset mapping: A loaded signature def key ->
          representative mapping.
        """
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy

            """
    
            settingsFile << localCache.localCacheConfiguration() << remoteCache.remoteCacheConfiguration()
    
            executer.beforeExecute { it.withBuildCacheEnabled() }
        }
    
        def "remote loads are cached locally"() {
            given:
            settingsFile << """
                buildCache { local.push = false }
            """
    
            when:
            succeeds("t")
    
            then:
            executed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/CachingClassLoaderTest.groovy

    import spock.lang.Specification
    
    class CachingClassLoaderTest extends Specification {
        final parent = Mock(ClassLoader, useObjenesis: false)
        final classLoader = new CachingClassLoader(parent)
    
        def "loads class once and caches result"() {
            when:
            def cl = classLoader.loadClass("someClass")
    
            then:
            cl == String.class
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. cmd/metrics-v3-api.go

    	}
    	for name, value := range httpStats.TotalS3Canceled.APIStats {
    		m.Set(apiRequestsCanceledTotal, float64(value), "name", name, "type", "s3")
    	}
    	return nil
    }
    
    // loadAPIRequestsTTFBMetrics - loads S3 TTFB metrics.
    //
    // This is a `MetricsLoaderFn`.
    func loadAPIRequestsTTFBMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	renameLabels := map[string]string{"api": "name"}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/DeserializeMap.java

     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.provider.serialization;
    
    public interface DeserializeMap {
        /**
         * Loads a serialized Class.
         */
        Class<?> resolveClass(ClassLoaderDetails classLoaderDetails, String className) throws ClassNotFoundException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 877 bytes
    - Viewed (0)
  6. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentControl.java

    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    
    /**
     * Provides methods to interact with the Java agent shipped with Gradle. Because of the different class loaders, it is hard to query the Agent class directly.
     * <p>
     * The agent class must follow a special protocol to be recognized properly: the class should have a method:
     * <pre>
     *     public static boolean isApplied()
     * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/StaticLockingMavenPublisher.java

    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    /**
     * A MavenPublisher that restricts publishing to a single thread per Classloader that loads this class.
     * This is required to prevent concurrent access to the Maven Ant Tasks, which hold static state.
     */
    public class StaticLockingMavenPublisher implements MavenPublisher {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/loader/ToolingImplementationLoader.java

    import org.gradle.tooling.internal.consumer.Distribution;
    import org.gradle.tooling.internal.consumer.connection.ConsumerConnection;
    import org.gradle.tooling.internal.protocol.InternalBuildProgressListener;
    
    /**
     * Loads the Tooling API implementation classes from the given Gradle distribution and adapts them to the current Tooling API interfaces.
     */
    public interface ToolingImplementationLoader {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy

    import org.gradle.test.preconditions.IntegTestPreconditions
    
    /**
     * Verifies that Gradle doesn't pollute the system class loader.
     *
     * This is important for plugins that need to use isolated class loaders to avoid conflicts.
     *
     * When running without the daemon, success is dependant on the start scripts doing the right thing.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/joinconfiguration.go

    		err    error
    	)
    	if cfgPath != "" {
    		// Loads configuration from config file, if provided
    		config, err = LoadJoinConfigurationFromFile(cfgPath, opts)
    	} else {
    		config, err = DefaultedJoinConfiguration(defaultversionedcfg, opts)
    	}
    	if err == nil {
    		prepareStaticVariables(config)
    	}
    	return config, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top