Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,416 for Distance (0.15 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

    @ExtendWith(MockitoExtension.class)
    class Smb2LogoffResponseTest {
    
        // Helper to create an instance with a mocked Configuration
        private Smb2LogoffResponse newResponse() {
            Configuration cfg = Mockito.mock(Configuration.class);
            return new Smb2LogoffResponse(cfg);
        }
    
        @Test
        @DisplayName("Constructor accepts a Configuration and creates instance")
        void constructor_happyPath() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CredentialsInternalTest.java

            // Act & Assert
            // unwrap to interface itself should return same instance
            CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class);
            assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance");
            assertSame(creds, unwrapped, "unwrap returns the same object instance");
    
            // unwrap to unrelated type should return null (use another Credentials implementation)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

     *
     * @author Kevin Bourrillion
     * @author Ben Yu
     * @since 1.0
     */
    @GwtCompatible
    public final class Throwables {
      private Throwables() {}
    
      /**
       * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage:
       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        /**
         * Gets the singleton instance of the XmlService.
         *
         * @return the XmlService instance
         * @throws IllegalStateException if no implementation is found
         */
        private static XmlService getService() {
            return Holder.INSTANCE;
        }
    
        /** Holder class for lazy initialization of the default instance */
        private static final class Holder {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

            /**
             * Sets the initial capacity for the text normalization context.
             *
             * @param initialCapacity the initial capacity to be set
             * @return the updated TextNormalizeContext instance
             */
            public TextNormalizeContext initialCapacity(final int initialCapacity) {
                this.initialCapacity = initialCapacity;
                return this;
            }
    
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/stream/StreamUtil.java

            // nothing
        }
    
        /**
         * Creates a {@link StreamOf} instance from the provided values.
         * If the input array is {@code null}, an empty stream is returned.
         *
         * @param <T> The type of elements in the stream.
         * @param values The elements to be included in the stream. Can be {@code null}.
         * @return A {@link StreamOf} instance containing the provided values, or an empty stream if {@code values} is {@code null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

                }
            }
            return event;
        }
    
        /**
         * Factory method to create an ErrorToWarnRewritePolicy instance.
         *
         * @param loggerNamePrefix comma-separated list of logger name prefixes
         * @return a new ErrorToWarnRewritePolicy instance
         */
        @PluginFactory
        public static ErrorToWarnRewritePolicy createPolicy(@PluginAttribute("loggers") final String loggerNamePrefix) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/LineIterator.java

        }
    
        /**
         * Constructs an instance.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         */
        public LineIterator(final Reader reader) {
            assertArgumentNotNull("reader", reader);
            this.reader = new BufferedReader(reader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param reader
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DfsReferralTest.java

         */
        @Test
        void testConstructorAndGetData() {
            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
    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. src/main/java/org/codelibs/core/misc/ValueHolder.java

     *            The type of the value
     */
    public class ValueHolder<T> {
    
        /** The value */
        protected T value;
    
        /**
         * Constructs an instance.
         */
        public ValueHolder() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param value
         *            The value
         */
        public ValueHolder(final T value) {
            this.value = value;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top