Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,716 for Suthar (0.19 sec)

  1. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

            for (Hasher hasher : hashers) {
              hasher.putBoolean(b);
            }
            return this;
          }
    
          @Override
          public Hasher putChar(char c) {
            for (Hasher hasher : hashers) {
              hasher.putChar(c);
            }
            return this;
          }
    
          @Override
          public Hasher putUnencodedChars(CharSequence chars) {
            for (Hasher hasher : hashers) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    import javax.annotation.CheckForNull;
    
    /**
     * See MurmurHash3_x86_32 in <a
     * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">the C++
     * implementation</a>.
     *
     * @author Austin Appleby
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_32HashFunction extends AbstractHashFunction implements Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/PrimitiveSink.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    
    /**
     * An object which can receive a stream of primitive values.
     *
     * @author Kevin Bourrillion
     * @since 12.0 (in 11.0 as {@code Sink})
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface PrimitiveSink {
      /**
       * Puts a byte into this sink.
       *
       * @param b a byte
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

                    .putUnencodedChars("c")
                    .hash(),
                hashFunction.newHasher().putChar('a').putUnencodedChars("bc").hash(),
                hashFunction.newHasher().putUnencodedChars("ab").putChar('c').hash(),
                hashFunction.newHasher().putChar('a').putChar('b').putChar('c').hash())
            .testEquals();
    
        int size = random.nextInt(2048);
        byte[] bytes = new byte[size];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

     * the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction {
      @Override
      public Hasher newHasher() {
        return newHasher(32);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractByteHasher.
     *
     * @author Colin Decker
     */
    public class AbstractByteHasherTest extends TestCase {
    
      public void testBytes() {
        TestHasher hasher = new TestHasher(); // byte order insignificant here
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import java.nio.ByteOrder;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
     * @author Dimitris Andreou
     */
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hasher.java

     * is not equivalent to the concatenation of their encoded form. Therefore, {@link
     * #putString(CharSequence, Charset)} should only be used consistently with <i>complete</i>
     * sequences and not broken into chunks.
     *
     * @author Kevin Bourrillion
     * @since 11.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  9. tests/embedded_struct_test.go

    	}
    
    	if hnPost.Author.Name != NewPost.Author.Name {
    		t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name)
    	}
    
    	if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
    		t.Errorf("Expected to get Author content %v but got: %v", NewPost.Author.Content, hnPost.Author.Content)
    	}
    
    	if hnPost.Author.ContentPtr != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. .github/actions/people/app/main.py

                discussion_author_name = discussion.author.login
            discussion_commentors: dict[str, datetime] = {}
            for comment in discussion.comments.nodes:
                if comment.author:
                    authors[comment.author.login] = comment.author
                    if comment.author.login != discussion_author_name:
                        author_time = discussion_commentors.get(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top