Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 692 for hasn (0.06 sec)

  1. cmd/xl-storage-format-utils.go

    	return crc
    }
    
    // hashDeterministicBytes will return a deterministic (weak) hash for the map values.
    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicBytes(m map[string][]byte) uint64 {
    	crc := uint64(0x1bbc7e1dde654743)
    	for k, v := range m {
    		crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.Hash(v) ^ 0x8da4c8da66194257)
    	}
    	return crc
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

          codes[i] = hashers.get(i).hash();
        }
        for (int i = 1; i < codes.length; i++) {
          assertEquals(codes[i - 1], codes[i]);
        }
      }
    
      public void testPutStringWithLowSurrogate() {
        // we pad because the dummy hash function we use to test this, merely copies the input into
        // the output, so the input must be at least 32 bits, since the output has to be that long
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  3. cmd/api-errors_test.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"testing"
    
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    )
    
    var toAPIErrorTests = []struct {
    	err     error
    	errCode APIErrorCode
    }{
    	{err: hash.BadDigest{}, errCode: ErrBadDigest},
    	{err: hash.SHA256Mismatch{}, errCode: ErrContentSHA256Mismatch},
    	{err: IncompleteBody{}, errCode: ErrIncompleteBody},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Objects.java

        return a == b || (a != null && a.equals(b));
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. internal/event/target/kafka_scram_client_contrib.go

    // each authentication attempt.
    type XDGSCRAMClient struct {
    	*scram.Client
    	*scram.ClientConversation
    	scram.HashGeneratorFcn
    }
    
    // Begin constructs a SCRAM client component based on a given hash.Hash
    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess/da/stopwords.txt

    og
    i
    jeg
    det
    at
    en
    den
    til
    er
    som
    på
    de
    med
    han
    af
    for
    ikke
    der
    var
    mig
    sig
    men
    et
    har
    om
    vi
    min
    havde
    ham
    hun
    nu
    over
    da
    fra
    du
    ud
    sin
    dem
    os
    op
    man
    hans
    hvor
    eller
    hvad
    skal
    selv
    her
    alle
    vil
    blev
    kunne
    ind
    når
    være
    dog
    noget
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 564 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashingOutputStream.java

       * unspecified if this method is called more than once on the same instance.
       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .putChar((char) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00});
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top