Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,544 for Then (0.02 sec)

  1. src/test/java/jcifs/CloseableIteratorTest.java

        @DisplayName("Should define close method")
        void testCloseMethod() throws CIFSException {
            // When
            mockIterator.close();
    
            // Then
            verify(mockIterator).close();
        }
    
        @Test
        @DisplayName("Should extend Iterator and AutoCloseable")
        void testInterfaceInheritance() {
            // Then
            assertTrue(java.util.Iterator.class.isAssignableFrom(CloseableIterator.class));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 964 bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        public void testSflagsField(byte value) {
            // When
            serverData.sflags = value;
    
            // Then
            assertEquals(value, serverData.sflags);
        }
    
        /**
         * Test setting and getting int fields
         */
        @Test
        @DisplayName("Test int fields with various values")
        public void testIntFields() {
            // When
            serverData.sflags2 = 0x12345678;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

        }
    
        /**
         * Registers a callback to be executed when the computation is complete.
         * @param consumer The callback.
         * @return The promise.
         */
        public Promise then(final Consumer<RESPONSE> consumer) {
            return promise.then(consumer);
        }
    
        /**
         * Registers a callback to be executed when the computation fails.
         * @param consumer The callback.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. helm/minio/templates/_helper_create_user.txt

      if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then
        echo "credentials file does not exist"
        return 1
      fi
      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the user if it does not exist
      if ! checkUserExists ; then
        echo "Creating user '$USER'"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

            // GIVEN an unknown auth type
            int unknownAuthType = -1;
            byte[] emptyToken = new byte[0];
    
            // WHEN parsing the auth data
            List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys);
    
            // THEN the result should be an empty list
            assertNotNull(result, "The result should not be null.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

     * parallel execution efficiency.
     *
     * <p>The algorithm calculates a weight for each project as:
     * weight = 1 + max(downstream_project_weights)
     *
     * <p>Projects are then sorted by weight in descending order, ensuring that
     * projects with longer dependency chains are built first. When projects have
     * the same weight, they are ordered by project ID for deterministic results.
     *
     * <p><b>Example:</b>
    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. docs/en/docs/tutorial/testing.md

    You could then update `test_main.py` with the extended tests:
    
    {* ../../docs_src/app_testing/app_b_an_py310/test_main.py *}
    
    
    Whenever you need the client to pass information in the request and you don't know how to, you can search (Google) how to do it in `httpx`, or even how to do it with `requests`, as HTTPX's design is based on Requests' design.
    
    Then you just do the same in your tests.
    
    E.g.:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_3site_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb sitec; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *   <li>If {@link #MODULES} path type is also set, then the dependency can be placed either on the
         *       class path or on the module path, but only one of those. The choice is up to the plugin,
         *       possibly using heuristic rules (Maven 3 behavior).</li>
         *   <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module path,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 15.7K bytes
    - Viewed (1)
  10. docs/en/docs/advanced/behind-a-proxy.md

    The `root_path` is used to handle these specific cases.
    
    And it's also used internally when mounting sub-applications.
    
    Having a proxy with a stripped path prefix, in this case, means that you could declare a path at `/app` in your code, but then, you add a layer on top (the proxy) that would put your **FastAPI** application under a path like `/api/v1`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top