Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 266 for Mutate (0.05 sec)

  1. src/test/java/jcifs/tests/AllTests.java

                    for ( String mutate : applyMutations ) {
                        if ( excludes.contains(mutate) || shouldSkip(excludes, mutate) ) {
                            continue;
                        }
                        if ( MUTATIONS.containsKey(mutate) ) {
                            configs.put(cfgname + "-" + mutate, MUTATIONS.get(mutate).mutate(new HashMap<>(map)));
                        }
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
            List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
            Collections.reverse(newList);
            return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
          }
        },
        NULLS_FIRST {
          @Override
          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/OrderingTest.java

          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
            List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
            Collections.reverse(newList);
            return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
          }
        },
        NULLS_FIRST {
          @Override
          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_test.go

    				if ver.header.Type == invalidVersionType {
    					t.Errorf("Invalid result returned: %v", ver.header)
    				}
    			}
    		})
    		t.Run(fmt.Sprintf("signature-q%d", i), func(t *testing.T) {
    			// Mutate signature, non strict
    			vMod := make([][]xlMetaV2ShallowVersion, 0, len(vers))
    			for i, ver := range vers {
    				newVers := make([]xlMetaV2ShallowVersion, 0, len(ver))
    				for _, v := range ver {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    }
    
    // A Header represents a single header in a tar archive.
    // Some fields may not be populated.
    //
    // For forward compatibility, users that retrieve a Header from Reader.Next,
    // mutate it in some ways, and then pass it back to Writer.WriteHeader
    // should do so by creating a new Header and copying the fields
    // that they are interested in preserving.
    type Header struct {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

              @Override
              public String getValue() {
                return holder.string;
              }
            };
    
        // Add the mutable cell to the builder
        builder.put(mutableCell);
    
        // Mutate the value
        holder.string = "bar";
    
        // Make sure it uses the original value.
        assertEquals(ImmutableTable.of('K', 42, "foo"), builder.build());
      }
    
      public void testBuilder_noDuplicates() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

          return;
        }
    
        Range<K> coalescedRange = coalescedRange(range, checkNotNull(value));
        put(coalescedRange, value);
      }
    
      /** Computes the coalesced range for the given range+value - does not mutate the map. */
      private Range<K> coalescedRange(Range<K> range, V value) {
        Range<K> coalescedRange = range;
        Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
            entriesByLowerBound.lowerEntry(range.lowerBound);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. cmd/local-locker.go

    		defer l.mutex.Unlock()
    		if len(args.UID) == 0 {
    			for _, resource := range args.Resources {
    				lris, ok := l.lockMap[resource]
    				if !ok {
    					continue
    				}
    				// Collect uids, so we don't mutate while we delete
    				uids := make([]string, 0, len(lris))
    				for _, lri := range lris {
    					uids = append(uids, lri.UID)
    				}
    
    				// Delete collected uids:
    				for _, uid := range uids {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top