Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1781 - 1790 of 7,775 for with (0.09 sec)

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

            // When/Then
            assertThrows(NullPointerException.class, () -> {
                Hexdump.toHexString(null);
            });
        }
    
        @Test
        @DisplayName("Should convert byte array to hex string with offset and length")
        void testHexdumpWithOffset() {
            // Given
            byte[] data = createTestData(32);
    
            // When
            String result = Hexdump.toHexString(data, 0, data.length);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            }
        }
    
        public void test_crawl_with_short_intervals() {
            try {
                // Test with minimal interval
                dataIndexHelper.setCrawlingExecutionInterval(1L);
                dataIndexHelper.crawl("test-session-fast");
                assertTrue("Should complete quickly with 1ms interval", true);
            } catch (Exception e) {
                assertTrue("Fast interval should handle exceptions quickly", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            IntervalControlHelper helper = createHelper("12:15", 1);
    
            // Test with no rules
            long start = System.currentTimeMillis();
            helper.delayByRules();
            long end = System.currentTimeMillis();
            assertTrue(end - start < 50); // Should return quickly
    
            // Test with rule that has no delay
            helper.addIntervalRule("01:30", "15:15", "*", 0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    /*
     * Copyright (C) 2015 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LinearTransformation.java

            return new VerticalLinearTransformation(x1);
          } else {
            return withSlope((y2 - y1) / (x2 - x1));
          }
        }
    
        /**
         * Finish building an instance with the given slope, i.e. the rate of change of {@code y} with
         * respect to {@code x}. The slope must not be {@code NaN}. It may be infinite, in which case
         * the transformation is vertical. (If it is zero, the transformation is horizontal.)
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

     */
    class lsarpcIntegrationTest {
    
        @Test
        void testLsarDomainInfoEncodeDecodeRoundTrip() throws NdrException {
            // Create a domain info with test data
            lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo();
            domainInfo.name = new rpc.unicode_string();
            domainInfo.name.length = 10;
            domainInfo.name.maximum_length = 20;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
       * Test class with valid equals and hashCode methods. Testers created with instances of this class
       * should always pass.
       */
      private static class ValidTestObject {
        private final int aspect1;
        private final int aspect2;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

    /*
     * Copyright (C) 2007 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            assertTrue(actual.endsWith(expectedEnd), "toString should end with ',addrEntry=]' when addrEntry is null");
            assertTrue(actual.startsWith("NameQueryResponse["), "toString should start with expected prefix");
        }
    
        @Test
        void toString_shouldReturnExpectedFormat_withNonNullAddrEntry() throws NoSuchFieldException, IllegalAccessException {
            // Set 'addrEntry' with some NbtAddress objects
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top