Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 708 for two (0.01 sec)

  1. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        void testCircuitClosesAfterSuccessThreshold() throws Exception {
            // Open the circuit
            circuitBreaker.tripBreaker();
    
            // Wait for timeout
            Thread.sleep(150);
    
            // Two successful calls should close the circuit
            circuitBreaker.call(() -> "success1");
            assertEquals(SimpleCircuitBreaker.State.HALF_OPEN, circuitBreaker.getState());
    
            circuitBreaker.call(() -> "success2");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

        }
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
       * the information of these hash codes in an ordered fashion. That is, whenever two equal hash
       * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each
       * was computed from the <i>same</i> input hash codes in the <i>same</i> order.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

       * exists. The resulting range may be empty if the two ranges are adjacent but non-overlapping.
       *
       * <p>For example, the gap of {@code [1..5]} and {@code (7..10)} is {@code (5..7]}. The resulting
       * range may be empty; for example, the gap between {@code [1..5)} {@code [5..7)} yields the empty
       * range {@code [5..5)}.
       *
       * <p>The gap exists if and only if the two ranges are either disconnected or immediately adjacent
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     * Defines the type of source files to compile, usually either the one that compose the output package
     * (i.e. the <i>main</i> artifact) or the ones that will be used when building <i>tests</i>).
     * <p>
     * This extensible enum has two defined values, {@link #MAIN} and {@link #TEST},
     * but can be extended by registering a {@code org.apache.maven.api.spi.ProjectScopeProvider}.
     * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                .build();
    
        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

                return text.substring(prefix.length());
            }
            return text;
        }
    
        /**
         * Decapitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be decapitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.decapitalize("UserId")  = "userId"
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            assertEquals(2, response.numEntries, "Number of entries should be 2.");
        }
    
        /**
         * Tests the readDataWireFormat method.
         * This test simulates a response with two share entries.
         */
        @Test
        void testReadDataWireFormat() throws IOException {
            NetShareEnumResponse response = new NetShareEnumResponse();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. tests/test_dependency_yield_scope_websockets.py

    @app.websocket("/request-scope")
    async def request_scope(websocket: WebSocket, session: SessionRequestDep) -> Any:
        await websocket.accept()
        await websocket.send_json({"is_open": session.open})
    
    
    @app.websocket("/two-scopes")
    async def get_stream_session(
        websocket: WebSocket,
        function_session: SessionFuncDep,
        request_session: SessionRequestDep,
    ) -> Any:
        await websocket.accept()
        await websocket.send_json(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("\r\r", "\r", "\r");
        bufferHelper("\ra\r\n\n\r\r", "\r", "a\r\n", "\n", "\r", "\r");
        bufferHelper("no newlines at all", "no newlines at all");
        bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end");
        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("\r\r", "\r", "\r");
        bufferHelper("\ra\r\n\n\r\r", "\r", "a\r\n", "\n", "\r", "\r");
        bufferHelper("no newlines at all", "no newlines at all");
        bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end");
        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top