Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,227 for compute (0.19 sec)

  1. android/guava/src/com/google/common/hash/AbstractByteHasher.java

    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractByteHasher extends AbstractHasher {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         * @see #getModuleInfo(Path)
         */
        private final Map<Path, PathModularization> moduleInfo;
    
        /**
         * Whether JAR files are modular. This map is redundant with {@link #moduleInfo},
         * but cheaper to compute when the module names are not needed.
         *
         * @see #getPathType(Path)
         */
        private final Map<Path, PathType> pathTypes;
    
        /**
         * Creates an initially empty cache.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. cmd/bitrot.go

    		}
    
    		left -= read
    		if !bytes.Equal(h.Sum(nil), hashBuf[:n]) {
    			return errFileCorrupt
    		}
    	}
    	return nil
    }
    
    // bitrotSelfTest performs a self-test to ensure that bitrot
    // algorithms compute correct checksums. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // bitrotSelfTest tries to catch any issue in the bitrot implementation
    // early instead of silently corrupting data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function.cc

          control_output_names_vec.push_back(string(control_output_names[i]));
        }
      }
    
      // Compute body nodes.
      std::vector<const Node*> body_nodes;
      status->status = tensorflow::ComputeBodyNodes(
          fn_body, fn_name, num_opers, opers, input_nodes, &body_nodes);
      if (TF_GetCode(status) != TF_OK) return nullptr;
    
      // Compute body nodes.
      std::vector<const Node*> control_output_nodes;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  6. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      public void addAll(long... values) {
        for (long value : values) {
          add(value);
        }
      }
    
      /**
       * Adds the given statistics to the dataset, as if the individual values used to compute the
       * statistics had been added directly.
       */
      public void addAll(Stats values) {
        if (values.count() == 0) {
          return;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    	}
    
    	// Now, we read the payload and compute its SHA-256 hash.
    	_, err = io.ReadFull(cr.reader, cr.buffer)
    	if err == io.EOF && size != 0 {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil && err != io.EOF {
    		cr.err = err
    		return n, cr.err
    	}
    
    	// Once we have read the entire chunk successfully, we verify
    	// that the received signature matches our computed signature.
    	cr.chunkSHA256Writer.Write(cr.buffer)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Fingerprint2011.java

        long c = seedA;
        seedA += part2;
        seedA += part3;
        seedB += rotateRight(seedA, 23);
        output[0] = seedA + part4;
        output[1] = seedB + c;
      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long fullFingerprint(byte[] bytes, int offset, int length) {
        // For lengths over 64 bytes we hash the end first, and then as we
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

        long h = (z + load64(bytes, offset + length - 24)) * mul;
        return hashLength16(
            rotateRight(e + f, 43) + rotateRight(g, 30) + h, e + rotateRight(f + a, 18) + g, mul);
      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long hashLength65Plus(byte[] bytes, int offset, int length) {
        int seed = 81;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 01 22:39:48 GMT 2022
    - 7.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                  cacheRequestClosed = true
                  cacheRequest.abort() // Failed to write a complete cache response.
                }
                throw e
              }
    
              if (bytesRead == -1L) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
                  cacheBody.close() // The cache response is complete!
                }
                return -1
              }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top