Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 800 for states (0.19 sec)

  1. src/net/http/export_test.go

    			return false
    		}
    	}
    	return true
    }
    
    func (s *Server) ExportAllConnsByState() map[ConnState]int {
    	states := map[ConnState]int{}
    	s.mu.Lock()
    	defer s.mu.Unlock()
    	for c := range s.activeConn {
    		st, _ := c.getState()
    		states[st] += 1
    	}
    	return states
    }
    
    func (r *Request) WithT(t *testing.T) *Request {
    	return r.WithContext(context.WithValue(r.Context(), tLogKey{}, t.Logf))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // `as_result` is true or index-th operand if `as_result` is false. The
        // state is immutable if the type is a quantized type. Returns the index of
        // this new state in the state vector.
        int InitializeState(quantfork::QuantizeRegionOp op, int index,
                            bool as_result);
    
        // Sets the state of the index-th operand of the op. If this operand is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/quantization_info.proto

      message QuantParams {
        // The tensor name has the following convention:
        //     tensor_name := op_name | op_name  ’:’  port_number.
        // If the op has only one port, op_name can be used.
        // If the op has internal states, such as fused LSTM, the port_number should
        // follow a predefined convention.
        oneof name_oneof {
          string name = 1;
    
          // An regex can be used to match multiple tensors.
          string name_regex = 2;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 03:45:04 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  4. src/html/template/html.go

    		if c.delim == delimNone {
    			st := c.state
    			// Use RCDATA instead of parsing into JS or CSS styles.
    			if c.element != elementNone && !isInTag(st) {
    				st = stateRCDATA
    			}
    			d, nread := transitionFunc[st](c, s[i:])
    			i1 := i + nread
    			if c.state == stateText || c.state == stateRCDATA {
    				// Emit text up to the start of the tag or comment.
    				j := i1
    				if d.state != c.state {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:42:28 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockCoordinationService.java

         *
         * FINISHED - All locks were acquired, release the state lock
         * FAILED - One or more locks were not acquired, roll back any locks that were acquired and release the state lock
         * RETRY - One or more locks were not acquired, roll back any locks that were acquired and block waiting for the
         * state to change, then run the transform again
         *
         * @return true if the lock state changes finished successfully, otherwise false.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/metrics/metrics_test.go

    	metricCollector := &totalPluginsCollector{asw: asw, dsw: dsw}
    
    	// Check if getPluginCount returns correct data
    	count := metricCollector.getPluginCount()
    	if len(count) != 2 {
    		t.Errorf("getPluginCount failed. Expected <2> states, got <%d>", len(count))
    	}
    
    	dswCount, ok := count["desired_state_of_world"]
    	if !ok {
    		t.Errorf("getPluginCount failed. Expected <desired_state_of_world>, got nothing")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 12:48:20 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/DirectExecutorService.java

    final class DirectExecutorService extends AbstractListeningExecutorService {
    
      /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. pkg/kubelet/container/cache.go

    	if !ok && globalTimestampIsNewer {
    		// Status is not cached, but the global timestamp is newer than
    		// minTime, return the default status.
    		return makeDefaultData(id)
    	}
    	if ok && (d.modified.After(minTime) || globalTimestampIsNewer) {
    		// Status is cached, return status if either of the following is true.
    		//   * status was modified after minTime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 07:37:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt

    # same possible root states, but in a different order from the eager case.)
    #
    # TODO(bcmills): if we retained the upgrades on w, x, and y (since they are
    # lexical prefixes for unresolved packages w, x, and y, respectively), then 'go
    # mod tidy -e' itself would become stable and no longer cycle through states.
    
    cp go.mod.orig go.mod
    go mod edit -go=1.17 go.mod
    cp go.mod go.mod.117
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. src/runtime/sigqueue.go

    	// Notify receiver that queue has new bit.
    Send:
    	for {
    		switch sig.state.Load() {
    		default:
    			throw("sigsend: inconsistent state")
    		case sigIdle:
    			if sig.state.CompareAndSwap(sigIdle, sigSending) {
    				break Send
    			}
    		case sigSending:
    			// notification already pending
    			break Send
    		case sigReceiving:
    			if sig.state.CompareAndSwap(sigReceiving, sigIdle) {
    				if GOOS == "darwin" || GOOS == "ios" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top