Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 338 for reuse (0.04 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteInputTest.groovy

        def setup() {
            file = new RandomAccessFile(tmpDir.file("test.bin"), "rw")
            input = new ByteInput(file)
        }
    
        def cleanup() {
            file.close()
        }
    
        def "can reuse to read from multiple locations in file"() {
            given:
            file.seek(0)
            file.writeInt(123)
            file.writeInt(321)
            file.writeInt(456)
    
            expect:
            def stream = input.start(0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/net/sockopt_windows.go

    		return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1))
    	}
    	return nil
    }
    
    func setDefaultListenerSockopts(s syscall.Handle) error {
    	// Windows will reuse recently-used addresses by default.
    	// SO_REUSEADDR should not be used here, as it allows
    	// a socket to forcibly bind to a port in use by another socket.
    	// This could lead to a non-deterministic behavior, where
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaHomeBasedJavaCompilerFactory.java

    public class JavaHomeBasedJavaCompilerFactory implements Factory<ContextAwareJavaCompiler>, Serializable {
        private final List<File> compilerPluginsClasspath;
        // We use a static cache here because we want to reuse classloaders in compiler workers as
        // it has a huge impact on performance. Previously there was a single, JdkTools.current()
        // instance, but we can have different "compiler plugins" classpath. For this reason we use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/compile.h

    Status CompileGraph(GraphDef graph_def, const tf2xla::Config& config,
                        const MainFlags& flags, CompileResult* compile_result);
    
    // The full compilation method, for reuse in a library setting.
    Status Main(const MainFlags& flags);
    
    }  // namespace tfcompile
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      override fun isOutputShutdown(): Boolean {
        return delegate!!.isOutputShutdown
      }
    
      @Throws(SocketException::class)
      override fun setReuseAddress(reuse: Boolean) {
        delegate!!.reuseAddress = reuse
      }
    
      @Throws(SocketException::class)
      override fun getReuseAddress(): Boolean {
        return delegate!!.reuseAddress
      }
    
      @Throws(SocketException::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. pkg/scheduler/metrics/resources/resources.go

    		// for checking that terminal state
    	}
    	if terminal {
    		return
    	}
    
    	reqs = v1resource.PodRequests(pod, v1resource.PodResourcesOptions{Reuse: reuseReqs})
    	limits = v1resource.PodLimits(pod, v1resource.PodResourcesOptions{Reuse: reuseLimits})
    	return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. tests/integration/pilot/main_test.go

    )
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(&i, nil)).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 08 22:15:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy

        @Rule final SFTPServer sftpServer = new SFTPServer(temporaryFolder)
        @Rule final BlockingHttpServer coordinator = new BlockingHttpServer()
    
        def "does not attempt to reuse a client that has been disconnected"() {
            coordinator.start()
    
            buildFile << """
                ${sftpTask}
    
                task firstUse(type: SftpTask) {
                    credentials = creds
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/state/Managed.java

         * Note that the state may not be immutable, so should be made isolated to reuse in another context. The state can also be fingerprinted to generate a fingerprint of this object.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            def firstBuild = old(runningCompilerDaemons)
            def secondBuild = runningCompilerDaemons
            def diff = firstBuild - secondBuild
            // We should reuse one daemon from the first build
            diff.size() == 1
        }
    
        def "reuses compiler daemons across multiple builds when enabled"() {
            withSingleProjectSources()
            buildFile << """
                tasks.compileMain2Java {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top