Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for setStatus (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      if (position < 0)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
      else
        TF_SetStatus(status, TF_OK, "");
    
      return position;
    }
    
    static void Flush(const TF_WritableFile* file, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      TF_SetStatus(status, TF_OK, "");
      if (fflush(posix_file->handle) != 0)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    int64_t Tell(const TF_WritableFile* file, TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      int64_t position = int64_t(gcs_file->outfile.tellp());
      if (position == -1)
        TF_SetStatus(status, TF_INTERNAL,
                     "tellp on the internal temporary file failed");
      else
        TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

          finished_execute_.wait(l);
        }
        if (TF_GetCode(status_.get()) != TF_OK) {
          TF_SetStatus(status, TF_GetCode(status_.get()),
                       TF_Message(status_.get()));
          // Reset the member `status_` so future op executions (after recovery from
          // the bad `status`) start with an OK status.
          TF_SetStatus(status_.get(), TF_OK, "");
        }
        cancellation_manager_ = nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    }
                }
            }).execute()) {
    
                try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) {
                    response.setStatus(curlResponse.getHttpStatusCode());
                    writeHeaders(response);
                    CopyUtil.copy(in, out);
                } catch (final ClientAbortException e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                    if (OPTIONS.equals(httpRequest.getMethod())) {
                        final HttpServletResponse httpResponse = (HttpServletResponse) response;
                        httpResponse.setStatus(HttpServletResponse.SC_ACCEPTED);
                        return;
                    }
                } else if (logger.isDebugEnabled()) {
                    logger.debug("No CorsHandler for {}", origin);
                }
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

                        if (Constants.TRUE.equalsIgnoreCase(infoMap.get(Constants.CRAWLER_STATUS))) {
                            postcard.setStatus(Constants.OK);
                        } else {
                            postcard.setStatus(Constants.FAIL);
                        }
                        postcard.setJobname(systemProperties.getProperty("job.runtime.name", StringUtil.EMPTY));
                    });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        result.promises = promises.toMutableList()
        return result
      }
    
      @JvmName("-deprecated_getStatus")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "status"),
        level = DeprecationLevel.ERROR,
      )
      fun getStatus(): String = status
    
      fun setStatus(status: String) =
        apply {
          this.status = status
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun setResponseCode (I)Lokhttp3/mockwebserver/MockResponse;
    	public final fun setSocketPolicy (Lokhttp3/mockwebserver/SocketPolicy;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun setStatus (Ljava/lang/String;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun setTrailers (Lokhttp3/Headers;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun socketPolicy (Lokhttp3/mockwebserver/SocketPolicy;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental.cc

                                  TF_DataType value, TF_Status* s) {
      Status status =
          unwrap(op)->SetAttrType(attr_name, static_cast<DataType>(value));
      TF_SetStatus(s, static_cast<TF_Code>(status.code()),
                   tsl::NullTerminatedMessage(status));
    }
    
    void TF_ExecuteOperation(TF_AbstractOp* op, int num_inputs,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top