Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for mutate1 (0.05 sec)

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

    package jcifs.tests;
    
    
    import java.util.Map;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TestMutation {
    
        /**
         * @param cfg
         * @return mutated configuration
         */
        public Map<String, String> mutate ( Map<String, String> cfg );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  2. 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)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

         * existing values in the execution request that are controlled by the toolchains. Hence, it is expected that this
         * method is called on a new/empty execution request before the caller mutates it to fit its needs.
         *
         * @param request The execution request to populate, must not be {@code null}.
         * @param toolchains The toolchains to copy into the execution request, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

         *
         * @param dataset the dataset to do the calculation on, which must be non-empty, which will be
         *     cast to doubles (with any associated lost of precision), and which will not be mutated by
         *     this call (it is copied instead)
         * @return the quantile value
         */
        public double compute(Collection<? extends Number> dataset) {
          return computeInPlace(Doubles.toArray(dataset));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  5. 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)
  6. guava/src/com/google/common/graph/MapIteratorCache.java

    /**
     * A map-like data structure that wraps a backing map and caches values while iterating through
     * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If
     * this structure is never mutated, it provides a thread-safe view of the backing map.
     *
     * <p>The {@link MapIteratorCache} assumes ownership of the backing map, and cannot guarantee
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt

    /**
     * Listener for connection events. Extend this class to monitor the new connections and closes.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions,
     * attempt to mutate the event parameters, or be reentrant back into the client.
     * Any IO - writing to files or network should be done asynchronously.
     */
    @ExperimentalOkHttpApi
    abstract class ConnectionListener {
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertSideEffectFree(hash);
        assertReadableBytes(hash);
      }
    
      private static void assertSideEffectFree(HashCode hash) {
        byte[] original = hash.asBytes();
        byte[] mutated = hash.asBytes();
        mutated[0]++;
        assertTrue(Arrays.equals(original, hash.asBytes()));
      }
    
      private static void assertReadableBytes(HashCode hashCode) {
        assertTrue(hashCode.bits() >= 32); // sanity
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top