Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 397 for Signals (0.22 sec)

  1. src/runtime/crash_cgo_test.go

    	case "plan9", "windows":
    		t.Skipf("no EINTR on %s", runtime.GOOS)
    	case "linux":
    		if runtime.GOARCH == "386" {
    			// On linux-386 the Go signal handler sets
    			// a restorer function that is not preserved
    			// by the C sigaction call in the test,
    			// causing the signal handler to crash when
    			// returning the normal code. The test is not
    			// architecture-specific, so just skip on 386
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

          memcpy(&buffer[total_bytes_transferred], &*begin, bytes_to_copy);
          total_bytes_transferred += bytes_to_copy;
        }
        if (data.size() < block_size_) {
          // The block was a partial block and thus signals EOF at its upper bound.
          break;
        }
      }
      TF_SetStatus(status, TF_OK, "");
      return total_bytes_transferred;
    }
    
    bool RamFileBlockCache::ValidateAndUpdateFileSignature(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  3. istioctl/pkg/dashboard/dashboard.go

    	}
    
    	return fmt.Errorf("failure running port forward process: %v", err)
    }
    
    func ClosePortForwarderOnInterrupt(fw kube.PortForwarder) {
    	go func() {
    		signals := make(chan os.Signal, 1)
    		signal.Notify(signals, os.Interrupt)
    		defer signal.Stop(signals)
    		<-signals
    		fw.Close()
    	}()
    }
    
    func openBrowser(url string, writer io.Writer, browser bool) {
    	var err error
    
    	fmt.Fprintf(writer, "%s\n", url)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Signals some other thread waiting on a satisfied guard, if one exists.
       *
       * <p>We manage calls to this method carefully, to signal only when necessary, but never losing a
       * signal, which is the classic problem of this kind of concurrency construct. We must signal if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  5. src/os/signal/signal_cgo_test.go

    	// with its controlling terminal shall cause the process group
    	// to be sent a SIGTTOU signal. If the calling thread is
    	// blocking SIGTTOU signals or the process is ignoring SIGTTOU
    	// signals, the process shall be allowed to perform the
    	// operation, and no signal is sent."
    	//  -https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy

                '-B',
                '-b',
                '-y, -z, --end-option, --last-option  this is the last option',
                '--                                   Signals the end of built-in options. Gradle parses subsequent parameters as only tasks or task options.'
            ]
        }
    
        def formatsUsageMessageForDeprecatedAndIncubatingOptions() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Signals some other thread waiting on a satisfied guard, if one exists.
       *
       * <p>We manage calls to this method carefully, to signal only when necessary, but never losing a
       * signal, which is the classic problem of this kind of concurrency construct. We must signal if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  8. src/go/doc/testdata/testing.go

    			}
    			t := &T{
    				common: common{
    					signal: make(chan any),
    				},
    				name:          testName,
    				startParallel: startParallel,
    			}
    			t.self = t
    			if *chatty {
    				fmt.Printf("=== RUN %s\n", t.name)
    			}
    			go tRunner(t, &tests[i])
    			out := (<-t.signal).(*T)
    			if out == nil { // Parallel run.
    				go func() {
    					collector <- <-t.signal
    				}()
    				numParallel++
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  9. src/runtime/os3_solaris.go

    	}
    	mp.g0.stack.lo = mp.g0.stack.hi - uintptr(size)
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		throw("pthread_attr_setdetachstate")
    	}
    
    	// Disable signals during create, so that the new thread starts
    	// with signals disabled. It will enable them in minit.
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    	ret = retryOnEAGAIN(func() int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	Version *version.Info
    
    	// lifecycleSignals provides access to the various signals that happen during the life cycle of the apiserver.
    	lifecycleSignals lifecycleSignals
    
    	// destroyFns contains a list of functions that should be called on shutdown to clean up resources.
    	destroyFns []func()
    
    	// muxAndDiscoveryCompleteSignals holds signals that indicate all known HTTP paths have been registered.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top