Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for signal (0.19 sec)

  1. cmd/signals.go

    			exit(stopProcess())
    		case osSignal := <-globalOSSignalCh:
    			logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
    			daemon.SdNotify(false, daemon.SdNotifyStopping)
    			exit(stopProcess())
    		case signal := <-globalServiceSignalCh:
    			switch signal {
    			case serviceRestart:
    				logger.Info("Restarting on service signal")
    				daemon.SdNotify(false, daemon.SdNotifyReloading)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. cni/cmd/install-cni/main.go

    package main
    
    import (
    	"context"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"istio.io/istio/cni/pkg/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	// Create context that cancels on termination signal
    	ctx, cancel := context.WithCancel(context.Background())
    	sigChan := make(chan os.Signal, 1)
    	signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
    	go func(sigChan chan os.Signal, cancel context.CancelFunc) {
    		sig := <-sigChan
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java

      }
    
      @Override
      public boolean awaitUntil(Date deadline) throws InterruptedException {
        return delegate().awaitUntil(deadline);
      }
    
      @Override
      public void signal() {
        delegate().signal();
      }
    
      @Override
      public void signalAll() {
        delegate().signalAll();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     * responses coming back in. Typically interceptors add, remove, or transform headers on the request
     * or response.
     *
     * Implementations of this interface throw [IOException] to signal connectivity failures. This
     * includes both natural exceptions such as unreachable servers, as well as synthetic exceptions
     * when responses are of an unexpected type or cannot be decoded.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. cmd/leak-detect_test.go

    	"created by runtime.gc",
    	// ignore the snapshot function.
    	// since the snapshot is taken here the entry will have the current function too.
    	"pickRelevantGoroutines",
    	"runtime.MHeap_Scavenger",
    	"signal.signal_recv",
    	"sigterm.handler",
    	"runtime_mcall",
    	"goroutine in C code",
    }
    
    // Identify whether the stack trace entry is part of ignoredStackFn .
    func isIgnoredStackFn(stack string) (ok bool) {
    	ok = true
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil_test.go

    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		// TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of
    		// the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true'
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/BuildAbort.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    /**
     * A special throwable used to signal a graceful abort of the build.
     */
    public class BuildAbort extends Error {
    
        public BuildAbort(String message) {
            super(message);
        }
    
        public BuildAbort(String message, Throwable cause) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

          }
        }
    
        return isRunning
      }
    
      /** Used by [Call.execute] to signal it is in-flight. */
      internal fun executed(call: RealCall) =
        this.withLock {
          runningSyncCalls.add(call)
        }
    
      /** Used by [AsyncCall.run] to signal completion. */
      internal fun finished(call: AsyncCall) {
        call.callsPerHost.decrementAndGet()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top