Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 687 for entropy (0.21 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      public Map<Element, Element> create() throws Exception {
        return mapsImpl.create(contents);
      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

    import com.google.j2objc.annotations.RetainedWith;
    import java.util.function.BiConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableMap} with exactly one entry.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       * unless the value is {@code null}.
       *
       * <p>Any existing entry spanning either range boundary may be split at the boundary, even if the
       * merge does not affect its value. For example, if {@code rangeMap} had one entry {@code [1, 5]
       * => 3} then {@code rangeMap.merge(Range.closed(0,2), 3, Math::max)} could yield a map with the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            private <T> boolean isPlexusBean(BeanEntry<Annotation, T> entry) {
                try {
                    if ("org.eclipse.sisu.inject.LazyBeanEntry"
                            .equals(entry.getClass().getName())) {
                        Field f = entry.getClass().getDeclaredField("binding");
                        f.setAccessible(true);
                        Object b = f.get(entry);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            accountAttempts.entrySet().removeIf(entry -> {
                AccountAttempts account = entry.getValue();
                return !account.isLockedOut() && account.getLastAttempt().plus(cleanupInterval).isBefore(now);
            });
    
            // Clean up IP attempts
            ipAttempts.entrySet().removeIf(entry -> {
                IpAttempts ip = entry.getValue();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/ResourceManager.java

            if (!autoCleanupEnabled) {
                return;
            }
    
            int cleaned = 0;
            long now = System.currentTimeMillis();
    
            for (Map.Entry<String, ResourceHolder> entry : activeResources.entrySet()) {
                ResourceHolder holder = entry.getValue();
    
                // Check if resource is abandoned
                if (!holder.closed && !holder.isAlive()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        mod.put("foo", 1);
        Entry<String, Integer> fromIterator = unmod.entries().iterator().next();
        assertThrows(UnsupportedOperationException.class, () -> fromIterator.setValue(2));
        Entry<String, Integer> fromToArray = (Entry<String, Integer>) unmod.entries().toArray()[0];
        assertThrows(UnsupportedOperationException.class, () -> fromToArray.setValue(2));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.close()
        assertJournalEquals()
      }
    
      @Test
      fun recoverFromInitializationFailure() {
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
        // attempt to delete the file. Do not explicitly close the cache here so the entry is left as
        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  9. internal/config/dns/operator_dns.go

    // namespace at MinIO level with this DNS entry. The global namespace in
    // enforced by the Kubernetes Operator
    func (c *OperatorDNS) List() (srvRecords map[string][]SrvRecord, err error) {
    	return nil, ErrNotImplemented
    }
    
    // Get - Retrieves DNS records for a bucket.
    // This is a No Op for Operator because, there is no intent to enforce global
    // namespace at MinIO level with this DNS entry. The global namespace in
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                    .groupBy { it.take(3) } // e.g. 1.9
                    .toSortedMap()
                val latests = buildList {
                    versionsByMinor.entries.forEachIndexed { idx, entry ->
                        val versionsOfMinor = entry.value.sortedByDescending { VersionNumber.parse(it) }
                        if (idx < versionsByMinor.size - 1) {
                            // Latest of the previous minor
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top