Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 206 for rehash (0.04 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        if (waiter.isAlive()) {
          waiter.interrupt();
          fail("awaitTermination failed to trigger after shutdown()");
        }
      }
    
      /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
      void awaitTimedWaiting(Thread thread) {
        while (true) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private static class TestService extends AbstractIdleService {
        int startUpCalled = 0;
        int shutDownCalled = 0;
        final List<State> transitionStates = new ArrayList<>();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/Funnel.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.common.annotations.Beta;
    import com.google.errorprone.annotations.DoNotMock;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.32.md

    - github.com/BurntSushi/xgb: [27f1227](https://github.com/BurntSushi/xgb/tree/27f1227)
    - github.com/Microsoft/hcsshim: [v0.8.26](https://github.com/Microsoft/hcsshim/tree/v0.8.26)
    - github.com/OneOfOne/xxhash: [v1.2.2](https://github.com/OneOfOne/xxhash/tree/v1.2.2)
    - github.com/alecthomas/template: [a0175ee](https://github.com/alecthomas/template/tree/a0175ee)
    - github.com/armon/consul-api: [eb2c6b5](https://github.com/armon/consul-api/tree/eb2c6b5)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Dec 16 18:27:41 GMT 2025
    - 448.1K bytes
    - Click Count (0)
  5. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

              </comment>
              <code>
                <![CDATA[
        /**
         * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values.
         */
        public int hashCode() {
            return java.util.Objects.hash(getType(), getProvides());
        } //-- int hashCode()
    
        /**
         * Checks equality based on {@link #getType()} and {@link #getProvides()} values.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. cmd/api-response.go

    		ETag:              "\"" + oi.ETag + "\"",
    		ChecksumSHA1:      cs[hash.ChecksumSHA1.String()],
    		ChecksumSHA256:    cs[hash.ChecksumSHA256.String()],
    		ChecksumCRC32:     cs[hash.ChecksumCRC32.String()],
    		ChecksumCRC32C:    cs[hash.ChecksumCRC32C.String()],
    		ChecksumCRC64NVME: cs[hash.ChecksumCRC64NVME.String()],
    	}
    	return c
    }
    
    // generates ListPartsResponse from ListPartsInfo.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

    import java.util.Collection;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of ImmutableMultiset backed by a JDK Map and a list of entries. Used to protect
     * against hash flooding attacks.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class JdkBackedImmutableMultiset<E> extends ImmutableMultiset<E> {
      private final Map<E, Integer> delegateMap;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. docs_src/security/tutorial004_an_py39.py

    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return password_hash.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

                        && Objects.equals(priority(), phaseId.priority());
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(executionPoint(), phase(), priority());
        }
    
        @Override
        public String toString() {
            return executionPoint().prefix() + phase() + (priority() != 0 ? "[" + priority() + ']' : "");
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/graph/GraphConstants.java

      static final int DEFAULT_NODE_COUNT = 10;
      static final int DEFAULT_EDGE_COUNT = DEFAULT_NODE_COUNT * EXPECTED_DEGREE;
    
      // Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps
      static final float INNER_LOAD_FACTOR = 1.0f;
      static final int INNER_CAPACITY = 2; // ceiling(EXPECTED_DEGREE / INNER_LOAD_FACTOR)
    
      // Error messages
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top