Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for putHash (0.09 sec)

  1. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                hasher.putInt(len);
                hasher.putBytes(bytes, off, len);
            }
    
            @Override
            public void putHash(HashCode hashCode) {
                hasher.putInt(hashCode.length());
                hasher.putHash(hashCode);
            }
    
            @Override
            public void putInt(int value) {
                hasher.putInt(4);
                hasher.putInt(value);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java

                    if (snapshot.getType() == FileType.Missing) {
                        return null;
                    }
    
                    hasher.putHash(snapshot.getHash());
                    hasher.putString(file.getName());
                    return hasher.hash().toString();
                });
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

            }
            for (Map.Entry<String, CurrentFileCollectionFingerprint> entry : result.getFileFingerprints().entrySet()) {
                hasher.putString(entry.getKey());
                hasher.putHash(entry.getValue().getHash());
            }
        }
    
        private static String getParameterObjectDisplayName(Object parameterObject) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  4. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java

         */
        public String toCompactString() {
            return new BigInteger(1, bytes()).toString(36);
        }
    
        // Package private accessor used by MessageDigestHasher.putHash()
        abstract void appendToHasher(PrimitiveHasher hasher);
    
        abstract byte[] bytes();
    
        @VisibleForTesting
        static class HashCode128 extends HashCode {
            private final long bits1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 19:25:07 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java

            }
        }
    
        @Override
        public HashCode getContentHash() throws ResourceException {
            PrimitiveHasher hasher = Hashing.newPrimitiveHasher();
            hasher.putHash(SIGNATURE);
            hasher.putString(getText());
            return hasher.hash();
        }
    
        @Override
        public Reader getAsReader() {
            assertNoDirectory();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

            val hasher = Hashing.newHasher()
            requireNotNull(identityInputs[TARGET_SCHEMA_INPUT_PROPERTY]).appendToHasher(hasher)
            hasher.putHash(requireNotNull(identityFileInputs[CLASSPATH_INPUT_PROPERTY]).hash)
            val identityHash = hasher.hash().toString()
            return UnitOfWork.Identity { identityHash }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. src/runtime/mgcwork.go

    	// enlistWorker may itself manipulate w.
    	if flushed && gcphase == _GCmark {
    		gcController.enlistWorker()
    	}
    }
    
    // putFast does a put and reports whether it can be done quickly
    // otherwise it returns false and the caller needs to call put.
    //
    //go:nowritebarrierrec
    func (w *gcWork) putFast(obj uintptr) bool {
    	wbuf := w.wbuf1
    	if wbuf == nil || wbuf.nobj == len(wbuf.obj) {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/inl_test.go

    			"gclinkptr.ptr",
    			"guintptr.ptr",
    			"heapBitsSlice",
    			"markBits.isMarked",
    			"muintptr.ptr",
    			"puintptr.ptr",
    			"spanOf",
    			"spanOfUnchecked",
    			"typePointers.nextFast",
    			"(*gcWork).putFast",
    			"(*gcWork).tryGetFast",
    			"(*guintptr).set",
    			"(*markBits).advance",
    			"(*mspan).allocBitsForIndex",
    			"(*mspan).base",
    			"(*mspan).markBitsForBase",
    			"(*mspan).markBitsForIndex",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/internal/fuzz/worker.go

    	// to shared memory after completing minimization.
    	success, err := ws.minimizeInput(ctx, vals, mem, args)
    	if success {
    		writeToMem(vals, mem)
    		outHash := sha256.Sum256(mem.valueCopy())
    		mem.header().rawInMem = false
    		resp.WroteToMem = true
    		if err != nil {
    			resp.Err = err.Error()
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top