Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 713 for Mutable (0.07 sec)

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

       * corresponding to each key appear in the same order as they are encountered.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.collect(Collectors.groupingBy(keyFunction))}
       * behaves similarly, but returns a mutable {@code Map<K, List<E>>} instead, and may not preserve
       * the order of entries.
       *
       * @param keyFunction the function used to produce the key for each value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> otherWay = asList("foo", "bar", "baz");
    
        // They're logically equal
        assertEquals(ourWay, otherWay);
    
        // The result of Arrays.asList() is mutable
        otherWay.set(0, "FOO");
        assertEquals("FOO", otherWay.get(0));
    
        // But it can't grow
        assertThrows(UnsupportedOperationException.class, () -> otherWay.add("nope"));
    
        // And it can't shrink
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> otherWay = asList("foo", "bar", "baz");
    
        // They're logically equal
        assertEquals(ourWay, otherWay);
    
        // The result of Arrays.asList() is mutable
        otherWay.set(0, "FOO");
        assertEquals("FOO", otherWay.get(0));
    
        // But it can't grow
        assertThrows(UnsupportedOperationException.class, () -> otherWay.add("nope"));
    
        // And it can't shrink
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1/generated.proto

      // will pause until the driver deployment has published
      // some suitable CSIStorageCapacity object.
      //
      // Alternatively, the driver can be deployed with the field
      // unset or false and it can be flipped later when storage
      // capacity information has been published.
      //
      // This field was immutable in Kubernetes <= 1.22 and now is mutable.
      //
      // +optional
      // +featureGate=CSIStorageCapacity
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

        this.strategy = checkNotNull(strategy);
      }
    
      /**
       * Creates a new {@code BloomFilter} that's a copy of this instance. The new instance is equal to
       * this instance but shares no mutable state.
       *
       * @since 12.0
       */
      public BloomFilter<T> copy() {
        return new BloomFilter<>(bits.copy(), numHashFunctions, funnel, strategy);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

       * <p>Only runs of two or more hextets are considered. In case of a tie, the leftmost run wins. If
       * a qualifying run is found, its hextets are replaced by the sentinel value -1.
       *
       * @param hextets {@code int[]} mutable array of eight 16-bit hextets
       */
      private static void compressLongestRunOfZeroes(int[] hextets) {
        int bestRunStart = -1;
        int bestRunLength = -1;
        int runStart = -1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Ordering.java

      /**
       * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this
       * ordering to any <i>stable</i> sort algorithm results in no change to the order of elements.
       * Note especially that {@link #sortedCopy} and {@link #immutableSortedCopy} are stable, and in
       * the returned instance these are implemented by simply copying the source list.
       *
       * <p>Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		return false
    	}
    	s = s[:len(s)-3]
    	if s == "CFType" {
    		return true
    	}
    	if c.getTypeIDs[s] {
    		return true
    	}
    	if i := strings.Index(s, "Mutable"); i >= 0 && c.getTypeIDs[s[:i]+s[i+7:]] {
    		// Mutable and immutable variants share a type ID.
    		return true
    	}
    	return false
    }
    
    // Comment from Darwin's CFInternal.h
    /*
    // Tagged pointer support
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

       * <p>Only runs of two or more hextets are considered. In case of a tie, the leftmost run wins. If
       * a qualifying run is found, its hextets are replaced by the sentinel value -1.
       *
       * @param hextets {@code int[]} mutable array of eight 16-bit hextets
       */
      private static void compressLongestRunOfZeroes(int[] hextets) {
        int bestRunStart = -1;
        int bestRunLength = -1;
        int runStart = -1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

          default:
            /*
             * The current implementation will end up using entryArray directly, though it will write
             * over the (arbitrary, potentially mutable) Entry objects actually stored in entryArray.
             */
            return RegularImmutableMap.fromEntries(entryArray);
        }
      }
    
      private static <K extends Enum<K>, V> ImmutableMap<K, ? extends V> copyOfEnumMap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top