Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 150 for calculating (0.07 seconds)

  1. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

        void testConstructorWithNameOnly() {
            // Test with simple pipe name
            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    
            // Verify size calculation
            int expectedSize = 14 + pipeName.getBytes(StandardCharsets.UTF_16LE).length;
            assertEquals(expectedSize, request.size());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. cmd/signature-v2.go

    	"sort"
    	"strconv"
    	"strings"
    
    	xhttp "github.com/minio/minio/internal/http"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Whitelist resource list that will be used in query string for signature-V2 calculation.
    //
    // This list should be kept alphabetically sorted, do not hastily edit.
    var resourceList = []string{
    	"acl",
    	"cors",
    	"delete",
    	"encryption",
    	"legal-hold",
    	"lifecycle",
    	"location",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        void testSizeWithoutInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40)
            // size8 rounds up to nearest multiple of 8
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     */
    fun Project.trimmedContentsOfFile(path: String): Provider<String> =
        providers.fileContents(repoRoot().file(path)).asText.map { it.trim() }
    
    // TODO Simplify the buildTimestamp() calculation if possible
    fun Project.buildTimestamp(): Provider<String> =
        providers.of(BuildTimestampValueSource::class) {
            parameters {
                buildTimestampFromBuildReceipt = buildTimestampFromBuildReceipt()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        protected final List<Map<String, Object>> parent;
    
        /** The starting position of the current page in the overall result set. */
        protected final int start;
    
        /** The offset value used for pagination calculations. */
        protected final int offset;
    
        /** The number of records per page. */
        protected final int pageSize;
    
        /** The current page number (1-based). */
        protected int currentPageNumber;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/Collections2Test.java

                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
            Integer.MAX_VALUE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

     * lifecycle at all, in which case we wouldn't be needing this class at all ( and
     * ProjectBuildList.getByTaskSegments). Or maybe they should be introduced in the calculation
     * of the execution plan instead, which seems much nicer.
     * </p>
     * <p>
     * Additionally this class contains a clone of the MavenSession, which is *only* needed
     * because it has as notion of a "current" project.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.6.md

        will be enforced on all pods by default. To opt-out set
        `--enforce-node-allocatable=””`
      * Hard Eviction Thresholds will be subtracted from Capacity while calculating
        Node Allocatable. This will result in a reduction of schedulable capacity in
        clusters post upgrade where kubelet hard eviction has been turned on for
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(options, readOptions);
        }
    
        @Test
        @DisplayName("Test size calculation without create contexts")
        void testSizeWithoutCreateContexts() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 56;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

                // This can occur due to padding alignment differences between size8() and pad8()
                if (log.isDebugEnabled()) {
                    log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp);
                }
            }
            return len;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top