Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 2,245 for methods_ (0.26 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            ? copyOf((Collection<? extends E>) elements)
            : copyOf(elements.iterator());
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/Cache.java

       * loader} if necessary. The method improves upon the conventional "if cached, return; otherwise
       * create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its
       * {@link LoadingCache#get(Object) get(K)} method instead of this one.
       *
       * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            });
        }
    
        /**
         * Helper method to mock the response of an HttpURLConnection.
         */
        private void mockResponse(int code, String message, Map<String, List<String>> headers, InputStream errorStream) throws IOException {
            mockResponse(this.mockConnection, code, message, headers, errorStream);
        }
    
        /**
         * Helper method to mock the response of a specific HttpURLConnection instance.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Interners.java

    import com.google.common.collect.MapMakerInternalMap.InternalEntry;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Contains static methods pertaining to instances of {@link Interner}.
     *
     * @author Kevin Bourrillion
     * @since 3.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Interners {
      private Interners() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/context/BaseContextTest.java

        @Mock
        private Configuration mockConfig;
    
        private BaseContext context;
    
        @BeforeEach
        void setUp() throws CIFSException {
            // Setup mock configuration with required methods
            when(mockConfig.getDefaultUsername()).thenReturn(null);
            when(mockConfig.getDefaultPassword()).thenReturn(null);
            when(mockConfig.getDefaultDomain()).thenReturn(null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N2);
    
        assertThat(graphAsMutableGraph.putEdge(N2, N1)).isFalse();
      }
    
      /**
       * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then
       * add the edge connecting them. We are not using the proxy methods here as we want to test {@code
       * putEdge} when the end-points are not elements of the graph.
       */
      @Test
      public void putEdge_nodesNotInGraph() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/RangeMap.java

       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@link
       * #asMapOfRanges()}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

      public void testDirectoryDeletion_basic() throws IOException {
        for (DirectoryDeleteMethod method : EnumSet.allOf(DirectoryDeleteMethod.class)) {
          try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
            Path dir = fs.getPath("dir");
            assertEquals(6, MoreFiles.listFiles(dir).size());
    
            method.delete(dir);
            method.assertDeleteSucceeded(dir);
    
            assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/SmbResource.java

         * as milliseconds from Jan 1, 1970 which is the same as that which is returned by the
         * <code>createTime()</code>, <code>lastModified()</code>, <code>lastAccess()</code> methods.
         * <br>
         * This method does not apply to workgroups, servers, or shares.
         *
         * @see #setCreateTime
         * @see #setLastAccess
         * @see #setLastModified
         *
         * @param createTime
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * elements than this queue), the element in the array immediately following the end of the queue
       * is set to {@code null}.
       *
       * <p>Like the {@link #toArray()} method, this method acts as bridge between array-based and
       * collection-based APIs. Further, this method allows precise control over the runtime type of the
       * output array, and may, under certain circumstances, be used to save allocation costs.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
Back to Top