Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for hashFunction (0.17 sec)

  1. guava/src/com/google/common/hash/Hashing.java

       *
       * @since 19.0
       */
      public static HashFunction concatenating(Iterable<HashFunction> hashFunctions) {
        checkNotNull(hashFunctions);
        // We can't use Iterables.toArray() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        for (HashFunction hashFunction : hashFunctions) {
          list.add(hashFunction);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 19.0
       */
      public static HashFunction concatenating(Iterable<HashFunction> hashFunctions) {
        checkNotNull(hashFunctions);
        // We can't use Iterables.toArray() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        for (HashFunction hashFunction : hashFunctions) {
          list.add(hashFunction);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

        private TestFile hashFile(TestFile file, HashFunction hashFunction) {
            def hashFile = getHashFile(file, hashFunction)
            def hash = hashFunction.hashFile(file)
            hashFile.text = hash.toZeroPaddedString(hashFunction.hexDigits)
            return hashFile
        }
    
        private TestFile getHashFile(TestFile file, HashFunction hashFunction) {
            def algorithm = hashFunction.algorithm.toLowerCase(Locale.ROOT).replaceAll('-', '')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/AbstractMavenPublisher.java

                    }
                }
            }
    
            private void publishChecksum(ExternalResourceName destination, File content, HashFunction hashFunction) {
                byte[] checksum = createChecksumFile(content, hashFunction);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 12:20:56 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

        }
    
        private static final HashFunction MD5 = MessageDigestHashFunction.of("MD5");
    
        private static final HashFunction SHA1 = MessageDigestHashFunction.of("SHA-1");
    
        private static final HashFunction SHA256 = MessageDigestHashFunction.of("SHA-256");
    
        private static final HashFunction SHA512 = MessageDigestHashFunction.of("SHA-512");
    
        private static final HashFunction DEFAULT = 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)
  6. android/guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static HashCode hash(File file, HashFunction hashFunction) throws IOException {
        return asByteSource(file).hash(hashFunction);
      }
    
      /**
       * Fully maps a file read-only in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static HashCode hash(File file, HashFunction hashFunction) throws IOException {
        return asByteSource(file).hash(hashFunction);
      }
    
      /**
       * Fully maps a file read-only in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/ChecksumHashFunction.java

    import java.lang.invoke.MethodHandles;
    import java.lang.invoke.MethodType;
    import java.nio.ByteBuffer;
    import java.util.zip.Checksum;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link HashFunction} adapter for {@link Checksum} instances.
     *
     * @author Colin Decker
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 22:01:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

    import org.opensearch.search.SearchHit;
    import org.opensearch.search.SearchHits;
    import org.opensearch.search.sort.SortBuilder;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import com.google.common.hash.HashFunction;
    import com.google.common.hash.Hashing;
    
    public abstract class AbstractCrawlerService {
        private static final Logger logger = LoggerFactory.getLogger(AbstractCrawlerService.class);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Apr 04 09:58:36 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. src/text/template/parse/parse.go

    	t.Root = nil
    	t.lex = lex
    	t.vars = []string{"$"}
    	t.funcs = funcs
    	t.treeSet = treeSet
    	lex.options = lexOptions{
    		emitComment: t.Mode&ParseComments != 0,
    		breakOK:     !t.hasFunction("break"),
    		continueOK:  !t.hasFunction("continue"),
    	}
    }
    
    // stopParse terminates parsing.
    func (t *Tree) stopParse() {
    	t.lex = nil
    	t.vars = nil
    	t.funcs = nil
    	t.treeSet = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top