Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 104 for internalError (0.39 sec)

  1. src/go/printer/printer.go

    	nodeSizes map[ast.Node]int
    
    	// Cache of most recently computed line position.
    	cachedPos  token.Pos
    	cachedLine int // line corresponding to cachedPos
    }
    
    func (p *printer) internalError(msg ...any) {
    	if debug {
    		fmt.Print(p.pos.String() + ": ")
    		fmt.Println(msg...)
    		panic("go/printer")
    	}
    }
    
    // commentsHaveNewline reports whether a list of comments belonging to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

                         mlir::tf_saved_model::TensorFlowSavedModelDialect>();
      }
    
      absl::StatusOr<std::string> MakeTempDir() {
        std::string tmp_dir{};
        if (!env_->LocalTempFilename(&tmp_dir)) {
          return absl::InternalError("Failed to create temp file.");
        }
    
        TF_CHECK_OK(env_->CreateDir(tmp_dir));
        return tmp_dir;
      }
    
      // Parses `module_op_str` to create a `ModuleOp`. Checks whether the created
      // module op is valid.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. tensorflow/c/kernels_experimental.cc

      auto* context = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      tensorflow::ResourceMgr* rm = context->resource_manager();
      OP_REQUIRES(context, rm,
                  absl::InternalError("No per-step resource manager."));
    
      std::string unique_name =
          TemporaryVariableName(var_name->data, context->frame_iter());
      auto* tmp_var = new TmpVar;
      OP_REQUIRES(context, tmp_var,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    			return field.Required(fldPath, celErr.Detail)
    		case cel.ErrorTypeInvalid:
    			return field.Invalid(fldPath, expression, celErr.Detail)
    		default:
    			return field.InternalError(fldPath, celErr)
    		}
    	}
    	return field.InternalError(fldPath, fmt.Errorf("error is not cel error: %w", err))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		ctx := r.Context()
    		requestInfo, ok := apirequest.RequestInfoFrom(ctx)
    
    		if !ok {
    			responsewriters.InternalError(w, r, errors.New("no RequestInfo found in the context"))
    			return
    		}
    
    		// Allow non-resource requests
    		if !requestInfo.IsResourceRequest {
    			klog.V(3).Infof("Not a resource request skipping proxying")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    			ruleActivation = optionalOldSelfActivation
    		}
    
    		evalResult, evalDetails, err := compiled.Program.ContextEval(ctx, ruleActivation)
    		if evalDetails == nil {
    			errs = append(errs, field.InternalError(fldPath, fmt.Errorf("runtime cost could not be calculated for validation rule: %v, no further validation rules will be run", ruleErrorString(rule))))
    			return errs, -1
    		} else {
    			rtCost := evalDetails.ActualCost()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

        AbstractTensorHandlePtr owned_resource_handle(resource_handle);
        if (!tensorflow::isa<ImmediateExecutionTensorHandle>(
                owned_resource_handle.get())) {
          return absl::InternalError("Unexpected tensor handle kind.");
        }
        ImmediateTensorHandlePtr result(
            reinterpret_cast<ImmediateExecutionTensorHandle*>(
                owned_resource_handle.release()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      }
    
      Method quantization_method;
      const std::string method_txtpb = quantization_method_attr.getValue().str();
      if (!TextFormat::ParseFromString(method_txtpb, &quantization_method)) {
        return absl::InternalError(
            absl::StrCat("Failed to parse Method from textproto: ", method_txtpb));
      }
    
      return quantization_method;
    }
    
    Method GetQuantizationMethodOrDefault(absl::Nonnull<Operation*> op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/stream_executor/stream_executor.cc

          uint64 size) override {
        auto* buffer = stream_executor_->host_memory_allocate(&device_, size);
        if (buffer == nullptr && size > 0) {
          return absl::InternalError(
              absl::StrFormat("Failed to allocate HostMemory of size %d", size));
        }
        return std::make_unique<HostMemoryAllocation>(buffer, size, this);
      }
    
      void HostMemoryDeallocate(void* mem) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		Description:    "You did not provide the number of bytes specified by the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInternalError: {
    		Code:           "InternalError",
    		Description:    "We encountered an internal error, please try again.",
    		HTTPStatusCode: http.StatusInternalServerError,
    	},
    	ErrInvalidAccessKeyID: {
    		Code:           "InvalidAccessKeyId",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top