Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava/src/com/google/common/collect/AllEqualOrdering.java

     *
     * @author Emily Soldal
     */
    @GwtCompatible
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@Nullable Object left, @Nullable Object right) {
        return 0;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. mockwebserver-junit4/README.md

    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 706 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor creates instance without error
            PurgeDocJob job = new PurgeDocJob();
            assertNotNull(job);
        }
    
        public void test_execute_success() {
            // Execute the job
            String result = purgeDocJob.execute();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharStreams.java

       * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the
       * instance is {@link Writer#close() closed}.
       *
       * @since 15.0
       */
      public static Writer nullWriter() {
        return NullWriter.INSTANCE;
      }
    
      private static final class NullWriter extends Writer {
    
        private static final NullWriter INSTANCE = new NullWriter();
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        private val PREVAILING_RULE = listOf("*")
    
        private const val EXCEPTION_MARKER = '!'
    
        private var instance = PublicSuffixDatabase(PublicSuffixList.Default)
    
        fun get(): PublicSuffixDatabase = instance
    
        private fun ByteString.binarySearch(
          labels: Array<ByteString>,
          labelIndex: Int,
        ): String? {
          var low = 0
          var high = size
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. 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)
Back to top