Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,085 for Ensure (0.1 seconds)

  1. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            assertEquals(-1, result);
        }
    
        @Test
        public void test_setProcessDestroyTimeout() {
            processHelper.setProcessDestroyTimeout(20);
            // We can't directly verify the timeout value, but we can ensure the method doesn't throw
            assertTrue(true);
        }
    
        @Test
        public void test_sendCommand_jobNotFound() {
            try {
                processHelper.sendCommand("nonexistent", "test command");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String name = "getName";
            String[] values = { "test" };
            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals(name, param.getName());
            // Call multiple times to ensure consistency
            assertEquals(name, param.getName());
            assertEquals(name, param.getName());
        }
    
        @Test
        public void test_getValues() {
            // Test getValues method explicitly
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. docs/changelogs/changelog_1x.md

     * Fix: Do not directly support any authentication schemes other than "Basic".
     * Fix: Respect read timeouts on recycled connections.
     * Fix: Transmit multiple cookie values as a single header with delimiter.
     * Fix: Ensure `null` is never returned from a connection's `getHeaderFields()`.
     * Fix: Persist proper `Content-Encoding` header to cache for GZip responses.
     * Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(fid, securityInformation);
            byte[] dst = new byte[15]; // Increased buffer size to accommodate offset + 8 bytes
            int offset = 3; // start in the middle to ensure no tail is overwritten
            int bytesWritten = cmd.writeParametersWireFormat(dst, offset);
            assertEquals(8, bytesWritten, "writeParametersWireFormat should write 8 bytes");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus());
    
            // Verify: constructor should not have interacted with the cause
            Mockito.verifyNoInteractions(mockCause);
        }
    
        /**
         * Ensure toString includes the exception class name and message, providing a readable representation.
         */
        @Test
        @DisplayName("toString contains class name and message")
        void toString_containsClassAndMessage() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

    /**
     * Resident invoker implementation, specialization of Maven Invoker, but keeps Maven instance resident. This implies, that
     * things like environment, system properties, extensions etc. are loaded only once. It is caller duty to ensure
     * that subsequent call is right for the resident instance (ie no env change or different extension needed).
     * This implementation "pre-populates" MavenContext with pre-existing stuff (except for very first call)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. tests/test_compat.py

        # to be read from files and other types, but I'm not even sure it's a good idea
        # to support it as a first class "feature"
        assert is_bytes_sequence_annotation(list[str] | list[bytes])
    
    
    def test_is_uploadfile_sequence_annotation():
        # For coverage
        # TODO: in theory this would allow declaring types that could be lists of UploadFile
        # and other types, but I'm not even sure it's a good idea to support it as a first
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. cmd/post-policy-fan-out.go

    	Checksum *hash.Checksum
    	MD5Hex   string
    }
    
    // fanOutPutObject takes an input source reader and fans out multiple PUT operations
    // based on the incoming fan-out request, a context cancellation by the caller
    // would ensure all fan-out operations are canceled.
    func fanOutPutObject(ctx context.Context, bucket string, objectAPI ObjectLayer, fanOutEntries []minio.PutObjectFanOutEntry, fanOutBuf []byte, opts fanOutOptions) ([]ObjectInfo, []error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

         * This method calibrates CPU load, checks crawler status, applies
         * interval control rules, and then calls the parent implementation.
         * All operations are wrapped in exception handling to ensure robustness
         * in test and production environments.
         */
        @Override
        protected void delayForWaitingNewUrl() {
            try {
                ComponentUtil.getSystemHelper().calibrateCpuLoad();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 07:09:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top