- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,749 for bytesB (0.27 sec)
-
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
byte[] encode(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) return bytes.toByteArray() } byte[] truncate(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) def result = bytes.toByteArray() if (result.length < 2) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
// These will have the same first 4 bytes (all 0). byte[] bytesA = new byte[5]; byte[] bytesB = new byte[5]; // Change only the last (5th) byte bytesA[4] = (byte) 0xbe; bytesB[4] = (byte) 0xef; HashCode hashCodeA = HashCode.fromBytes(bytesA); HashCode hashCodeB = HashCode.fromBytes(bytesB); // They aren't equal...
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.1K bytes - Viewed (0) -
pkg/util/iptree/iptree.go
func findAncestor(a, b netip.Prefix) netip.Prefix { bytesA := a.Addr().AsSlice() bytesB := b.Addr().AsSlice() bytes := make([]byte, len(bytesA)) max := a.Bits() if l := b.Bits(); l < max { max = l } mask := 0 for i := range bytesA { xor := bytesA[i] ^ bytesB[i] if xor == 0 { bytes[i] = bytesA[i] mask += 8 } else { pos := bits.LeadingZeros8(xor)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
// javadoc? @GwtCompatible @ElementTypesAreNonnullByDefault public final class Bytes { private Bytes() {} /** * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Byte) * value).hashCode()}. * * <p><b>Java 8+ users:</b> use {@link Byte#hashCode(byte)} instead. * * @param value a primitive {@code byte} value * @return a hash code for the value */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Bytes.java
// javadoc? @GwtCompatible @ElementTypesAreNonnullByDefault public final class Bytes { private Bytes() {} /** * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Byte) * value).hashCode()}. * * <p><b>Java 8+ users:</b> use {@link Byte#hashCode(byte)} instead. * * @param value a primitive {@code byte} value * @return a hash code for the value */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/byte.go
limitations under the License. */ package sets // Byte is a set of bytes, implemented via map[byte]struct{} for minimal memory consumption. // // Deprecated: use generic Set instead. // new ways: // s1 := Set[byte]{} // s2 := New[byte]() type Byte map[byte]Empty // NewByte creates a Byte from a list of values. func NewByte(items ...byte) Byte { return Byte(New[byte](items...)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0) -
src/go/build/testdata/directives/b_test.go
Russ Cox <******@****.***> 1669746650 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 36 bytes - Viewed (0) -
src/go/build/testdata/doc/b_test.go
jimmyfrasche <******@****.***> 1519513438 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 07 14:35:52 UTC 2018 - 17 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser_test.go
var buf1 bytes.Buffer _, err := Fprint(&buf1, ast1, LineForm) if err != nil { panic(err) } bytes1 := buf1.Bytes() ast2, err := Parse(NewFileBase(filename), &buf1, nil, nil, 0) if err != nil { panic(err) } var buf2 bytes.Buffer _, err = Fprint(&buf2, ast2, LineForm) if err != nil { panic(err) } bytes2 := buf2.Bytes()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 16:30:19 UTC 2024 - 12.2K bytes - Viewed (0)