Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,729 for bytesB (0.1 sec)

  1. guava/src/com/google/common/hash/Fingerprint2011.java

        // loop we keep 56 bytes of state: v, w, x, y, and z.
        long x = load64(bytes, offset);
        long y = load64(bytes, offset + length - 16) ^ K1;
        long z = load64(bytes, offset + length - 56) ^ K0;
        long[] v = new long[2];
        long[] w = new long[2];
        weakHashLength32WithSeeds(bytes, offset + length - 64, length, y, v);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/MessageDigestHashFunction.java

      }
    
      MessageDigestHashFunction(String algorithmName, int bytes, String toString) {
        this.toString = checkNotNull(toString);
        this.prototype = getMessageDigest(algorithmName);
        int maxLength = prototype.getDigestLength();
        checkArgument(
            bytes >= 4 && bytes <= maxLength, "bytes (%s) must be >= 4 and < %s", bytes, maxLength);
        this.bytes = bytes;
        this.supportsClone = supportsClone(prototype);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java

        public static MemoryAmount of(long bytes) {
            return new MemoryAmount(bytes, String.valueOf(bytes));
        }
    
        public static MemoryAmount ofKiloBytes(long kiloBytes) {
            long bytes = kiloBytes * KILO_FACTOR;
            return new MemoryAmount(bytes, bytes + "k");
        }
    
        public static MemoryAmount ofMegaBytes(long megaBytes) {
            long bytes = megaBytes * MEGA_FACTOR;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/input.go

    		for ; p < len(in.bytes) && !utf8.RuneStart(in.bytes[p]); p++ {
    		}
    	}
    	return p
    }
    
    func (in *input) appendSlice(buf []byte, b, e int) []byte {
    	if in.bytes != nil {
    		return append(buf, in.bytes[b:e]...)
    	}
    	for i := b; i < e; i++ {
    		buf = append(buf, in.str[i])
    	}
    	return buf
    }
    
    func (in *input) copySlice(buf []byte, b, e int) int {
    	if in.bytes == nil {
    		return copy(buf, in.str[b:e])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Fingerprint2011.java

        // loop we keep 56 bytes of state: v, w, x, y, and z.
        long x = load64(bytes, offset);
        long y = load64(bytes, offset + length - 16) ^ K1;
        long z = load64(bytes, offset + length - 56) ^ K0;
        long[] v = new long[2];
        long[] w = new long[2];
        weakHashLength32WithSeeds(bytes, offset + length - 64, length, y, v);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemoryAmountTest.groovy

    class MemoryAmountTest extends Specification {
    
        def "bytes #bytes"() {
            given:
            def amount = MemoryAmount.of(bytes)
    
            expect:
            amount.bytes == bytes
            amount.toString() == bytes.toString()
    
            where:
            bytes << [1L, Long.MAX_VALUE]
        }
    
        def "invalid bytes #bytes"() {
            when:
            MemoryAmount.of(bytes)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      public Hasher putBytes(byte[] bytes) {
        checkNotNull(bytes);
        update(bytes);
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        checkPositionIndexes(off, off + len, bytes.length);
        update(bytes, off, len);
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer bytes) {
        update(bytes);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractByteHasher.java

      public Hasher putBytes(byte[] bytes) {
        checkNotNull(bytes);
        update(bytes);
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        checkPositionIndexes(off, off + len, bytes.length);
        update(bytes, off, len);
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer bytes) {
        update(bytes);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. pkg/ctrlz/topics/assets/templates/mem.html

            <td id="HeapInuse">{{.HeapInuse}} bytes</td>
            <td>Bytes in in-use spans.</td>
        </tr>
    
        <tr>
            <td>Total Alloc</td>
            <td id="TotalAlloc">{{.TotalAlloc}} bytes</td>
            <td>Cumulative bytes allocated for heap objects.</td>
        </tr>
    
        <tr>
            <td>Sys</td>
            <td id="Sys">{{.Sys}} bytes</td>
            <td>Total bytes of memory obtained from the OS.</td>
        </tr>
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. src/internal/saferio/io_test.go

    package saferio
    
    import (
    	"bytes"
    	"io"
    	"testing"
    )
    
    func TestReadData(t *testing.T) {
    	const count = 100
    	input := bytes.Repeat([]byte{'a'}, count)
    
    	t.Run("small", func(t *testing.T) {
    		got, err := ReadData(bytes.NewReader(input), count)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !bytes.Equal(got, input) {
    			t.Errorf("got %v, want %v", got, input)
    		}
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top