Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 84 for ByteBuffer (0.22 seconds)

  1. cmd/object_api_suite_test.go

    			t.Errorf("Md5 Mismatch")
    		}
    	}
    
    	for key, value := range objects {
    		var byteBuffer bytes.Buffer
    		err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if !bytes.Equal(byteBuffer.Bytes(), value) {
    			t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType)
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/HashFunction.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.Immutable;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A hash function is a collision-averse pure function that maps an arbitrary block of data to a
     * number called a <i>hash code</i>.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateCharBuffer();
      }
    
      @Generates
      CharBuffer generateCharBuffer() {
        return CharBuffer.allocate(generateInt());
      }
    
      @Generates
      ByteBuffer generateByteBuffer() {
        return ByteBuffer.allocate(generateInt());
      }
    
      @Generates
      ShortBuffer generateShortBuffer() {
        return ShortBuffer.allocate(generateInt());
      }
    
      @Generates
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateCharBuffer();
      }
    
      @Generates
      CharBuffer generateCharBuffer() {
        return CharBuffer.allocate(generateInt());
      }
    
      @Generates
      ByteBuffer generateByteBuffer() {
        return ByteBuffer.allocate(generateInt());
      }
    
      @Generates
      ShortBuffer generateShortBuffer() {
        return ShortBuffer.allocate(generateInt());
      }
    
      @Generates
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

          return null; // :: must expand to at least one '0'
        }
        if (!hasSkip && delimiterCount + 1 != IPV6_PART_COUNT) {
          return null; // Incorrect number of parts
        }
    
        ByteBuffer rawBytes = ByteBuffer.allocate(2 * IPV6_PART_COUNT);
        try {
          // Iterate through the parts of the ip string.
          // Invariant: start is always the beginning of a hextet, or the second ':' of the skip
          // sequence "::"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/resources/forbidden/es-server-signatures.txt

    java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer)
    java.nio.channels.FileChannel#write(java.nio.ByteBuffer, long)
    java.nio.channels.GatheringByteChannel#write(java.nio.ByteBuffer[], int, int)
    java.nio.channels.GatheringByteChannel#write(java.nio.ByteBuffer[])
    java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer)
    java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[])
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 7.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.math.StatsTesting.ManyValues;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PairedStats}. This tests instances created by {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/PairedStatsTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.math.StatsTesting.ManyValues;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PairedStats}. This tests instances created by {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Reader.class, new StringReader(""))
              .put(StringReader.class, new StringReader(""))
              .put(Buffer.class, ByteBuffer.allocate(0))
              .put(CharBuffer.class, CharBuffer.allocate(0))
              .put(ByteBuffer.class, ByteBuffer.allocate(0))
              .put(ShortBuffer.class, ShortBuffer.allocate(0))
              .put(IntBuffer.class, IntBuffer.allocate(0))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Reader.class, new StringReader(""))
              .put(StringReader.class, new StringReader(""))
              .put(Buffer.class, ByteBuffer.allocate(0))
              .put(CharBuffer.class, CharBuffer.allocate(0))
              .put(ByteBuffer.class, ByteBuffer.allocate(0))
              .put(ShortBuffer.class, ShortBuffer.allocate(0))
              .put(IntBuffer.class, IntBuffer.allocate(0))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
Back to Top