Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,113 for Forever (0.34 sec)

  1. pilot/cmd/pilot-discovery/app/cmd.go

    			if err := discoveryServer.Start(stop); err != nil {
    				return fmt.Errorf("failed to start discovery service: %v", err)
    			}
    
    			cmd.WaitSignal(stop)
    			// Wait until we shut down. In theory this could block forever; in practice we will get
    			// forcibly shut down after 30s in Kubernetes.
    			discoveryServer.WaitUntilCompletion()
    			return nil
    		},
    	}
    }
    
    func addFlags(c *cobra.Command) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

            1 * connection.markSuspect()
            1 * connection.dispatch({ it instanceof CloseInput })
            1 * connection.stop()
            0 * connection._
        }
    
        def "does not loop forever finding usable daemons"() {
            given:
            connector.connect(compatibilitySpec) >> connection
            connector.startDaemon(compatibilitySpec) >> connection
            connection.daemon >> Stub(DaemonConnectDetails)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. pkg/cache/ttlCache.go

    // method. Given the nature of this code, forgetting to call Close on one of these objects
    // can lead to a substantial permanent memory leak in a process by causing the cache to
    // remain alive forever, along with all the entries the cache points to. The use of the
    // ttlWrapper type makes it so we control the exposure of the underlying ttlCache pointer.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbConstants.java

        static final int SMB1_HEADER_LENGTH = 32;
    
        static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
    
        static final String DEFAULT_OEM_ENCODING = "Cp850";
    
        static final int FOREVER = -1;
    
        /**
         * When specified as the <tt>shareAccess</tt> constructor parameter,
         * other SMB clients (including other threads making calls into jCIFS)
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  5. src/net/http/httptest/server_test.go

    	cidle.Write([]byte("HEAD / HTTP/1.1\r\nHost: foo\r\n\r\n"))
    	_, err := http.ReadResponse(bufio.NewReader(cidle), nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ts.Close() // test we don't hang here forever.
    }
    
    // Issue 14290
    func testServerCloseClientConnections(t *testing.T, newServer newServerFunc) {
    	var s *Server
    	s = newServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          taskRunner.condition.signal()
        }
    
        /**
         * Wait a duration in nanoseconds. Unlike [java.lang.Object.wait] this interprets 0 as
         * "don't wait" instead of "wait forever".
         */
        @Throws(InterruptedException::class)
        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
        override fun coordinatorWait(
          taskRunner: TaskRunner,
          nanos: Long,
        ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. pkg/controlplane/controller/kubernetesservice/controller.go

    		}
    		c.EndpointReconciler.Destroy()
    	}()
    
    	select {
    	case <-finishedReconciling:
    		// done
    	case <-time.After(2 * c.EndpointInterval):
    		// don't block server shutdown forever if we can't reach etcd to remove ourselves
    		klog.Warning("RemoveEndpoints() timed out")
    	}
    }
    
    // Run periodically updates the kubernetes service
    func (c *Controller) Run(ch <-chan struct{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. internal/lock/lock_windows.go

    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	var lockType uint32 = lockFileFailImmediately | lockFileExclusiveLock
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. pkg/envoy/agent.go

    //  4. /drain + SIGTERM. This is the shutdown when using Kubernetes native sidecars.
    //     /drain is called when the pod shutdown starts. We start draining, forever.
    //     Once the app containers shutdown, we get a SIGTERM. We have no use to run anymore, so shutdown immediately.
    //     If somehow we do not shutdown from the SIGTERM fast enough, we may get a SIGKILL later.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/sds/sdsservice.go

    	// configured, in which case this will fail; if it becomes noisy we should disable the entire SDS
    	// server in these cases.
    	go func() {
    		// TODO: do we need max timeout for retry, seems meaningless to retry forever if it never succeed
    		b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    		// context for both timeout and channel, whichever stops first, the context will be done
    		ctx, cancel := context.WithCancel(context.Background())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top