Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 190 for notable (0.09 seconds)

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

        }
    
        void add(T o) {
          checkNotNull(o);
          if (element == null) {
            this.element = o;
          } else if (extras.isEmpty()) {
            // Replace immutable empty list with mutable list.
            extras = new ArrayList<>(MAX_EXTRAS);
            extras.add(o);
          } else if (extras.size() < MAX_EXTRAS) {
            extras.add(o);
          } else {
            throw multiples(true);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        @Test
        @DisplayName("ltime field is mutable")
        void testLtimeField() {
            TestLocking t = new TestLocking();
    
            // Initial value
            assertEquals(0L, t.ltime, "ltime should start at 0");
    
            // Set new value
            long currentTime = System.currentTimeMillis();
            t.ltime = currentTime;
            assertEquals(currentTime, t.ltime, "ltime should be mutable");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Count.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/BreakingChangesGenerator.java

                .filter(Objects::nonNull)
                .sorted(comparing(ChangelogEntry.Breaking::getTitle))
                .collect(
                    groupingBy(
                        ChangelogEntry.Breaking::isNotable,
                        groupingBy(ChangelogEntry.Breaking::getArea, TreeMap::new, Collectors.toList())
                    )
                );
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                    // Force close the handle
                    this.open = false;
                    this.usageCount.set(0);
    
                    // Clear mutable references to free memory
                    // Note: Some fields may be final and cannot be nulled
    
                    // Clear any other mutable state would go here
                }
            } catch (Exception e) {
                log.error("Failed to perform emergency file handle cleanup", e);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  6. tensorflow/c/eager/immediate_execution_tensor_handle.cc

        std::string& summary) const {
      absl::Status status;
      AbstractTensorPtr resolved(
          // TODO(allenl): Resolve should be const, and the caches that get updated
          // marked mutable.
          const_cast<ImmediateExecutionTensorHandle*>(this)->Resolve(&status));
      if (!status.ok()) {
        return status;
      }
      summary = resolved->SummarizeValue();
      return absl::OkStatus();
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:24:07 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

    //
    public interface RepositoryCache {
    
        /**
         * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided
         * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is
         * responsible for creating a copy of the original data and store the copy in the cache.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Interner.java

       * intern(a)} is permitted to return one instance now and a different instance later if the
       * original interned instance was garbage-collected.
       *
       * <p><b>Warning:</b> do not use with mutable objects.
       *
       * @throws NullPointerException if {@code sample} is null
       */
      E intern(E sample);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Lists.java

     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public final class Lists {
      private Lists() {}
    
      // ArrayList
    
      /**
       * Creates a <i>mutable</i>, empty {@code ArrayList} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableList#of()} instead.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Lists.java

     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public final class Lists {
      private Lists() {}
    
      // ArrayList
    
      /**
       * Creates a <i>mutable</i>, empty {@code ArrayList} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableList#of()} instead.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
Back to Top