Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for trial (0.04 seconds)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Comparator<byte[]> comparator2 = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Random rnd = new Random(714958103);
        for (int trial = 0; trial < 100; trial++) {
          byte[] left = new byte[1 + rnd.nextInt(32)];
          rnd.nextBytes(left);
          byte[] right = left.clone();
          assertThat(comparator1.compare(left, right)).isEqualTo(0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

       */
      static void checkAvalanche(HashFunction function, int trials, double epsilon) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
        for (int i = 0; i < keyBits; i++) {
          int[] same = new int[hashBits];
          int[] diff = new int[hashBits];
          // go through trials to compute probability
          for (int j = 0; j < trials; j++) {
            int key1 = rand.nextInt();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

       */
      static void checkAvalanche(HashFunction function, int trials, double epsilon) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
        for (int i = 0; i < keyBits; i++) {
          int[] same = new int[hashBits];
          int[] diff = new int[hashBits];
          // go through trials to compute probability
          for (int j = 0; j < trials; j++) {
            int key1 = rand.nextInt();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            List<String> trail = new ArrayList<>(1);
            trail.add(result.getId());
            result.setDependencyTrail(trail);
    
            return result;
        }
    
        public static void toArtifacts(
                Collection<org.apache.maven.artifact.Artifact> artifacts,
                Collection<? extends DependencyNode> nodes,
                List<String> trail,
                DependencyFilter filter) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. cmd/bucket-replication.go

    	// ReplicateQueued - replication being queued trail
    	ReplicateQueued = "replicate:queue"
    
    	// ReplicateExisting - audit trail for existing objects replication
    	ReplicateExisting = "replicate:existing"
    	// ReplicateExistingDelete - audit trail for delete replication triggered for existing delete markers
    	ReplicateExistingDelete = "replicate:existing:delete"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  8. cmd/data-scanner.go

    	d.maxSleep = maxWait
    	d.cycle = make(chan struct{})
    	return nil
    }
    
    const (
    	// ILMExpiry - audit trail for ILM expiry
    	ILMExpiry = "ilm:expiry"
    	// ILMFreeVersionDelete - audit trail for ILM free-version delete
    	ILMFreeVersionDelete = "ilm:free-version-delete"
    	// ILMTransition - audit trail for ILM transitioning.
    	ILMTransition = " ilm:transition"
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

     *
     * Features:
     * - Structured JSON logging
     * - Sensitive data masking
     * - Event categorization
     * - Performance metrics
     * - Compliance-ready audit trail
     * - Asynchronous logging with bounded queue
     * - Object pooling to reduce GC pressure
     */
    public class SecurityAuditLogger {
    
        private static final Logger auditLog = LoggerFactory.getLogger("SECURITY.AUDIT");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  10. lib/fips140/v1.1.0-rc1.zip

    positives for adversarially chosen values. // // isPrime is not constant-time. func isPrime(w []byte) bool { mr, err := millerRabinSetup(w) if err != nil { // w is zero, one, or even. return false } // Before Miller-Rabin, rule out most composites with trial divisions. for i := 0; i < len(primes); i += 3 { p1, p2, p3 := primes[i], primes[i+1], primes[i+2] r := mr.w.Nat().DivShortVarTime(p1 * p2 * p3) if r%p1 == 0 || r%p2 == 0 || r%p3 == 0 { return false } } // iterations is the number of Miller-Rabin rounds,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top