Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 200 for isStatus (0.13 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			}
    
    			setCgroupVersionDuringTest(cgroupV1)
    
    			pod.Spec.Containers[0].Resources = v1.ResourceRequirements{Limits: tc.limits, Requests: tc.requests}
    			if len(tc.cStatus) > 0 {
    				pod.Status.ContainerStatuses = tc.cStatus
    			}
    			resources := m.generateLinuxContainerResources(pod, &pod.Spec.Containers[0], false)
    			tc.expected.HugepageLimits = resources.HugepageLimits
    			if !cmp.Equal(resources, tc.expected) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit.go

    func (f *Fit) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	s, err := getPreFilterState(cycleState)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    	insufficientResources := fitsRequest(s, nodeInfo, f.ignoredResources, f.ignoredResourceGroups)
    
    	if len(insufficientResources) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    		return nil
    	}
    	var podPVTopologies []pvTopology
    	state, err := getStateData(cs)
    	if err != nil {
    		// Fallback to calculate pv list here
    		var status *framework.Status
    		podPVTopologies, status = pl.getPVbyPod(ctx, pod)
    		if !status.IsSuccess() {
    			return status
    		}
    	} else {
    		podPVTopologies = state.podPVTopologies
    	}
    
    	node := nodeInfo.Node()
    	hasAnyNodeConstraint := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      absl::Status s = tensorflow::SetPjRtClientInTFGlobalResourceManager(
          tensorflow::DeviceType(device_type), std::move(*pjrt_client));
      status->status = s;
    }
    
    void TF_ResetPjRtCClient(const char* device_type, TF_Status* status) {
      status->status =
          tensorflow::ResetPjRtClient(tensorflow::DeviceType(device_type));
    }
    
    PJRT_Client* TF_GetPjRtCClient(const char* device_type, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

        TF_SetStatus(status, TF_OK, "");
        test_util::PopulateDefaultPlatformRegistrationParams(params);
        params->platform_fns->create_device = nullptr;
      };
    
      std::string device_type, platform_name;
      absl::Status status =
          InitStreamExecutorPlugin(plugin_init, &device_type, &platform_name);
      ASSERT_EQ(status.code(), tensorflow::error::FAILED_PRECONDITION);
      ASSERT_EQ(status.message(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

      status->status = c.construction_status();
      if (!status->status.ok()) return;
    
      if (op_reg_data->shape_inference_fn == nullptr) {
        status->status =
            InvalidArgument("No shape inference function exists for op '",
                            node_def.op(), "', did you forget to define it?");
        return;
      }
    
      status->status = c.Run(op_reg_data->shape_inference_fn);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

                     int* num_retvals) override;
    
      Status SetAttrString(const char* attr_name, const char* data,
                           size_t length) override;
      Status SetAttrInt(const char* attr_name, int64_t value) override;
      Status SetAttrFloat(const char* attr_name, float value) override;
      Status SetAttrBool(const char* attr_name, bool value) override;
      Status SetAttrType(const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. pkg/controller/deployment/progress_test.go

    			},
    		},
    		Status: newDeploymentStatus(statusReplicas, updatedReplicas, availableReplicas),
    	}
    	d.Status.Conditions = conditions
    	return d
    }
    
    // helper to create RS with given availableReplicas
    func newRSWithAvailable(name string, specReplicas, statusReplicas, availableReplicas int32) *apps.ReplicaSet {
    	rs := rs(name, specReplicas, nil, metav1.Time{})
    	rs.Status = apps.ReplicaSetStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationRunner.java

            @Override
            public String getStatus() {
                return status;
            }
    
            @Override
            public void setStatus(@Nullable String status) {
                this.status = status;
            }
    
            @Override
            public void progress(String status) {
                listener.progress(descriptor, status);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:33:49 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_tpu_device.cc

      ApiConverter::StackHelper<XLA_Shape> tpu_shape;
      StatusHelper status;
      stream_executor::tpu::ExecutorApiFn()->XlaShapeToTpuShapeRepresentationFn(
          &se_shape.value, type, use_fast_memory, &tpu_shape.value,
          status.c_status);
      if (!status.status().ok()) {
        return status.status();
      }
      return tpu_shape.AsCpp<xla::Shape>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top