Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for statusFn (0.22 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

        }
      }
      absl::Status RefreshStatus() override {
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
        stream_executor_->get_stream_status(device_, stream_handle_,
                                            c_status.get());
        absl::Status status = tensorflow::StatusFromTF_Status(c_status.get());
        CheckStatus(status);
        return status;
      }
    
      absl::Status RecordEvent(Event* event) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/response-status-code.md

    <img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image02.png">
    
    !!! note "기술적 세부사항"
        `from starlette import status` 역시 사용할 수 있습니다.
    
        **FastAPI**는 개발자인 여러분의 편의를 위해 `fastapi.status` 와 동일한 `starlette.status` 도 제공합니다. 하지만 이것은 Starlette로부터 직접 제공됩니다.
    
    ## 기본값 변경
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:06:53 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc

        OpInfo op_info(op_def, *api_def, std::vector<string>());
        status.Update(env->NewWritableFile(
            root_location + "/" + op_def.name() + "_fuzz.cc", &fuzz_file));
        status.Update(
            fuzz_file->Append(WriteSingleFuzzer(op_info, OpFuzzingIsOk(op_info))));
        status.Update(fuzz_file->Close());
      }
      TF_CHECK_OK(status);
    }
    
    }  // namespace
    }  // namespace cc_op
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 10:53:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor.cc

      }
    
      absl::Status Init() override { return absl::OkStatus(); }
    
      DeviceMemoryBase Allocate(uint64 size, int64_t memory_space) override {
        SP_DeviceMemoryBase mem = {SP_DEVICE_MEMORY_BASE_STRUCT_SIZE};
        stream_executor_->allocate(&device_, size, memory_space, &mem);
        absl::Status status = ValidateSPDeviceMemoryBase(mem);
        if (!status.ok()) {
          LOG(ERROR) << status.message();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. cmd/bucket-handlers_test.go

    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Delete deleted objects with quiet flag off.
    		2: {
    			bucket:             bucketName,
    			objects:            successRequest0,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedContent:    encodedSuccessResponse0,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 3.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	// Call the ServeHTTP to executes the registered handler.
    	apiRouter.ServeHTTP(rec, req)
    	// Assert the response code with the expected status.
    	if rec.Code != http.StatusOK {
    		t.Fatalf("%s:  Expected the response status to be `%d`, but instead found `%d`", instanceType, http.StatusOK, rec.Code)
    	}
    
    	// decode the response body.
    	decoder := xml.NewDecoder(rec.Body)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    	case obj.Status.StartTime == nil:
    	case obj.Status.CompletionTime == nil:
    		jobDuration = duration.HumanDuration(time.Since(obj.Status.StartTime.Time))
    	default:
    		jobDuration = duration.HumanDuration(obj.Status.CompletionTime.Sub(obj.Status.StartTime.Time))
    	}
    	var status string
    	if hasJobCondition(obj.Status.Conditions, batch.JobComplete) {
    		status = "Complete"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. src/os/exec.go

    			// handleTransientAcquire.
    			panic("release of handle with refcount 0")
    		}
    		if refs == 1 && status == statusOK {
    			// Process holds a persistent reference and always sets
    			// a status when releasing that reference
    			// (handlePersistentRelease). Thus something has gone
    			// wrong if this is the last release but a status has
    			// not always been set.
    			panic("final release of handle without processStatus")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    		status := statuses[container.Name]
    		// If the status we're about to write indicates the default, the Waiting status will force this pod back into Pending.
    		// That isn't true, we know the pod was previously running.
    		isDefaultWaitingStatus := status.State.Waiting != nil && status.State.Waiting.Reason == ContainerCreating
    		if hasInitContainers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    #include <algorithm>
    #include <cstdint>
    #include <iterator>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top