Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for hasLink (0.67 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java

            return this.executedRules == null ? Collections.<ModelRuleDescriptor>emptyList() : this.executedRules;
        }
    
        @Override
        public boolean hasLink(String name, ModelType<?> type) {
            return hasLink(name, withType(type));
        }
    
        @Override
        public Iterable<? extends MutableModelNode> getLinks(ModelType<?> type) {
            return getLinks(withType(type));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

            }
            this.privateDataType = type;
            this.privateData = object;
        }
    
        @Override
        public boolean hasLink(String name) {
            return links != null && links.containsKey(name);
        }
    
        @Override
        @Nullable
        public ModelNodeInternal getLink(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/internal/testenv/testenv.go

    	ok, reason := hasSymlink()
    	if !ok {
    		t.Skipf("skipping test: cannot make symlinks on %s/%s: %s", runtime.GOOS, runtime.GOARCH, reason)
    	}
    }
    
    // HasLink reports whether the current system can use os.Link.
    func HasLink() bool {
    	// From Android release M (Marshmallow), hard linking files is blocked
    	// and an attempt to call link() on a file will return EACCES.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

            if (modelNode != null && modelNode.hasLink(task.getName())) {
                realizeTask(MODEL_PATH.child(task.getName()), ModelNode.State.GraphClosed);
            }
        }
    
        /**
         * @return true if this method _may_ have done some work.
         */
        private boolean maybeCreateTasks(String name) {
            if (modelNode != null && modelNode.hasLink(name)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Hashing.java

       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
      public static HashFunction concatenating(
          HashFunction first, HashFunction second, HashFunction... rest) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

    import static org.gradle.internal.hash.HashCode.Usage.SAFE_TO_REUSE_BYTES;
    
    /**
     * Some popular hash functions. Replacement for Guava's hashing utilities.
     * Inspired by the Google Guava project – https://github.com/google/guava.
     */
    public class Hashing {
        private Hashing() {
        }
    
        private static final HashFunction MD5 = MessageDigestHashFunction.of("MD5");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
      public static HashFunction concatenating(
          HashFunction first, HashFunction second, HashFunction... rest) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. src/os/os_test.go

    				if err := Symlink(sizedTempDir+"/bar.txt", sizedTempDir+"/symlink.txt"); err != nil {
    					t.Fatalf("Symlink failed: %v", err)
    				}
    				names = append(names, "symlink.txt")
    			}
    			if testenv.HasLink() {
    				if err := Link(sizedTempDir+"/bar.txt", sizedTempDir+"/link.txt"); err != nil {
    					t.Fatalf("Link failed: %v", err)
    				}
    				names = append(names, "link.txt")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

        size *= std::max(kDefaultCheapCost, dim);
      }
    
      return size;
    }
    
    int64_t InferTensorSize(const CostContext& context, mlir::TensorType type) {
      if (type.hasRank()) return GetRankedTensorSize(type);
      return context.default_unranked_tensor_size;
    }
    
    // The cost function for tf.LookupTableFindV2.
    int64_t InferLookupTableFindV2Cost(const CostContext& context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

        TestFile getSha1File(TestFile file) {
            getHashFile(file, Hashing.sha1())
        }
    
        TestFile sha1File(TestFile file) {
            hashFile(file, Hashing.sha1())
        }
    
        TestFile getSha256File(TestFile file) {
            getHashFile(file, Hashing.sha256())
        }
    
        TestFile sha256File(TestFile file) {
            hashFile(file, Hashing.sha256())
        }
    
        TestFile getSha512File(TestFile file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top