Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,148 for Handler (0.04 sec)

  1. guava/src/com/google/common/io/Resources.java

       *
       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the LineProcessor to use to handle the lines
       * @return the output of processing the lines
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            String unicodeChars = "你好世界"; // "Hello World" in Chinese
            UnicodeString unicodeStringChinese = new UnicodeString(unicodeChars, false);
            assertEquals(unicodeChars, unicodeStringChinese.toString(), "toString should handle unicode characters correctly");
    
            // Test toString with buffer containing only zero (should result in empty string)
            rpc.unicode_string zeroBufferRus = new rpc.unicode_string();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

     *   <li>Audit logging of operations</li>
     *   <li>Performance monitoring of nested operations</li>
     * </ul>
     *
     * <p>This interface is designed to be extended by specific request types that handle
     * different Maven operations. All implementations must be immutable to ensure thread safety
     * and predictable behavior in concurrent environments.
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * one or more streams, and then released. An allocated connection won't be stolen by other calls
     * while a redirect or authorization challenge is being handled.
     *
     * When the maximum concurrent streams limit is reduced, some allocations will be rescinded.
     * Attempting to create new streams on these allocations will fail.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      /** Tests the various ways that the space character can be handled */
      public void testPlusForSpace() {
        UnicodeEscaper basicEscaper = new PercentEscaper("", false);
        UnicodeEscaper plusForSpaceEscaper = new PercentEscaper("", true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    
    import jcifs.CIFSUnsupportedCryptoException;
    
    /**
     * Cryptographic utility class providing encryption and decryption functionality for jCIFS.
     * Handles security provider initialization and cryptographic operations for SMB authentication.
     *
     * @author mbechler
     */
    public final class Crypto {
    
        private static Provider provider = null;
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/ResponseTest.java

    public class ResponseTest {
    
        @Mock
        private Response mockResponse;
    
        @BeforeEach
        void setUp() {
            // Reset mock before each test to ensure clean state
            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
            // Test initial state (should be false by default for a fresh mock)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NetServerEnumIterator.java

        private FileEntry next;
    
        /**
         * Constructs a NetServerEnumIterator for enumerating network servers
         * @param parent
         *            the parent SMB file
         * @param th
         *            the tree handle to use
         * @param wildcard
         *            wildcard pattern for filtering servers
         * @param searchAttributes
         *            attributes to search for
         * @param filter
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

                        "Elapsed time should match calculated duration between start and now");
            }
        }
    
        @Test
        @DisplayName("MonotonicClock should handle rapid successive calls")
        void testRapidCalls() {
            Instant[] instants = new Instant[1000];
            for (int i = 0; i < instants.length; i++) {
                instants[i] = MonotonicClock.now();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top