Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 812 for immutable (0.21 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. platforms/software/platform-base/src/main/java/org/gradle/platform/base/DependencySpecContainer.java

        /**
         * Returns an immutable view of dependencies stored in this container.
         *
         * @return an immutable view of dependencies. Each dependency in the collection is itself immutable.
         */
        Collection<DependencySpec> getDependencies();
    
        /**
         * Returns true if this container doesn't hold any dependency.
         *
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-10-11 12:16
    - 2.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/initialization/AbstractClassLoaderScope.java

        public ClassLoaderScope local(ClassPath classPath) {
            return immutable();
        }
    
        @Override
        public ClassLoaderScope export(ClassPath classPath) {
            return immutable();
        }
    
        @Override
        public ClassLoaderScope export(ClassLoader classLoader) {
            return immutable();
        }
    
        private ClassLoaderScope immutable() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-26 14:58
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top