Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 262 for Algorithm (0.09 seconds)

  1. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Verify it produces a valid MD5 hash (16 bytes)
            assertNotNull(result);
            assertEquals(16, result.length);
    
            // Calculate the same using manual HMACT64 algorithm
            byte[] expectedResult = calculateHMACT64Manually(key, data);
            assertArrayEquals(expectedResult, result);
        }
    
        @Test
        void testHMACT64WithEmptyData() {
            // Test with empty data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

    import com.google.common.cache.CacheBuilder;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * Helper class for rate limiting functionality.
     * Implements a sliding window algorithm for request counting
     * and manages IP-based blocking using Guava Cache for automatic expiration.
     */
    public class RateLimitHelper {
    
        private static final Logger logger = LogManager.getLogger(RateLimitHelper.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. cmd/erasure-coding.go

    	tillOffset := min(endShard*shardSize+shardSize, shardFileSize)
    	return tillOffset
    }
    
    // erasureSelfTest performs a self-test to ensure that erasure
    // algorithms compute expected erasure codes. If any algorithm
    // produces an incorrect value it fails with a hard error.
    //
    // erasureSelfTest tries to catch any issue in the erasure implementation
    // early instead of silently corrupting data.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            });
        }
    
        /**
         * Generates a hashed ID from the provided URL ID string.
         * Encodes special characters using URL encoding or Base64 encoding as needed,
         * then applies a message digest algorithm to create a unique hash.
         *
         * @param urlId the URL ID string to generate a hash for
         * @return a hashed ID string generated from the input URL ID
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

            : ImmutableList.<E>construct(elements.clone());
      }
    
      /**
       * Returns an immutable list containing the given elements, sorted according to their natural
       * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

     */
    // TODO(kevinb): this class still needs some design-and-document-for-inheritance love
    abstract class AbstractStreamingHasher extends AbstractHasher {
      /** Buffer via which we pass data to the hash algorithm (the implementor) */
      private final ByteBuffer buffer;
    
      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

    import static java.lang.Long.rotateRight;
    
    import com.google.common.annotations.VisibleForTesting;
    
    /**
     * Implementation of FarmHash Fingerprint64, an open-source fingerprinting algorithm for strings.
     *
     * <p>Its speed is comparable to CityHash64, and its quality of hashing is at least as good.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. docs/lambda/README.md

    	}
    	fmt.Println(presignedURL)
    }
    ```
    
    Use the Presigned URL via `curl` to receive the transformed object.
    ```
    curl -v $(go run presigned.go)
    ...
    ...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            }
    
            return model;
        }
    
        /**
         * Interpolates all expressions in the src parameter.
         * <p>
         * The algorithm used for each expression is:
         * <ul>
         *   <li>If it starts with either "pom." or "project.", the expression is evaluated against the model.</li>
         *   <li>If the value is null, get the value from the context.</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  10. cmd/postpolicyform.go

    	"$content-encoding":        true,
    	"$expires":                 true,
    	"$key":                     true,
    	"$success_action_redirect": true,
    	"$redirect":                true,
    	"$success_action_status":   true,
    	"$x-amz-algorithm":         false,
    	"$x-amz-credential":        false,
    	"$x-amz-date":              false,
    	"$tagging":                 false,
    }
    
    // Add policy conditionals.
    const (
    	policyCondEqual         = "eq"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top