Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 590 for crashes (0.13 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * wherever possible.
     *
     * <p>A {@code UnicodeEscaper} instance is required to be stateless, and safe when used concurrently
     * by multiple threads.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
     * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
     * your own escapers extend this class and implement the {@link #escape(int)} method.
     *
     * @author David Beaumont
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals(NtStatus.NT_STATUS_ACCESS_DENIED, ex.getNtStatus());
        }
    
        @Test
        @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) resolves missing, caches, and reuses cache")
        void resolveSids_withOffsetAndCache_behavesCorrectly() throws Exception {
            CIFSContext ctx = mock(CIFSContext.class);
            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *
     * <p>Operations on this class make no guarantees about the ordering of elements with equal
     * priority. If you need to enforce an ordering, you can define custom classes or comparators that
     * use a secondary key to break ties in primary priority values. For example, here is a class that
     * applies first-in-first-out tie-breaking to comparable elements. To use it, you would insert a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Table} read operations.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractTableReadTest<C extends @Nullable Character> extends TestCase {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(transport.acquire()).thenReturn(transport);
            when(transport.getContext()).thenReturn(cifsContext);
        }
    
        // Helper to set private fields for targeted edge cases
        private static void setField(Object target, String name, Object value) {
            try {
                Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedInteger.java

    import java.math.BigInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertTrue(afterRead.contains("pathConsumed="));
                assertTrue(afterRead.contains("numReferrals="));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle malformed buffer gracefully")
            void testReadDataWireFormatMalformedBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Files.java

       *
       * <ul>
       *   <li>empty string becomes .
       *   <li>. stays as .
       *   <li>fold out ./
       *   <li>fold out ../ when possible
       *   <li>collapse multiple slashes
       *   <li>delete trailing slashes (unless the path is just "/")
       * </ul>
       *
       * <p>These heuristics do not always match the behavior of the filesystem. In particular, consider
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          return mapGenerator;
        }
      }
    
      // TODO: investigate some API changes to SampleElements that would tidy up
      // parts of the following classes.
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          TestSetGenerator<K> keySetGenerator(
              OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. README.md

    ```
    
    ### Running Tests with Coverage
    
    ```bash
    mvn clean jacoco:prepare-agent test jacoco:report
    ```
    
    Coverage reports are generated in `target/site/jacoco/`.
    
    ## Common Use Cases
    
    ### E-commerce Search
    
    ```java
    // Product search suggestions
    SuggestItem product = new SuggestItem(
        new String[]{"iPhone 15 Pro", "Apple iPhone 15 Pro"},
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
Back to top