Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 271 for reduce (3.42 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

        HashCode expected1 = randomHash(hashFunction, new Random(1L), numActions);
        HashCode expected2 = randomHash(hashFunction, new Random(2L), numActions);
    
        // equivalent, but overlapping, computations (should produce the same results as above)
        Random random1 = new Random(1L);
        Random random2 = new Random(2L);
        Hasher hasher1 = hashFunction.newHasher();
        Hasher hasher2 = hashFunction.newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,
                    testEncryptionKey, testEncryptionKey);
    
            int threadCount = 5; // Reduced complexity
            int operationsPerThread = 10;
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
            CountDownLatch startLatch = new CountDownLatch(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

        }
        return registrySuffixIndexLocal;
      }
    
      /**
       * Returns the index of the leftmost part of the suffix, or -1 if not found. Note that the value
       * defined as a suffix may not produce {@code true} results from {@link #isPublicSuffix()} or
       * {@link #isRegistrySuffix()} if the domain ends with an excluded domain pattern such as {@code
       * "nhs.uk"}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable}
       * is empty.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       */
      public static <T extends @Nullable Object> Iterator<T> cycle(Iterable<T> iterable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	Retry           BatchJobRetry          `yaml:"retry" json:"retry"`
    	Rules           []BatchJobExpireFilter `yaml:"rules" json:"rules"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpire{}
    
    // RedactSensitive will redact any sensitive information in b.
    func (r *BatchJobExpire) RedactSensitive() {
    	if r == nil {
    		return
    	}
    	if r.NotificationCfg.Token != "" {
    		r.NotificationCfg.Token = redactedText
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            }
        }
    
        @Nested
        @DisplayName("Serialization Tests")
        class SerializationTests {
    
            @Test
            @DisplayName("toByteArray should produce valid message with basic flags")
            void testToByteArray_Basic() throws IOException {
                // Given
                CIFSContext mockContext = createMockContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    // acceptable quorum expected for list operations
    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    	case "auto":
    		return -1
    	}
    	// defaults to 'strict'
    	return driveCount
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                        byte[] sig2 = Arrays.copyOfRange(results[j], SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH);
                        assertFalse(Arrays.equals(sig1, sig2), "Different inputs should produce different signatures");
                    }
                }
            }
        }
    
        @Nested
        @DisplayName("Verify Method Tests")
        class VerifyTests {
    
            private Smb2SigningDigest digest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top