Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for flooding (0.08 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMap.java

        }
        try {
          return fromEntryArrayCheckingBucketOverflow(n, entryArray, throwIfDuplicateKeys);
        } catch (BucketOverflowException e) {
          // probable hash flooding attack, fall back to j.u.HM based implementation and use its
          // implementation of hash flooding protection
          return JdkBackedImmutableMap.create(n, entryArray, throwIfDuplicateKeys);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                        Collections.addAll(set, elements);
                        return set;
                      }
                    })
                .named("CompactHashSet with flooding protection")
                .withFeatures(allFeatures)
                .createTestSuite());
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .named("CompactHashMap with flooding resistance")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .named("CompactLinkedHashMap with flooding resistance")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.ALLOWS_NULL_KEYS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

          int expectedSize) {
        return new CompactHashSet<>(expectedSize);
      }
    
      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
       */
      private static void checkNoConflictInValueBucket(
          Object value, Entry<?, ?> entry, @CheckForNull ImmutableMapEntry<?, ?> valueBucketHead)
          throws BucketOverflowException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

          int expectedSize) {
        return new CompactHashSet<>(expectedSize);
      }
    
      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableBiMap.java

              Entry<K, V> onlyEntry = requireNonNull(entries[0]);
              return of(onlyEntry.getKey(), onlyEntry.getValue());
            default:
              /*
               * If entries is full, or if hash flooding is detected, then this implementation may end
               * up using the entries array directly and writing over the entry objects with
               * non-terminal entries, but this is safe; if this Builder is used further, it will grow
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

          this.size += other.size;
          return this;
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
          /*
           * If entries is full, or if hash flooding is detected, then this implementation may end up
           * using the entries array directly and writing over the entry objects with non-terminal
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		BucketName: bucket,
    		Object:     objInfo,
    		UserAgent:  "Internal: [Replication]",
    		Host:       globalLocalNodeName,
    	})
    
    	// re-queue failures once more - keep a retry count to avoid flooding the queue if
    	// the target site is down. Leave it to scanner to catch up instead.
    	if rinfos.ReplicationStatus() != replication.Completed {
    		ri.OpType = replication.HealReplicationType
    		ri.EventType = ReplicateMRF
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top