Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 605 for behaviors (0.12 sec)

  1. guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
      }
    
      static class SubClass extends SuperClass {
        @Override
        // We are testing how we treat an override with the same behavior and annotations.
        @SuppressWarnings("RedundantOverride")
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          super.overriddenInSubclassNowhereAnnotated(o);
        }
    
        @Subscribe
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
      public void testAnonymous() {
        AtomicReference<String> holder = new AtomicReference<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Although we cannot directly verify the super constructor call with Mockito for a real class,
            // we can infer its correct behavior if the object is successfully constructed and its own fields are correct.
            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

        }
    
        /**
         * Test getTimestamp method with a negative timestamp (though timestamps are usually positive).
         * This tests the underlying SMBUtil.readInt8 behavior.
         */
        @Test
        public void testGetTimestampNegative() {
            long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long
            byte[] rawBytes = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

     *
     * The implementation contains only trivial methods that return {@code 0}
     * or construct a string representation.  The tests focus on:
     *
     * <ul>
     *   <li>happy‑path behaviour</li>
     *   <li>boundary arguments (e.g., negative indices, large values)</li>
     *   <li>string representation containing the class name</li>
     *   <li>null buffer handling</li>
     * </ul>
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Queues.java

            buffer.add(e);
            added++;
          }
        }
        return added;
      }
    
      /**
       * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, Duration)}, but with a
       * different behavior in case it is interrupted while waiting. In that case, the operation will
       * continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
      }
    
      static class SubClass extends SuperClass {
        @Override
        // We are testing how we treat an override with the same behavior and annotations.
        @SuppressWarnings("RedundantOverride")
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          super.overriddenInSubclassNowhereAnnotated(o);
        }
    
        @Subscribe
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

     *  Fix: Follow HTTP 307 and 308 redirects on methods other than GET and POST. We're reluctant to
        change OkHttp's behavior in handling common HTTP status codes, but this fix is overdue! The new
        behavior is now consistent with [RFC 7231][rfc_7231_647], which is newer than OkHttp itself.
        If you want this update with the old behavior use [this interceptor][legacy_interceptor].
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DfsReferralTest.java

        void testToString() {
            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
            String expectedToString = "Mock DfsReferralData";
    
            // Define the behavior of the mock's toString() method
            when(mockData.toString()).thenReturn(expectedToString);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Interner.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Provides similar behavior to {@link String#intern} for any immutable type. Common implementations
     * are available from the {@link Interners} class.
     *
     * <p>Note that {@code String.intern()} has some well-known performance limitations, and should
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top