Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 427 for immutable (0.19 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMutableMavenModuleResolveMetadataTest.groovy

            metadata.relocated
    
            def immutable = metadata.asImmutable()
            immutable != metadata
            immutable.id == newId
            immutable.moduleVersionId == DefaultModuleVersionIdentifier.newId(newId)
            immutable.sources == sources
            immutable.status == "3"
            immutable.changing
            immutable.statusScheme == ["1", "2", "3"]
            immutable.snapshotTimestamp == "123"
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-15 00:21
    - 11.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadataTest.groovy

            def immutable = metadata.asImmutable()
            immutable.variants.size() == 2
            immutable.variants[0].dependencies.size() == 2
            immutable.variants[1].dependencies.size() == 1
    
            def immutable2 = immutable.asMutable().asImmutable()
            immutable2.variants[0].dependencies.size() == 2
            immutable2.variants[1].dependencies.size() == 1
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-15 00:21
    - 14.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMutableIvyModuleResolveMetadataTest.groovy

            def immutable = metadata.asImmutable()
            immutable != metadata
            immutable.id == newId
            immutable.moduleVersionId == DefaultModuleVersionIdentifier.newId(newId)
            immutable.sources == sources
            immutable.status == "3"
            immutable.branch == "release"
            immutable.changing
            immutable.missing
            immutable.statusScheme == ["1", "2", "3"]
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-15 00:21
    - 9.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ")
            if (onlyIfCached) append("only-if-cached, ")
            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    internal fun Long.commonClampToInt(): Int {
      return when {
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-04-15 13:41
    - 7.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

        return construct(e1);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-02 13:36
    - 27.1K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStep.java

     * <li>We then attempt to move the temporary workspace directory (including the newly generated
     * {code metadata.bin} into its permanent immutable location. The move happens atomically, and if
     * successful, the newly created immutable workspace is returned.</li>
     * <li>If the move fails because a directory is already present in the immutable location, we assume
     * that we got into a race condition with another Gradle process, and try to reuse the newly appeared
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-19 16:44
    - 19.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        if (actualIterator.hasNext()) {
          fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">");
        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-10 20:31
    - 14.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

        return new SingletonImmutableList<>(e1);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-05-08 03:01
    - 29.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        if (actualIterator.hasNext()) {
          fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">");
        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-10 20:31
    - 14.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc

      // Global tensor is already known to be immutable.
      if (!global_tensor.getIsMutable()) {
        return false;
      }
      // An exported global tensor that is not already known to be immutable might
      // be externally mutated.
      if (IsExported(global_tensor)) {
        return false;
      }
    
      // A global tensor is immutable if the resource analyzer deems it so.
      for (auto& global_tensor_use : global_tensor_uses) {
    Registered: 2024-06-16 05:45
    - Last Modified: 2024-04-25 16:01
    - 5.9K bytes
    - Viewed (0)
Back to top