Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 478 for prefers (0.14 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolver.java

            if (selectors.size() == 1) {
                ResolvableSelectorState selectorState = selectors.first();
                // Short-circuit selector merging for single selector without 'prefer'
                if (selectorState.getVersionConstraint() == null || selectorState.getVersionConstraint().getPreferredSelector() == null) {
                    return resolveSingleSelector(selectorState, allRejects);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 14:22:29 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/consistency/ProjectLocalDependencyResolutionConsistencyIntegrationTest.groovy

                    other
                    conf.shouldResolveConsistentlyWith(other)
                }
    
                dependencies {
                    conf('org:foo') {
                        version {
                            prefer '1.1'
                        }
                    }
                    other 'org:foo:1.0'
                }
            """
    
            when:
            repositoryInteractions {
                'org:foo:1.0' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    			expectedList: []framework.NodeScore{{Name: "node1", Score: 0}, {Name: "node2", Score: 5}},
    			name:         "two images spread on two nodes, prefer the larger image one",
    		},
    		{
    			// Pod: gcr.io/40 gcr.io/300
    
    			// Node1
    			// Image: gcr.io/40:latest 40MB, gcr.io/300:latest 300MB
    			// Score: 100 * ((40M + 300M)/2 - 23M)/(1000M * 2 - 23M) = 7
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilderTest.groovy

            builder.library("groovy", "org.codehaus.groovy", "groovy").version {
                it.strictly("3.0.5")
            }
            builder.library("groovy-json", "org.codehaus.groovy", "groovy-json").version {
                it.prefer("3.0.5")
            }
            builder.bundle("groovy", ["groovy", "groovy-json"])
    
            when:
            def model = builder.build()
    
            then:
            model.bundleAliases == ["groovy"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

       *     helpful predefined constants
       * @return a string containing all the characters from the file
       * @throws IOException if an I/O error occurs
       * @deprecated Prefer {@code asCharSource(file, charset).read()}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asCharSource(file, charset).read()",
          imports = "com.google.common.io.Files")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java

         * provides much richer information and much better handling of parallel operations that run during the build, such as tasks that run in parallel.
         * You should prefer using the new listener interface where possible. Note, however, that the new interface is supported only for Gradle 2.5.
         * </p>
         *
         * @param listener The listener
         * @return this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 14K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="5  13  21"
        {!> ../../../docs_src/dependencies/tutorial008_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="4  12  20"
        {!> ../../../docs_src/dependencies/tutorial008.py!}
        ```
    
    And all of them can use `yield`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    			expectedError:      true,
    		},
    		{ // if KubeConfig is equal to the existingKubeConfig - refers to the same cluster -, use the existing (Test idempotency)
    			name:               "KubeConfig refers to the same cluster",
    			existingKubeConfig: config,
    			kubeConfig:         config,
    		},
    		{ // if KubeConfig is not equal to the existingKubeConfig - refers to the another cluster (a cluster with another Ca) -, raise error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      // Tensorflow's NHWC).
      shape:[int];
      type:TensorType;
      // An index that refers to the buffers table at the root of the model. Or,
      // if there is no data buffer associated (i.e. intermediate results), then
      // this is 0 (which refers to an always existent empty buffer).
      //
      // The data_buffer itself is an opaque container, with the assumption that the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

       * may trigger an [OutOfMemoryError]. Prefer to stream the response body if this is a
       * possibility for your response.
       */
      @Throws(IOException::class)
      fun bytes() = commonBytes()
    
      /**
       * Returns the response as a [ByteString].
       *
       * This method loads entire response body into memory. If the response body is very large this
       * may trigger an [OutOfMemoryError]. Prefer to stream the response body if this is a
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top