Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,573 for hasn (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // count == 0
        segment.setTableEntryForTesting(index, entry);
        assertNull(segment.get(key, hash));
        assertFalse(segment.containsKey(key, hash));
        assertFalse(segment.containsValue(value));
    
        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // count == 0
        segment.setTableEntryForTesting(index, entry);
        assertNull(segment.get(key, hash));
        assertFalse(segment.containsKey(key, hash));
        assertFalse(segment.containsValue(value));
    
        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/InversionArtifactFilter.java

        }
    
        public boolean include(Artifact artifact) {
            return !toInvert.include(artifact);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + toInvert.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

        }
    
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

                Arrays.sort(inputs);
            }
            if (newInputs != null) {
                Arrays.sort(newInputs);
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), output);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/etag/reader.go

    	uuid []byte
    }
    
    // Write -  implement hash.Hash Write
    func (u UUIDHash) Write(p []byte) (n int, err error) {
    	return len(p), nil
    }
    
    // Sum -  implement md5.Sum
    func (u UUIDHash) Sum(b []byte) []byte {
    	return u.uuid
    }
    
    // Reset -  implement hash.Hash Reset
    func (u UUIDHash) Reset() {
    	return
    }
    
    // Size -  implement hash.Hash Size
    func (u UUIDHash) Size() int {
    	return len(u.uuid)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/server-main_test.go

    	for _, testcase := range []struct {
    		config      string
    		expectedErr bool
    		hash        string
    	}{
    		{
    			config:      "testdata/config/1.yaml",
    			expectedErr: false,
    			hash:        "hash:02bf70285dc71f76",
    		},
    		{
    			config:      "testdata/config/2.yaml",
    			expectedErr: false,
    			hash:        "hash:676d2da00f71f205",
    		},
    		{
    			config:      "testdata/config/invalid.yaml",
    			expectedErr: true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

        }
    
        public List<ArtifactFilter> getFilters() {
            return new ArrayList<>(filters);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + filters.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

                    && Objects.equals(location, that.location)
                    && Objects.equals(inputs, that.inputs);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(modelId, location, inputs);
        }
    
        Stream<InputSource> sources() {
            return inputs != null ? inputs.stream() : Stream.of(this);
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

      /**
       * The largest power of two that can be represented as a {@code long}.
       *
       * @since 10.0
       */
      public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2);
    
      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Long)
       * value).hashCode()}.
       *
       * <p>This method always return the value specified by {@link Long#hashCode()} in java, which
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top