Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 2,154 for Methode (0.51 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * this method has no effect and returns zero.
       */
      @CanIgnoreReturnValue
      public long remove(K key) {
        Long result = map.remove(key);
        return (result == null) ? 0L : result.longValue();
      }
    
      /**
       * If {@code (key, value)} is currently in the map, this method removes it and returns true;
       * otherwise, this method returns false.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                }
            };
    
            // Should handle exception gracefully and still return result
            assertEquals("1TestUser", sambaHelper.getAccountId(exceptionSID));
        }
    
        // Helper methods
    
        private SID createMockSID(final int type, final String accountName) {
            return new SID() {
                @Override
                public SID getDomainSid() {
                    return null;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@link
       * #asMapOfRanges()}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/BaseContextTest.java

        @Mock
        private Configuration mockConfig;
    
        private BaseContext context;
    
        @BeforeEach
        void setUp() throws CIFSException {
            // Setup mock configuration with required methods
            when(mockConfig.getDefaultUsername()).thenReturn(null);
            when(mockConfig.getDefaultPassword()).thenReturn(null);
            when(mockConfig.getDefaultDomain()).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    int expectedSize = copy.size();
                    int actualEncoded = copy.encode(buffer, 0);
    
                    // Then
                    assertEquals(expectedSize, actualEncoded, "Size and encode methods return different values for " + numChunks + " chunks");
                }
            }
    
            @Test
            @DisplayName("Should handle large number of chunks")
            void testLargeNumberOfChunks() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

         *
         * Multiple calls to this method may be made concurrently.
         */
        @Throws(IOException::class)
        abstract fun onStream(stream: Http2Stream)
    
        /**
         * Notification that the connection's peer's settings may have changed to [settings].
         * Implementations should take appropriate action to handle the updated settings.
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

                latch.countDown();
                return 1;
            });
    
            configHelper.update();
            configHelper.update();
            configHelper.update();
    
            assertTrue("All load methods should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertEquals(3, configHelper.getLoadCallCount());
        }
    
        public void test_load_returnsExpectedValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/FileNotifyInformationTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Interface Methods Tests")
        class InterfaceMethodsTests {
    
            @Test
            @DisplayName("Test getAction method with mock")
            void testGetAction() {
                // Setup mock behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (Method method : RateLimiter.class.getMethods()) {
          if (!isStatic(method.getModifiers())
              && !NOT_WORKING_ON_MOCKS.contains(method.getName())
              && !method.getDeclaringClass().equals(Object.class)) {
            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (Method method : RateLimiter.class.getMethods()) {
          if (!isStatic(method.getModifiers())
              && !NOT_WORKING_ON_MOCKS.contains(method.getName())
              && !method.getDeclaringClass().equals(Object.class)) {
            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top