Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setStatus (0.18 sec)

  1. cmd/admin-bucket-handlers.go

    			if err != nil {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("%s (%s)", errorCodes[ErrMalformedXML].Description, err))
    				continue
    			}
    
    			configData, err := xml.Marshal(config)
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			bucketMap[bucket].NotificationConfigXML = configData
    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketPolicyConfig:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

                                                      const char* description) {
      auto* result = new TFE_MonitoringCounter0({name, description});
      tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus());
      if (!result->counter->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    
    void TFE_MonitoringDeleteCounter0(TFE_MonitoringCounter0* counter) {
      delete counter;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. cmd/global-heal.go

    	for _, disk := range si.Disks {
    		setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex)
    		indexed[setIdx] = append(indexed[setIdx], disk)
    	}
    
    	for id, disks := range indexed {
    		ss := madmin.SetStatus{
    			ID:        id,
    			SetIndex:  disks[0].SetIndex,
    			PoolIndex: disks[0].PoolIndex,
    		}
    		for _, disk := range disks {
    			ss.Disks = append(ss.Disks, disk)
    			if disk.Healing {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_test.cc

    }
    
    TEST(CAPI, Version) { EXPECT_STRNE("", TF_Version()); }
    
    TEST(CAPI, Status) {
      TF_Status* s = TF_NewStatus();
      EXPECT_EQ(TF_OK, TF_GetCode(s));
      EXPECT_EQ(string(), TF_Message(s));
      TF_SetStatus(s, TF_CANCELLED, "cancel");
      EXPECT_EQ(TF_CANCELLED, TF_GetCode(s));
      EXPECT_EQ(string("cancel"), TF_Message(s));
      TF_DeleteStatus(s);
    }
    
    void Deallocator(void* data, size_t, void* arg) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  5. tensorflow/c/c_api.cc

          ->set_disable_optimize_for_static_graph(true);
    }
    
    void TF_TensorFromProto(const TF_Buffer* from, TF_Tensor* to,
                            TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      tensorflow::TensorProto from_tensor_proto;
      status->status = BufferToMessage(from, &from_tensor_proto);
      if (!status->status.ok()) {
        return;
      }
      status->status =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                }
    
                DistributionManagement distMgmt = m.getDistributionManagement();
                if (distMgmt != null) {
                    if (distMgmt.getStatus() != null) {
                        addViolation(
                                problems,
                                Severity.ERROR,
                                Version.V20,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 65K bytes
    - Viewed (0)
Back to top