Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 2,268 for Method (0.06 sec)

  1. guava/src/com/google/common/primitives/Doubles.java

       * that of <code>((Double) a).{@linkplain Double#compareTo compareTo}(b)</code>. As with that
       * method, {@code NaN} is treated as greater than all other values, and {@code 0.0 > -0.0}.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Double#compare}. It is
       * provided for consistency with the other primitive types, whose compare methods were not added
       * to the JDK until JDK 7.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ACETest.java

            }
        }
    
        @Nested
        @DisplayName("Interface Method Contract Tests")
        class InterfaceMethodContractTests {
    
            @Test
            @DisplayName("Should define getSID method returning SID")
            void shouldDefineMethods() {
                ACE ace = mock(ACE.class);
                SID mockSid = mock(SID.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/AddressTest.java

        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            Address address = mockAddress;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
                address.getHostName();
                address.getHostAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BiMap.java

       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
       *
       * <p>Note that a successful call to this method could cause the size of the bimap to increase by
       * one, stay the same, or even decrease by one.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Strings.java

       * purpose except to supplant the real information you were trying to provide. These are the cases
       * this method is made for; it instead generates a best-effort string with all supplied argument
       * values present. This method is also useful in environments such as GWT where {@code
       * String.format} is not available. As an example, method implementations of the {@link
       * Preconditions} class use this formatter, for both of the reasons just discussed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashingOutputStream.java

      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
       * unspecified if this method is called more than once on the same instance.
       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test reset(int, String) method")
        void testResetWithParameters() {
            // Test overloaded reset method
            transaction.reset(123, "lastTest");
            assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset");
        }
    
        @Test
        @DisplayName("Test hasMoreElements() initially returns true")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

     */
    package org.codelibs.fess.crawler.interval;
    
    /**
     * The {@code IntervalController} interface defines methods for controlling
     * the delay intervals in a web crawler. It includes constants representing
     * different types of processing states and a method to introduce a delay
     * based on the type of processing.
     * <p>
     * Constants:
     * </p>
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class KerberosRelevantAuthDataTest {
    
        private MockedStatic<KerberosAuthData> mockedStaticAuthData;
    
        @BeforeEach
        void setUp() {
            // Mock the static parse method of KerberosAuthData
            mockedStaticAuthData = mockStatic(KerberosAuthData.class);
        }
    
        @AfterEach
        void tearDown() {
            // Close the static mock
            mockedStaticAuthData.close();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        @Test
        void testToString() {
            // Test toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("TransTransactNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        void testGetResponseLength() throws Exception {
            // Test getResponseLength method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top