Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for attacks (0.15 sec)

  1. android/guava/src/com/google/common/collect/Synchronized.java

                  return typePreservingCollection(entry.getValue(), mutex);
                }
              };
            }
          };
        }
    
        // See Collections.CheckedMap.CheckedEntrySet for details on attacks.
    
        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            /*
             * toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because it can
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  2. guava/pom.xml

          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-gradle-module-metadata</id>
                <goals>
                  <goal>attach-artifact</goal>
                </goals>
                <configuration>
                  <artifacts>
                    <artifact>
                      <file>target/publish/module.json</file>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

          contents.add(checkNotNull(element), occurrences);
          return this;
        }
    
        /**
         * Adds or removes the necessary occurrences of an element such that the element attains the
         * desired count.
         *
         * @param element the element to add or remove occurrences of
         * @param count the desired count of the element in this multiset
         * @return this {@code Builder} object
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      final Policy policy;
    
      private CycleDetectingLockFactory(Policy policy) {
        this.policy = checkNotNull(policy);
      }
    
      /**
       * Tracks the currently acquired locks for each Thread, kept up to date by calls to {@link
       * #aboutToAcquire(CycleDetectingLock)} and {@link #lockStateChanged(CycleDetectingLock)}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public Iterator<Entry<K, V>> iterator() {
          return unmodifiableEntryIterator(entries.iterator());
        }
    
        // See java.util.Collections.UnmodifiableEntrySet for details on attacks.
    
        @Override
        public @Nullable Object[] toArray() {
          /*
           * standardToArray returns `@Nullable Object[]` rather than `Object[]` but because it can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1))
            .testEquals();
      }
    
      /**
       * The maximum allowed probability of falsely detecting a hash flooding attack if the input is
       * randomly generated.
       */
      private static final double HASH_FLOODING_FPP = 0.001;
    
      public void testReuseBuilderReducingHashTableSizeWithPowerOfTwoTotalElements() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<String> future2 = SettableFuture.create();
        SettableFuture<String> future3 = SettableFuture.create();
        ListenableFuture<List<String>> compound = allAsList(future1, future2, future3);
    
        // Attach a listener
        SingleCallListener listener = new SingleCallListener();
        compound.addListener(listener, directExecutor());
    
        // Satisfy each input and check the output
        assertFalse(compound.isDone());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      /**
       * The input futures. After {@link #init}, this field is read only by {@link #afterDone()} (to
       * propagate cancellation) and {@link #toString()}. To access the futures' <i>values</i>, {@code
       * AggregateFuture} attaches listeners that hold references to one or more inputs. And in the case
       * of {@link CombinedFuture}, the user-supplied callback usually has its own references to inputs.
       */
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top