Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 1,776 for testMin (0.06 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        @Test
        @DisplayName("Test concrete implementation with multiple scenarios")
        void testConcreteImplementation() throws SMBProtocolDecodingException {
            // Create a concrete implementation for comprehensive testing
            CommonServerMessageBlockResponse concreteResponse = new CommonServerMessageBlockResponse() {
                private boolean async = false;
                private CommonServerMessageBlockResponse next;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.singleton;
    import static java.util.Collections.unmodifiableList;
    import static junit.framework.TestCase.assertEquals;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

                    .warmupIterations(3)
                    .measurementIterations(5)
                    .build();
    
            new Runner(opt).run();
        }
    
        /**
         * Test bean class for performance testing.
         */
        public static class TestBean {
            private String name;
            private String description;
            private int count;
            private List<String> items = new ArrayList<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/LongMath.java

            /*
             * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x
             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned long, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Doubles.java

       * @since 21.0
       */
      public static double constrainToRange(double value, double min, double max) {
        // avoid auto-boxing by not using Preconditions.checkArgument(); see Guava issue 3984
        // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max).
        if (min <= max) {
          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Then
            assertEquals(0x71, command & 0xFF);
            assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, (byte) command);
        }
    
        /**
         * Nested class for testing buffer operations
         */
        @Nested
        @DisplayName("Buffer Operations Tests")
        class BufferOperationsTests {
    
            @Test
            @DisplayName("Test write operations with empty buffer")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

    class SmbComNtTransactionResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TestSmbComNtTransactionResponse response;
    
        // Concrete implementation for testing
        private static class TestSmbComNtTransactionResponse extends SmbComNtTransactionResponse {
    
            public TestSmbComNtTransactionResponse(Configuration config) {
                super(config);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            for (int i = 0; i < tokens1.size(); i++) {
                assertEquals(tokens1.get(i).getTerm(), tokens2.get(i).getTerm());
            }
        }
    
        /**
         * Test implementation of SuggestAnalyzer for testing purposes
         */
        private static class TestSuggestAnalyzer implements SuggestAnalyzer {
    
            private boolean japaneseMode = false;
    
            public void setJapaneseMode(boolean japaneseMode) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                    5, // max attempts per IP
                    20, // max global attempts per minute
                    Duration.ofSeconds(2), // short lockout for testing
                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
        @AfterEach
        public void tearDown() {
            if (rateLimiter != null) {
                rateLimiter.close();
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * Update docs for testing FastAPI. Include using `POST`, sending JSON, testing headers, etc. New documentation: [Testing](https://fastapi.tiangolo.com/tutorial/testing/#testing-extended-example). PR [#271](https://github.com/tiangolo/fastapi/pull/271).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top