Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

        fun declareLocal(
            localValue: LocalValue,
            assignedObjectOrigin: ObjectOrigin,
            reportError: ErrorCollector
        ) {
            val name = localValue.name
            if (name in ownLocalsByName) {
                reportError.collect(ResolutionError(localValue, ErrorReason.DuplicateLocalValue(name)))
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. operator/pkg/util/progress/progress_test.go

    	bar.ReportProgress()
    	bar.ReportProgress()
    
    	bar.ReportWaiting([]string{"deployment"})
    	expect(`- Processing resources for ` + cnbo + `, ` + cnpo + `. Waiting for deployment`)
    
    	bar.ReportError("some error")
    	expect(`❌ ` + cnbo + ` encountered an error: some error`)
    
    	foo.ReportProgress()
    	expect(`- Processing resources for ` + cnpo + `.`)
    
    	foo.ReportFinished()
    	expect(`🧠 ` + cnpo + ` installed`)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. operator/pkg/util/progress/progress.go

    	finished bool
    	waiting  []string
    	mu       sync.Mutex
    }
    
    func (p *ManifestLog) ReportProgress() {
    	if p == nil {
    		return
    	}
    	p.report()
    }
    
    func (p *ManifestLog) ReportError(err string) {
    	if p == nil {
    		return
    	}
    	p.mu.Lock()
    	p.err = err
    	p.mu.Unlock()
    	p.report()
    }
    
    func (p *ManifestLog) ReportFinished() {
    	if p == nil {
    		return
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modget/get.go

    				packages, err := r.matchInModule(ctx, q.pattern, curM)
    				if len(packages) == 0 {
    					if err != nil {
    						reportError(q, err)
    					}
    					continue // curM is not relevant to q.
    				}
    			}
    
    			rev, err := r.queryModule(ctx, curM.Path, q.version, r.initialSelected)
    			if err != nil {
    				reportError(q, err)
    				continue
    			}
    			if rev.Version == curM.Version {
    				continue // curM already matches q.
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  5. 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)
  6. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultNodeValidator.java

            WorkValidationContext validationContext = validateNode(node);
            List<? extends Problem> problems = validationContext.getProblems();
            logWarnings(problems);
            reportErrors(problems, node.getTask(), validationContext);
            return !problems.isEmpty();
        }
    
        private WorkValidationContext validateNode(LocalTaskNode node) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 4.7K 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. cmd/metrics-v2.go

    	logger.CriticalIf(GlobalContext, registry.Register(nodeCollector))
    	if err := registry.Register(prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{
    		Namespace:    minioNamespace,
    		ReportErrors: true,
    	})); err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	if err := registry.Register(prometheus.NewGoCollector()); err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top