Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 848 for round (0.02 seconds)

  1. src/archive/tar/strconv_test.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. cmd/encryption-v1.go

    		if off < cumulativeSum+size {
    			partStart = i
    			break
    		}
    		cumulativeSum += size
    		encPartSize, _ := sio.EncryptedSize(uint64(size))
    		encCumulativeSum += int64(encPartSize)
    	}
    	// partStart is always found in the loop above,
    	// because off is validated.
    
    	sseDAREEncPackageBlockSize := int64(SSEDAREPackageBlockSize + SSEDAREPackageMetaSize)
    	startPkgNum := (off - cumulativeSum) / SSEDAREPackageBlockSize
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                if (pomGAV != null && pomGAV.equals(parentGAV)) {
                    return true;
                }
            }
    
            // Parent not found in reactor, must be external
            return false;
        }
    
        /**
         * Determines if parent artifactId can be inferred from relativePath.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    			expHdr, ok := w.Header()[xhttp.AmzExpiration]
    			switch {
    			case ok && tc.want == 0:
    				t.Fatalf("Expected no rule to match but found x-amz-expiration header set: %v", expHdr)
    			case !ok && tc.want > 0:
    				t.Fatal("Expected x-amz-expiration header to be set but not found")
    			}
    		})
    	}
    }
    
    func TestFilterRules(t *testing.T) {
    	rules := []Rule{
    		{
    			ID:     "rule-1",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                }
    
                if (!systemFile.exists()) {
                    throw new ArtifactNotFoundException(
                            "System artifact: " + artifact + " not found in path: " + systemFile, artifact);
                }
    
                if (!systemFile.isFile()) {
                    throw new ArtifactNotFoundException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        /**
         * Returns the first child node with the specified name.
         *
         * @param name the name of the child node to find
         * @return the first matching child node, or {@code null} if none found
         */
        @Nullable
        XmlNode child(String name);
    
        /**
         * Returns the input location information for this node, if available.
         * This can be useful for error reporting and debugging.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * containing the {@code .mvn} directory or flagged with {@code root="true"}.
         *
         * @return the root directory of the project
         * @throws IllegalStateException if the root directory could not be found
         * @see Session#getRootDirectory()
         */
        @Nonnull
        Path getRootDirectory();
    
        /**
         * Returns project parent project, if any.
         * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                relocatedArtifact = rel.relocatedArtifact;
    
                if (rel.project == null) {
                    // When this happens we have a Maven 1.x POM, or some invalid POM.
                    // It should have never found its way into Maven 2.x repository, but it did.
                    dependencies = Collections.emptyList();
                } else {
                    dependencies = rel.project.getModel().getDependencies();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Note: POM might still be modified due to plugin management additions
            }
    
            @Test
            @DisplayName("should not upgrade when property is not found")
            void shouldNotUpgradeWhenPropertyNotFound() throws Exception {
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. docs/en/docs/deployment/https.md

    ///
    
    ## Recap { #recap }
    
    Having **HTTPS** is very important, and quite **critical** in most cases. Most of the effort you as a developer have to put around HTTPS is just about **understanding these concepts** and how they work.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 19:34:08 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top