Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,263 for Same (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
         * properly update its state.
         */
        void promoteToNext(E e) {
          if (nextElements.remove(e)) {
            nextElements.push(e);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       * Calling this method is as thread-safe as calling that method.
       *
       * @param collection a collection of {@code Number} instances
       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Integer>} before 12.0)
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/Subscriber.java

    /**
     * A subscriber method on a specific object, plus the executor that should be used for dispatching
     * events to it.
     *
     * <p>Two subscribers are equivalent when they refer to the same method on the same object (not
     * class). This property is used to ensure that no subscriber method is registered more than once.
     *
     * @author Colin Decker
     */
    class Subscriber {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. CLAUDE.md

    CrawlingParameterUtil.setUrlQueue(urlQueue);
    
    // Get (anywhere in same thread)
    CrawlerContext ctx = CrawlingParameterUtil.getCrawlerContext();
    
    // Clear (ALWAYS in finally)
    CrawlingParameterUtil.clearAll();
    ```
    
    ## Log Message Guidelines
    
    - Format parameters as `key=value` (e.g., `sessionId={}`, `url={}`)
    - Prefix with `[name]` when context identification is needed
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

            assertNotNull(result, "Unwrapped tree should not be null");
            assertSame(customTree, result, "Should return the same custom tree instance");
            verify(smbTree).unwrap(CustomSmbTree.class);
        }
    
        /**
         * Test for unwrap() method with the same type.
         * Verifies that unwrap can return itself when the type matches.
         */
        @Test
        void testUnwrap_withSameType() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

            @Test
            void arraysHaveSameLength() {
                assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length,
                        "WINERR_CODES and WINERR_MESSAGES should have the same length");
            }
    
            @Test
            void messagesAlignWithCodes() {
                for (int i = 0; i < WinError.WINERR_CODES.length; i++) {
                    int code = WinError.WINERR_CODES[i];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

                fail("Should handle null targetIndices: " + e.getMessage());
            }
        }
    
        /**
         * Test: prepareStreamSearch delegates to prepareSearch
         * Verifies that both methods return the same result
         */
        @Test
        public void testPrepareStreamSearchDelegatesToPrepareSearch() {
            final SearchRequestBuilder mockBuilder = mock(SearchRequestBuilder.class);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       */
      var noNewExchanges = false
    
      /**
       * If true, this connection may not be used for coalesced requests. These are requests that could
       * share the same connection without sharing the same hostname.
       */
      private var noCoalescedConnections = false
    
      /**
       * The number of times there was a problem establishing a stream that could be due to route
       * chosen. Guarded by this.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testHandlerEquality() throws Exception {
            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

      override fun toString() = "{}"
    }
    
    /**
     * An invariant of this implementation is that [next] must not contain a mapping for [key].
     * Otherwise, we would have two values for the same key.
     */
    private class LinkedTags<K : Any>(
      private val key: KClass<K>,
      private val value: K,
      private val next: Tags,
    ) : Tags() {
      override fun <T : Any> plus(
        key: KClass<T>,
        value: T?,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top