Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 110 for calculating (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            // Even with -1, the do-while loop executes at least once due to the bug
            assertEquals(1, response.getResults().length);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with offset calculation")
        void testReadBytesWireFormatOffsetCalculation() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameTest.java

        }
    
        @Test
        void readWireFormat_withNonSpacePaddingCharacters_shouldPreserveLength() {
            // Test that non-space characters in padding are preserved in length calculation
            byte[] src = new byte[100];
            src[0] = 0x20;
    
            // Encode "AB" followed by non-space padding
            src[1] = 'E';
            src[2] = 'B'; // A
            src[3] = 'E';
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    pageSize, offset);
        }
    
        /**
         * Converts an object value to a float for score calculations.
         * Handles Float and String types, returning 0.0f for unsupported types.
         *
         * @param value the object to convert to float
         * @return float representation of the value, or 0.0f if conversion fails
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertArrayEquals(bufferCopy, buffer, "Buffer content should not be modified");
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with offset calculation")
        void testReadBytesWireFormatOffsetCalculation() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with converter offset")
        void testReadDataWireFormatWithConverter() throws Exception {
            // Set converter to test offset calculation
            int converterValue = 100;
            setConverter(response, converterValue);
            setNumEntries(response, 1);
    
            String serverName = "TEST";
            String comment = "Test comment";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SmbCircuitBreaker.java

                if (maxResponseTime.compareAndSet(currentMax, responseTimeMs)) {
                    break;
                }
                currentMax = maxResponseTime.get();
            }
    
            // Add to history for percentile calculation
            responseTimeHistory.addLast(responseTimeMs);
            if (responseTimeHistory.size() > 1000) { // Keep last 1000 measurements
                responseTimeHistory.removeFirst();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        AbstractFuture<Object> testFuture =
            new AbstractFuture<Object>() {
              @Override
              public String pendingToString() {
                // Complete ourselves during the toString calculation
                this.set(true);
                return "cause=[Because this test isn't done]";
              }
            };
        assertThat(testFuture.toString())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        }
    
        private final Map<String, Integer> batchLimits = new HashMap<>();
    
        /** Local process ID for SMB messages */
        protected int localPid = -1;
        /** Local timezone for time calculations */
        protected TimeZone localTimeZone;
        /** Secure random generator for cryptographic operations */
        protected SecureRandom random;
        /** Whether to use command batching for improved performance */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.4.md

    * Fix kube vsphere.kerneltime ([#34997](https://github.com/kubernetes/kubernetes/pull/34997), [@kerneltime](https://github.com/kerneltime))
    * HPA: fixed wrong count for target replicas calculations ([#34821](https://github.com/kubernetes/kubernetes/pull/34821)). ([#34955](https://github.com/kubernetes/kubernetes/pull/34955), [@jszczepkowski](https://github.com/jszczepkowski))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                    assertEquals(i + 1, context.getHashAlgos()[i]);
                }
                assertArrayEquals(salt, context.getSalt());
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeCalculationTests {
    
            @Test
            @DisplayName("Should calculate size for null hash algorithms and salt")
            void testSizeWithNullHashAlgosAndSalt() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
Back to top