Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for calculated (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        @Nonnull
        Map<ChecksumAlgorithm, String> calculate(@Nonnull byte[] data, @Nonnull Collection<ChecksumAlgorithm> algorithms);
    
        /**
         * Calculates checksums for specified data.
         *
         * @param data        The content for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmUtil.java

         * @param clientChallenge the client challenge bytes
         * @param nanos1601 the timestamp in nanoseconds since 1601
         * @param avPairs the AV pairs from the Type 2 message
         * @return the calculated response
         */
        public static byte[] getNTLMv2Response(final byte[] responseKeyNT, final byte[] serverChallenge, final byte[] clientChallenge,
                final long nanos1601, final byte[] avPairs) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacMac.java

        /**
         * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.
         * This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum.
         *
         * @param keyusage the Kerberos key usage number for this operation
         * @param key the encryption key to use for MAC calculation
         * @param data the data to calculate the MAC for
         * @return the calculated MAC bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. internal/hash/errors.go

    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    	ExpectedMD5   string
    	CalculatedMD5 string
    }
    
    func (e BadDigest) Error() string {
    	return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5
    }
    
    // SizeTooSmall reader size too small
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 15 21:08:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

         */
        public static Duration elapsed() {
            return get().elapsedTime();
        }
    
        /**
         * Returns a monotonically increasing instant.
         * <p>
         * The returned instant is calculated by adding the elapsed nanoseconds
         * since clock creation to the initial wall clock time. This ensures that
         * the time never goes backwards and maintains a consistent relationship
         * with the wall clock time.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

            return comparator;
        }
    
        /**
         * Gets the calculated weight for a project, representing its dependency chain length.
         *
         * @param project the project
         * @return the project's weight (higher means longer dependency chain)
         */
        public long getProjectWeight(MavenProject project) {
            // First check if weight is already calculated
            Long existingWeight = projectWeights.get(project);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            testInheritance("no-append-urls3");
        }
    
        /**
         * Tricky case: flat directory structure, but child directory != artifactId.
         * Model interpolation does not give same result when calculated from build or from repo...
         * This is why MNG-5000 fix in code is marked as bad practice (uses file names)
         * @throws IOException Model read problem
         */
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

                Duration elapsed = clock.elapsedTime();
                Duration calculated = Duration.between(clock.startInstant(), now);
    
                // Allow for small timing differences (1ms) due to execution time between measurements
                assertTrue(
                        Math.abs(elapsed.toMillis() - calculated.toMillis()) <= 1,
                        "Elapsed time should match calculated duration between start and now");
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    						for idx, sh := range parityData {
    							calculated := splitData[idx]
    							if !bytes.Equal(calculated, sh) {
    								off := 0
    								for i, v := range sh {
    									if v != calculated[i] {
    										off = i
    										break
    									}
    								}
    								calculated := calculated[off:]
    								inFile := sh[off:]
    								extra := ""
    								if len(calculated) != len(inFile) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** Total number of records across all pages. */
        private int allRecordCount;
    
        /** Total number of pages calculated from record count and page size. */
        private int allPageCount;
    
        /** Flag indicating whether a previous page exists. */
        private boolean existPrePage;
    
        /** Flag indicating whether a next page exists. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top