Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 697 for Behavior (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/DoubleUtils.java

        bits += signifRounded;
        /*
         * If signifRounded == 2^53, we'd need to set all of the significand bits to zero and add 1 to
         * the exponent. This is exactly the behavior we get from just adding signifRounded to bits
         * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to
         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                    }
                }
            }
    
            return s;
        }
    
        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
         * behavior, this method accepts both the forward slash and the backward slash as separator.
         *
         * @param path The filesystem path, may be <code>null</code>.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            };
    
            assertTrue(mixedBoolEnv.isDevelopmentHere());
            assertFalse(mixedBoolEnv.isFrameworkDebug());
            assertTrue(mixedBoolEnv.isMailSendMock());
        }
    
        // Test property override behavior
        public void xtest_propertyOverride() {
            FessEnv.SimpleImpl overrideEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

    /*
     * Tests for Smb2CreateResponse decoding and behavior.
     */
    package jcifs.internal.smb2.create;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

     *
     * This test class verifies the basic functionality of DirFileEntryAdapterIterator.
     * Due to the iterator's constructor calling advance() immediately, which requires
     * the adapt() method to be functional, we test the behavior using simple mock
     * scenarios that don't require complex filter setups.
     */
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryAdapterIteratorTest {
    
        @Mock
        private SmbResource mockParent;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        public void test_parse_null_input() {
            // Test null input handling
            try {
                KuromojiCSVUtil.parse(null);
                fail("Should throw NullPointerException for null input");
            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            SMBUtil.writeInt2(20, buffer, 9); // byteCount
    
            int length = testBlock.readAndXWireFormat(buffer, 0);
    
            assertTrue(length > 0);
            // andxCommand is private, but we can verify the behavior
            assertNull(testBlock.getAndx());
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            when(mockAndxCommand.getCommand()).thenReturn(0x42);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *       edition, Item 17).
     *   <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link
     *       #toString} behavior you expect.
     *   <li>Offers useful operations beyond just {@code get} and {@code length}, so you don't have to
     *       hunt through classes like {@link Arrays} and {@link Longs} for them.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top