Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for cleanAll (0.11 sec)

  1. pkg/probe/dialer_others.go

    // Using 1 second instead of 0 because SO_LINGER socket option to 0 causes pending data to be
    // discarded and the connection to be aborted with an RST rather than for the pending data to be
    // transmitted and the connection closed cleanly with a FIN.
    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/dialer_others.go

    // Using 1 second instead of 0 because SO_LINGER socket option to 0 causes pending data to be
    // discarded and the connection to be aborted with an RST rather than for the pending data to be
    // transmitted and the connection closed cleanly with a FIN.
    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/dialer_windows.go

    // Using 1 second instead of 0 because SO_LINGER socket option to 0 causes pending data to be
    // discarded and the connection to be aborted with an RST rather than for the pending data to be
    // transmitted and the connection closed cleanly with a FIN.
    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/runtime/mpallocbits.go

    	}
    	_ = b[j/64]
    	// Clear leading bits.
    	b[i/64] &^= ^uint64(0) << (i % 64)
    	clear(b[i/64+1 : j/64])
    	// Clear trailing bits.
    	b[j/64] &^= (uint64(1) << (j%64 + 1)) - 1
    }
    
    // clearAll frees all the bits of b.
    func (b *pageBits) clearAll() {
    	clear(b[:])
    }
    
    // clearBlock64 clears the 64-bit aligned block of bits containing the i'th bit that
    // are set in v.
    func (b *pageBits) clearBlock64(i uint, v uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/tool/tool.go

    		signal.Stop(c)
    		close(c)
    	}
    	if err != nil {
    		// Only print about the exit status if the command
    		// didn't even run (not an ExitError) or it didn't exit cleanly
    		// or we're printing command lines too (-x mode).
    		// Assume if command exited cleanly (even with non-zero status)
    		// it printed any messages it wanted to print.
    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

        ) {
            this.userInput = userInput;
            // Use a single reader thread, and make it a daemon thread so that it does not block process shutdown
            // In most cases, we try to cleanly shut down all threads. However, in this case it is difficult to disconnect a thread blocked trying to read from the
            // process' stdin, so use a daemon thread instead.
            executor = Executors.newSingleThreadExecutor(r -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonProcessState.java

            this.stopState.set(stopState);
        }
    
        @Override
        public void close() {
            if (stopState.get() == DaemonStopState.Forced) {
                // The daemon could not be stopped cleanly, so the services could still be doing work.
                // Don't attempt to stop the services, just stop this process
                return;
            }
    
            // Daemon has finished work, so stop the services
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/BUILD

        ],
    )
    
    tf_cc_test(
        name = "parallel_device_remote_test",
        srcs = ["parallel_device_remote_test.cc"],
        # TODO(b/136478427): Enable global heap checking when servers shut down
        # cleanly.
        args = ["--heap_check="],
        deps = [
            ":parallel_device",
            ":parallel_device_testlib",
            "//tensorflow/c:c_api",
            "//tensorflow/c:c_api_experimental",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 20:19:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

                }
            }
            openJavaCompilationUnitsByFile.clear()
            openKotlinCompilationUnitsByRoot.clear()
            if (errors.isNotEmpty()) {
                throw Exception("Sources repository did not close cleanly").apply {
                    errors.forEach(this::addSuppressed)
                }
            }
        }
    
        /**
         * @return the source file and it's source root
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 20 16:37:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheService.java

        /**
         * Clean up any resources held by the cache once it's not used anymore.
         *
         * @throws IOException if the cache fails to close cleanly.
         */
        @Override
        void close() throws IOException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top