Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 2,918 for methods_ (0.08 seconds)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to the {@link Future} interface.
     *
     * <p>Many of these methods use the {@link ListenableFuture} API; consult the Guava User Guide
     * article on <a href="https://github.com/google/guava/wiki/ListenableFutureExplained">{@code
     * ListenableFuture}</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            assertEquals("Share1", entry1.getName());
            assertEquals(8, entry1.getType()); // TYPE_SHARE constant
    
            // Access remark through SmbShareInfo methods if available
            assertTrue(entry1 instanceof SmbShareInfo);
            SmbShareInfo shareInfo = (SmbShareInfo) entry1;
            Field remarkField = SmbShareInfo.class.getDeclaredField("remark");
            remarkField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/stream/StreamUtil.java

            return new StreamOf<>(() -> map != null ? map.entrySet().stream() : Collections.<K, V> emptyMap().entrySet().stream());
        }
    
        /**
         * A wrapper class for a {@link Stream} that provides utility methods.
         *
         * @param <T> the type of elements in the stream
         */
        public static class StreamOf<T> {
    
            private final Supplier<Stream<T>> supplier;
    
            /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Then
            assertTrue(response instanceof TreeConnectResponse);
    
            // Test all interface methods
            assertNull(response.getService()); // getService returns null in SMB2
            assertEquals(response.getTreeId(), response.getTid());
        }
    
        /**
         * Helper method to create a valid response buffer
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesTest.java

    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class QuantilesTest extends TestCase {
    
      /*
       * Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in
       * the computation of one or more quantiles (or in an error) rather than individual methods. The
       * tests are divided into three sections:
       * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/QuantilesTest.java

    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class QuantilesTest extends TestCase {
    
      /*
       * Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in
       * the computation of one or more quantiles (or in an error) rather than individual methods. The
       * tests are divided into three sections:
       * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            int srcIndex = 0;
    
            int result = request.readRDataWireFormat(src, srcIndex);
    
            assertEquals(0, result);
        }
    
        @Test
        void testToString() {
            // Test the toString method's output format
            NameQueryRequest request = new NameQueryRequest(mockConfig, mockName);
            String expectedStringPrefix = "NameQueryRequest[";
            String actualString = request.toString();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

                }
            };
    
            SsoAuthenticator authenticator = ssoManager.getAuthenticator();
            assertNull(authenticator);
        }
    
        // Test register() and getAuthenticators() methods
        @Test
        public void test_register_singleAuthenticator() {
            ssoManager.register(testAuthenticator);
            SsoAuthenticator[] authenticators = ssoManager.getAuthenticators();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  9. android/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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            public void reset() {
                // Mock implementation - reset state
                this.async = false;
                this.nextResponse = null;
            }
    
            // CommonServerMessageBlock interface methods
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Mock implementation
                return 0;
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
Back to Top