Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for reportError (0.43 sec)

  1. src/cmd/go/internal/modget/query.go

    		cs.path = path
    		q.candidatesMu.Lock()
    		q.candidates = append(q.candidates, cs)
    		q.candidatesMu.Unlock()
    	}
    }
    
    // reportError logs err concisely using base.Errorf.
    func reportError(q *query, err error) {
    	errStr := err.Error()
    
    	// If err already mentions all of the relevant parts of q, just log err to
    	// reduce stutter. Otherwise, log both q and err.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/wasm/asm.go

    	Name   string
    	Type   uint32
    	Code   []byte
    }
    
    type wasmFuncType struct {
    	Params  []byte
    	Results []byte
    }
    
    func readWasmImport(ldr *loader.Loader, s loader.Sym) obj.WasmImport {
    	reportError := func(err error) { panic(fmt.Sprintf("failed to read WASM import in sym %v: %v", s, err)) }
    
    	data := ldr.Data(s)
    
    	readUint32 := func() (v uint32) {
    		v = binary.LittleEndian.Uint32(data)
    		data = data[4:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/grpcgen/grpcgen_test.go

    	resolver.ClientConn
    	stateCh chan resolver.State
    	errorCh chan error
    }
    
    func (t *testClientConn) UpdateState(s resolver.State) error {
    	t.stateCh <- s
    	return nil
    }
    
    func (t *testClientConn) ReportError(err error) {
    	t.errorCh <- err
    }
    
    func (t *testClientConn) ParseServiceConfig(jsonSC string) *serviceconfig.ParseResult {
    	// Will be called with something like:
    	// {"loadBalancingConfig":[
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     new FutureCallback<QueryResult>() {
       *       public void onSuccess(QueryResult result) {
       *         storeInCache(result);
       *       }
       *       public void onFailure(Throwable t) {
       *         reportError(t);
       *       }
       *     }, executor);
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     new FutureCallback<QueryResult>() {
       *       public void onSuccess(QueryResult result) {
       *         storeInCache(result);
       *       }
       *       public void onFailure(Throwable t) {
       *         reportError(t);
       *       }
       *     }, executor);
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.cc

            "Coordination service is not enabled.");
        return;
      }
      tensorflow::Status s(static_cast<absl::StatusCode>(error_code),
                           error_message);
      status->status = coord_agent->ReportError(s);
    }
    
    void TFE_GetTaskStates(TFE_Context* ctx, const TF_Buffer& tasks, void* states,
                           TF_Status* status) {
      tensorflow::ImmediateExecutionDistributedManager* dist_mgr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

        return mlir::success();
      }
      if (report_error)
        llvm::errs() << std::string(sharding_hlo.status().message()) << "\n";
      return mlir::failure();
    }
    
    mlir::LogicalResult DecodeShardingAttribute(mlir::Attribute shard_attr,
                                                xla::OpSharding& sharding,
                                                bool report_error) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/catalog/parser/TomlCatalogFileParser.java

                .severity(ERROR);
        }
    
        private void assertNoParseErrors(TomlParseResult result) {
            if (result.hasErrors()) {
                List<TomlParseError> errors = result.errors();
                reportErrors(errors);
    
                TreeFormatter formatter = new TreeFormatter();
                formatter.node(INVALID_TOML_CATALOG_DEFINITION);
                formatter.startChildren();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top