Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for heuristics (0.28 seconds)

  1. android/guava/src/com/google/common/io/Files.java

       * to the original. The following heuristics are used:
       *
       * <ul>
       *   <li>empty string becomes .
       *   <li>. stays as .
       *   <li>fold out ./
       *   <li>fold out ../ when possible
       *   <li>collapse multiple slashes
       *   <li>delete trailing slashes (unless the path is just "/")
       * </ul>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

         *
         * <p>Behaves similarly to {@link Class#getSimpleName()} but does not require the class to be
         * loaded.
         *
         * <p>But note that this class uses heuristics to identify the simple name. See a related
         * discussion in <a href="https://github.com/google/guava/issues/3349">issue 3349</a>.
         */
        public String getSimpleName() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  3. src/bytes/bytes.go

    // shouldUseASCIISet returns whether to use the lookup table optimization.
    // The threshold of 8 bytes balances initialization cost against per-byte
    // search cost, performing well across all charset sizes.
    //
    // More complex heuristics (e.g., different thresholds per charset size)
    // add branching overhead that eats away any theoretical improvements.
    func shouldUseASCIISet(bufLen int) bool {
    	return bufLen > 8
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        String BOM = "bom";
    
        /**
         * Artifact type name for a JAR file that can be placed either on the class path or on the module path.
         * The path (classes or modules) is chosen by the plugin, possibly using heuristic rules.
         * This is the behavior of Maven 3.
         */
        String JAR = "jar";
    
        /**
         * Artifact type name for a fat-JAR file that can be only on the class path.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private var etag: String? = null
    
        /** Age of the cached response. */
        private var ageSeconds = -1
    
        /**
         * Returns true if computeFreshnessLifetime used a heuristic. If we used a heuristic to serve a
         * cached response older than 24 hours, we are required to attach a warning.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. RELEASE.md

    * The `experimental_relax_shapes` heuristic for `tf.function` has been deprecated and replaced with `reduce_retracing` which encompasses broader heuristics to reduce the number of retraces (see below)
    
    ## Major Features and Improvements
    
    *   `tf.keras`:
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

         * of the child. The general idea is to adjust inherited URLs to match the project layout (in SCM).
         *
         * <p>This calculation is only a heuristic based on our conventions.
         * In detail, the algo relies on the following assumptions: <ul>
         * <li>The parent uses aggregation and refers to the child via the modules section</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            if (data == null || data.length == 0) {
                return 1.0;
            }
            if (algorithm == COMPRESSION_NONE) {
                return 1.0;
            }
    
            // Simple heuristic based on data entropy
            // In practice, this would be more sophisticated
            int uniqueBytes = countUniqueBytes(data);
            double entropy = (double) uniqueBytes / 256.0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  9. cmd/api-headers.go

    			// compatibility.
    			//
    			// However, this splitting increases header size and can introduce errors, unlike Go’s
    			// mime package in MinIO, which correctly encodes strings with fixed B/Q encodings,
    			// avoiding S3’s heuristic-driven issues.
    			//
    			// For MinIO developers, decode S3 metadata with mime.WordDecoder, validate outputs,
    			// report encoding bugs to AWS, and use ASCII-only metadata to ensure reliable S3 API
    			// compatibility.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *   <li>If {@link #MODULES} path type is also set, then the dependency can be placed either on the
         *       class path or on the module path, but only one of those. The choice is up to the plugin,
         *       possibly using heuristic rules (Maven 3 behavior).</li>
         *   <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module path,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
Back to Top