Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 1,299 for else (0.17 seconds)

  1. cmd/http-tracer.go

    		// Calculate input body size with headers
    		reqHeaders := r.Header.Clone()
    		reqHeaders.Set("Host", r.Host)
    		if len(r.TransferEncoding) == 0 {
    			reqHeaders.Set("Content-Length", strconv.Itoa(int(r.ContentLength)))
    		} else {
    			reqHeaders.Set("Transfer-Encoding", strings.Join(r.TransferEncoding, ","))
    		}
    		inputBytes := reqRecorder.Size()
    		for k, v := range reqHeaders {
    			inputBytes += len(k) + len(v)
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
  2. docs/debugging/inspect/main.go

    			if n > 1 {
    				fn = fmt.Sprintf("%s-%d%s", base, n, ext)
    			}
    
    			if b, err := os.ReadFile(fn); err == nil {
    				privateKeys = append(privateKeys, b)
    				fmt.Println("Added private key from", fn)
    			} else {
    				break
    			}
    			n++
    		}
    
    		// Prompt for decryption key if no --key or --private-key are provided
    		if len(privateKeys) == 0 && !*stdin {
    			reader := bufio.NewReader(os.Stdin)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                    // Toggle example block
                    if (!inExample) {
                        inExample = true;
                        currentSnippets.clear();
                    } else {
                        // Closing an example block: check for reversed order only
                        flagIfReversed(file, errors, currentSnippets);
                        inExample = false;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            if (Artifact.SCOPE_PROVIDED.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else if (Artifact.SCOPE_SYSTEM.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else {
                filter = new ScopeArtifactFilter(expectedScope);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * <h4>Context-sensitive interpretation</h4>
         * A dependency with this path type will not necessarily be placed on the class path.
         * There are two circumstances where the dependency may nevertheless be placed somewhere else:
         *
         * <ul>
         *   <li>If {@link #MODULES} path type is also set, then the dependency can be placed either on the
         *       class path or on the module path, but only one of those. The choice is up to the plugin,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  6. cmd/metrics-v3-types.go

    			continue
    		}
    
    		labels := make([]string, 0, len(metric.VariableLabels)*2)
    		for k, v := range metric.VariableLabels {
    			if newLabel, ok := renameLabels[k]; ok {
    				labels = append(labels, newLabel, v)
    			} else {
    				labels = append(labels, k, v)
    			}
    		}
    		labels = append(labels, extraLabels...)
    		// If valid non zero value set the metrics
    		if metric.Value > 0 {
    			m.Set(name, metric.Value, labels...)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. cmd/sts-handlers.go

    	}
    
    	var policyName string
    	if isRolePolicyProvider {
    		// If roleArn is used, we set it as a claim, and use the
    		// associated policy when credentials are used.
    		claims[roleArnClaim] = roleArn.String()
    	} else {
    		// If no role policy is configured, then we use claims from the
    		// JWT. This is a MinIO STS API specific value, this value
    		// should be set and configured on your identity provider as
    		// part of JWT custom claims.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

            return exception;
        }
    
        @Override
        public String getMessage() {
            String msg;
    
            if (message != null && !message.isEmpty()) {
                msg = message;
            } else {
                msg = exception.getMessage();
    
                if (msg == null) {
                    msg = "";
                }
            }
    
            return msg;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                    modelId = "";
                }
                tmp.addModelId(modelId);
                tmp.setRawModel(modelId, model);
                tmp.setProblems(problems);
                result = tmp;
            } else {
                result = null;
            }
        }
    
        /**
         * Creates a new exception from the specified interim result and its associated problems.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
                projectBuilder = getContainer().lookup(ProjectBuilder.class, "test");
            } else {
                // default over to the main project builder...
                projectBuilder = getContainer().lookup(ProjectBuilder.class);
            }
        }
    
        protected ProjectBuilder getProjectBuilder() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top