Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for new_state (0.5 sec)

  1. src/cmd/go/internal/script/state.go

    	stderr  string            // standard error from last 'go' command; for 'stderr' command
    
    	background []backgroundCmd
    }
    
    type backgroundCmd struct {
    	*command
    	wait WaitFunc
    }
    
    // NewState returns a new State permanently associated with ctx, with its
    // initial working directory in workdir and its initial environment set to
    // initialEnv (or os.Environ(), if initialEnv is nil).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-annotations.test

    ProcsChange dt=1 procs_value=48 stack=3
    STWEnd dt=184
    GoCreate dt=252 new_g=6 new_stack=4 stack=5
    GoCreate dt=78 new_g=7 new_stack=6 stack=7
    GoCreate dt=73 new_g=8 new_stack=8 stack=9
    UserTaskBegin dt=71 task=1 parent_task=0 name_string=22 stack=10
    UserRegionBegin dt=535 task=1 name_string=23 stack=11
    HeapAlloc dt=26 heapalloc_value=1884160
    GoCreate dt=8 new_g=9 new_stack=12 stack=13
    GoBlock dt=249 reason_string=10 stack=14
    GoStart dt=8 g=9 g_seq=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

      }
      ApiConverter::ToC(old_shape, &old_shape_c);
      executor->TpuTransferManager_GetInfeedLayoutFn(&old_shape_c, &new_shape_c);
      xla::Shape new_shape = ApiConverter::FromC(&new_shape_c);
      ApiConverter::Destroy(&old_shape_c);
      ApiConverter::Destroy(&new_shape_c);
    
      auto minor_to_major = new_shape.layout().minor_to_major();
      return std::vector<int64_t>(minor_to_major.begin(), minor_to_major.end());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		for k, v := range nc.zoneStates {
    			newState := newZoneStates[k]
    			if v == newState {
    				continue
    			}
    			logger.Info("Controller detected that zone is now in new state", "zone", k, "newState", newState)
    			nc.setLimiterInZone(k, len(zoneToNodeConditions[k]), newState)
    			nc.zoneStates[k] = newState
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. src/cmd/trace/goroutinegen.go

    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.GoID](goID)
    		g.gStates[goID] = gs
    	}
    
    	// Try to augment the name of the goroutine.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	defer cancel()
    	changed := make(chan State, 1)
    	go func() {
    		defer xioutil.SafeClose(changed)
    		for {
    			c.connChange.Wait()
    			newState := c.State()
    			select {
    			case changed <- newState:
    				if newState == StateConnected || newState == StateShutdown {
    					c.connChange.L.Unlock()
    					return
    				}
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			}
    		}
    	}()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

    public abstract class ValueState<S> {
        private static final ValueState<Object> FINALIZED_VALUE = new FinalizedValue<>();
    
        /**
         * Creates a new non-finalized state.
         */
        public static <S> ValueState<S> newState(PropertyHost host) {
            return new ValueState.NonFinalizedValue<>(host, Function.identity());
        }
    
        /**
         * Creates a new non-finalized state.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            get_state, _ = self.visit(node.args[3])
            nouts = int(node.args[6].value)
            out_symbols = []
            # The out symbols are just a Tuple of names
            for out in node.args[5].elts[:nouts]:
              val, ty = self.symbol_table.lookup(out.value)
              out_symbols.append(out.value)
            return self._visit_if_stmt(cond, body, orelse, get_state, out_symbols,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

          return {};
        }
      } else if ((new_shape.size() == shape.size() + 1) && new_shape.front() == 1) {
        // Handle the [A, B, C] -> [1, A, B, C] reshape case.
        if (!(std::equal(shape.begin(), shape.end(), new_shape.begin() + 1) &&
              quant_dim == new_shape.size() - 1)) {
          return {};
        }
      } else {
        return {};
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  10. src/cmd/trace/gstate.go

    	startCause struct {
    		time     trace.Time
    		name     string
    		resource uint64
    		stack    trace.Stack
    	}
    }
    
    // newGState constructs a new goroutine state for the goroutine
    // identified by the provided ID.
    func newGState[R resource](goID trace.GoID) *gState[R] {
    	return &gState[R]{
    		baseName:     fmt.Sprintf("G%d", goID),
    		executing:    R(noResource),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top