Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for k8serrors (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
          return
        }
        try {
          super.write(source, byteCount)
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
        }
      }
    
      override fun flush() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

                    problemsList.add(modelProblem);
                }
    
                if (result.hasErrors()) {
                    hasErrors = true;
                }
            }
            return new Result<>(hasErrors, (Iterable<T>) modelsList, problemsList);
        }
    
        // helper to determine if problems contain error
        private static boolean hasErrors(Iterable<? extends ModelProblem> problems) {
            for (ModelProblem input : problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    public interface ModelProblemCollector {
    
        /**
         * The collected problems.
         * @return a list of model problems encountered, never {@code null}
         */
        List<ModelProblem> getProblems();
    
        boolean hasErrors();
    
        boolean hasFatalErrors();
    
        default void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) {
            add(severity, version, message, null, null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                severities.add(problem.getSeverity());
            }
        }
    
        public boolean hasFatalErrors() {
            return severities.contains(ModelProblem.Severity.FATAL);
        }
    
        public boolean hasErrors() {
            return severities.contains(ModelProblem.Severity.ERROR) || severities.contains(ModelProblem.Severity.FATAL);
        }
    
        @Override
        public List<ModelProblem> getProblems() {
            return problems;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            }
    
            eventCatapult.fire(ExecutionEvent.Type.ProjectDiscoveryStarted, session, null);
    
            Result<? extends ProjectDependencyGraph> graphResult = buildGraph(session);
    
            if (graphResult.hasErrors()) {
                return addExceptionToResult(
                        result, graphResult.getProblems().iterator().next().getException());
            }
    
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	madminStorageInfo      = grid.NewJSONPool[madmin.StorageInfo]()
    	madminSysConfig        = grid.NewJSONPool[madmin.SysConfig]()
    	madminSysErrors        = grid.NewJSONPool[madmin.SysErrors]()
    	madminSysServices      = grid.NewJSONPool[madmin.SysServices]()
    
    	// Request -> Response RPC calls
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/notification.go

    	nodeInfo.SetAddr(addr)
    	nodeInfo.SetError(err.Error())
    }
    
    // GetSysErrors - Memory information
    func (sys *NotificationSys) GetSysErrors(ctx context.Context) []madmin.SysErrors {
    	reply := make([]madmin.SysErrors, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		index := index
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  8. cmd/peer-rest-client.go

    		info.Config["time-info"] = ti
    	}
    	return info, err
    }
    
    // GetSysErrors - fetch sys errors for a remote node.
    func (client *peerRESTClient) GetSysErrors(ctx context.Context) (info madmin.SysErrors, err error) {
    	resp, err := getSysErrorsRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    // GetMemInfo - fetch memory information for a remote node.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

        }
    
        protected boolean hasModelErrors(ModelProblemCollectorExt problems) {
            if (problems instanceof DefaultModelProblemCollector) {
                return ((DefaultModelProblemCollector) problems).hasErrors();
            } else {
                // the default execution path only knows the DefaultModelProblemCollector,
                // only reason it's not in signature is because it's package private
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top