Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,488 for distance (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        List<Entry<K, V>> expectedWithDuplicateRemoved = asList(entries).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
            assertEquals(url1.getProtocol(), url2.getProtocol());
            assertEquals("smb", url1.getProtocol());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

        }
    
        // --- Mockito interaction: verify each getter is invoked and returns stubbed values ---
        @Test
        void mockitoMock_verifiesGetterInteractions() {
            // Arrange: mock and stub each getter with distinct values
            SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class);
            Mockito.when(mock.getAttributes()).thenReturn(7);
            Mockito.when(mock.getCreateTime()).thenReturn(11L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashBasedTable.java

      }
    
      /**
       * Creates an empty {@code HashBasedTable} with the specified map sizes.
       *
       * @param expectedRows the expected number of distinct row keys
       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

        /** Maximum content size for extraction. -1 means no limit. */
        protected long maxContentSize = -1;
    
        /**
         * Creates a new LhaExtractor instance.
         */
        public LhaExtractor() {
            super();
        }
    
        /**
         * Extracts text content from an LHA archive input stream.
         *
         * @param in the input stream containing the LHA archive
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      // enum singleton pattern
      private enum StringLengthComparator implements Comparator<String> {
        INSTANCE;
    
        @Override
        public int compare(String a, String b) {
          return a.length() - b.length();
        }
      }
    
      private static final Comparator<String> STRING_LENGTH = StringLengthComparator.INSTANCE;
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    	erasureDisksMu sync.RWMutex
    
    	// Re-ordered list of disks per set.
    	erasureDisks [][]StorageAPI
    
    	// Distributed locker clients.
    	erasureLockers setsDsyncLockers
    
    	// Distributed lock owner (constant per running instance).
    	erasureLockOwner string
    
    	// List of endpoints provided on the command line.
    	endpoints PoolEndpoints
    
    	// String version of all the endpoints, an optimization
    	// to avoid url.String() conversion taking CPU on
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
     * ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/InputStreamThread.java

     * optionally process each line with a callback function, and maintain a circular buffer
     * of recent lines for retrieval.
     */
    public class InputStreamThread extends Thread {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(InputStreamThread.class);
    
        /** Buffered reader for reading from the input stream */
        private final BufferedReader br;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        List<Entry<K, V>> expectedWithDuplicateRemoved = asList(entries).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top