Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for new_state (0.86 sec)

  1. pkg/kubelet/winstats/network_stats.go

    	var adapters []string
    	for adapterName, value := range packetsReceivedPerSecondData {
    		adapters = append(adapters, adapterName)
    		newStat := n.adapterStats[adapterName]
    		newStat.Name = adapterName
    		newStat.RxPackets = newStat.RxPackets + value
    		n.adapterStats[adapterName] = newStat
    	}
    
    	return adapters
    }
    
    func (n *networkCounter) mergePacketsSentPerSecondData(packetsSentPerSecondData map[string]uint64) []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pkg/kubelet/pleg/generic.go

    	}
    	return true, nil
    }
    
    func generateEvents(podID types.UID, cid string, oldState, newState plegContainerState) []*PodLifecycleEvent {
    	if newState == oldState {
    		return nil
    	}
    
    	klog.V(4).InfoS("GenericPLEG", "podUID", podID, "containerID", cid, "oldState", oldState, "newState", newState)
    	switch newState {
    	case plegContainerRunning:
    		return []*PodLifecycleEvent{{ID: podID, Type: ContainerStarted, Data: cid}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy

            def resolveState = Stub(ResolveState)
    
            def newState = new NodeState(idIdx++, Stub(ComponentState), resolveState, state, true)
            // if there are outgoing endorsing edges, also include a normal edge to make sure that it is filtered out
            metadata.dependencies >> ((0..<outgoingEndorsing).collect { edge(newState).dependencyMetadata } + (outgoingEndorsing > 0 ? [edge(newState, false).dependencyMetadata] : []))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

            var reportFile: File?
            modifyState {
                val (newState, outputFile) = commitReportTo(outputDirectory, buildDisplayName, cacheAction, requestedTasks, totalProblemCount)
                reportFile = outputFile
                newState
            }
            return reportFile
        }
    
        private
        inline fun modifyState(f: State.() -> State) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/debug.go

    	// other values as these are modified.
    	newState := baseState
    	if updating {
    		newState = blockLocs[b.ID].startState
    	}
    
    	for it := newState.Iterator(); !it.Done(); {
    		k, d := it.Next()
    		thisSlot := d.(*liveSlot)
    		x := thisSlot.VarLoc
    		x0 := x // initial value in newState
    
    		// Intersect this slot with the slot in all the predecessors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          //   [H, W, ..., filter_in_depth, G, out_depth / G].
          auto new_shape = llvm::to_vector<6>(filter_shape);
          new_shape.back() = feature_group_count;
          new_shape.push_back(filter_shape.back() / feature_group_count);
          Type filter_element_ty = filter_ty.getElementType();
          auto ty =
              tensorflow::GetTypeFromTFTensorShape(new_shape, filter_element_ty);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    //sys	AdjustTokenPrivileges(token Token, disableAllPrivileges bool, newstate *Tokenprivileges, buflen uint32, prevstate *Tokenprivileges, returnlen *uint32) (err error) = advapi32.AdjustTokenPrivileges
    //sys	AdjustTokenGroups(token Token, resetToDefault bool, newstate *Tokengroups, buflen uint32, prevstate *Tokengroups, returnlen *uint32) (err error) = advapi32.AdjustTokenGroups
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

          rewriter.replaceOp(op, {input});
          return success();
        }
    
        RankedTensorType shape_type =
            tensorflow::GetTypeFromTFTensorShape({-1}, rewriter.getIntegerType(32));
        auto new_shape = rewriter.create<TF::ShapeOp>(loc, shape_type, input);
        SmallVector<int64_t, 8> output_shape(/*Size=*/1, op.getNumElements());
        for (const auto &dim : dense_elem_attr.getValues<APInt>())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          SmallVector<int64_t> new_shape(shape.begin(), shape.end());
          // If dimension of the input type is dynamic. Update the
          // bounds of the dim with the new type if needed.
          for (int i = 0; i < input_ty.getShape().size(); i++) {
            if (hlo::isDynamicDimSize(input_ty.getShape()[i])) {
              new_bounds[i] = new_shape[i];
              new_shape[i] = ShapedType::kDynamic;
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top