- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 863 for BYTES (0.02 sec)
-
guava/src/com/google/common/primitives/Bytes.java
/** * Static utility methods pertaining to {@code byte} primitives, that are not already found in * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>. * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes} * and {@link UnsignedBytes}. * * <p>See the Guava User Guide article on <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 15.3K bytes - Viewed (0) -
src/bytes/bytes.go
// Package bytes implements functions for the manipulation of byte slices. // It is analogous to the facilities of the [strings] package. package bytes import ( "internal/bytealg" "math/bits" "unicode" "unicode/utf8" _ "unsafe" // for linkname ) // Equal reports whether a and b // are the same length and contain the same bytes. // A nil argument is equivalent to an empty slice.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0) -
cmd/httprange_test.go
errExpected bool }{ {"bytes=0-", false}, {"bytes=1-", false}, {"bytes=0-9", false}, {"bytes=1-10", false}, {"bytes=1-1", false}, {"bytes=2-5", false}, {"bytes=-5", false}, {"bytes=-1", false}, {"bytes=-1000", false}, {"bytes=", true}, {"bytes= ", true}, {"byte=", true}, {"bytes=A-B", true}, {"bytes=1-B", true}, {"bytes=B-1", true},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.indexOf(EMPTY, ARRAY234)).isEqualTo(-1); assertThat(Bytes.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1); assertThat(Bytes.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1); assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Dec 28 17:50:25 UTC 2021 - 6.5K bytes - Viewed (0) -
internal/grid/types.go
// remainder of bytes. func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) { if b == nil { return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer") } if bytes, err := msgp.ReadNilBytes(bytes); err == nil { if *b != nil { PutByteBuffer(*b) } *b = nil return bytes, nil } val, bytes, err := msgp.ReadBytesZC(bytes) if err != nil { return bytes, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.indexOf(EMPTY, ARRAY234)).isEqualTo(-1); assertThat(Bytes.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1); assertThat(Bytes.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1); assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes) } @Test fun `point with only y set`() { val bytes = "3003810109".decodeHex() val point = Point(null, 9L) assertThat(Point.ADAPTER.fromDer(bytes)).isEqualTo(point) assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes) } @Test fun `point with both fields set`() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
} @Override @CanIgnoreReturnValue 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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
src/archive/zip/writer_test.go
defer func() { writeTests[1].Data = nil }() // write a zip file buf := new(bytes.Buffer) w := NewWriter(buf) for _, wt := range writeTests { testCreate(t, w, &wt) } if err := w.Close(); err != nil { t.Fatal(err) } // read it back r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) if err != nil { t.Fatal(err) } for i, wt := range writeTests {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0)