- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,749 for bytesB (0.13 sec)
-
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasherTest.groovy
def fileSnapshotContext = Mock(RegularFileSnapshotContext) def fileSnapshot = Mock(RegularFileSnapshot) given: def file = temporaryDirectory.newFile('String.class') file.bytes = bytesOf(String.class) when: resourceHasher.hash(fileSnapshotContext) then: 1 * fileSnapshotContext.getSnapshot() >> fileSnapshot 2 * fileSnapshot.getName() >> file.name
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.2K bytes - Viewed (0) -
src/math/big/int_test.go
} func checkLehmerGcd(aBytes, bBytes []byte) bool { a := new(Int).SetBytes(aBytes) b := new(Int).SetBytes(bBytes) if a.Sign() <= 0 || b.Sign() <= 0 { return true // can only test positive arguments } d := new(Int).lehmerGCD(nil, nil, a, b) d0, _, _ := euclidExtGCD(a, b) return d.Cmp(d0) == 0 } func checkLehmerExtGcd(aBytes, bBytes []byte) bool { a := new(Int).SetBytes(aBytes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm.go
// Version 2.0, Section 2.3.5, or an error if p is the point at infinity. func (p *P256Point) BytesX() ([]byte, error) { // This function is outlined to make the allocations inline in the caller // rather than happen on the heap. var out [p256ElementLength]byte return p.bytesX(&out) } func (p *P256Point) bytesX(out *[p256ElementLength]byte) ([]byte, error) { if p.isInfinity() == 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 21.4K bytes - Viewed (0) -
test/escape_reflect.go
return (*int)(v.UnsafePointer()) } func bytes1(x []byte) byte { // ERROR "x does not escape" v := reflect.ValueOf(x) // ERROR "x does not escape" return v.Bytes()[0] } // Unfortunate: should only escape content. x (the interface storage) should not escape. func bytes2(x []byte) []byte { // ERROR "leaking param: x$" v := reflect.ValueOf(x) // ERROR "x escapes to heap" return v.Bytes() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 13.1K bytes - Viewed (0) -
src/reflect/all_test.go
{V(uintptr(0x110004)), V(MyString("\uFFFD"))}, // named []byte {V(string("bytes1")), V(MyBytes("bytes1"))}, {V(MyBytes("bytes2")), V(string("bytes2"))}, {V(MyBytes("bytes3")), V(MyBytes("bytes3"))}, {V(MyString("bytes1")), V(MyBytes("bytes1"))}, {V(MyBytes("bytes2")), V(MyString("bytes2"))}, // named []rune {V(string("runes♝")), V(MyRunes("runes♝"))},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
schema/field_test.go
{Name: "TIME", DBName: "ftime", BindNames: []string{"TIME"}, DataType: schema.Time, Creatable: true, Updatable: true, Readable: true, Tag: `gorm:"column:ftime"`}, {Name: "BYTES", DBName: "fbytes", BindNames: []string{"BYTES"}, DataType: schema.Bytes, Creatable: true, Updatable: true, Readable: true, Tag: `gorm:"column:fbytes"`}, } for _, f := range fields { checkSchemaField(t, alias, f, func(f *schema.Field) {}) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K bytes - Viewed (0) -
src/net/http/range_test.go
{"", 1000, nil}, {"foo", 0, nil}, {"bytes=", 0, nil}, {"bytes=7", 10, nil}, {"bytes= 7 ", 10, nil}, {"bytes=1-", 0, nil}, {"bytes=5-4", 10, nil}, {"bytes=0-2,5-4", 10, nil}, {"bytes=2-5,4-3", 10, nil}, {"bytes=--5,4--3", 10, nil}, {"bytes=A-", 10, nil}, {"bytes=A- ", 10, nil}, {"bytes=A-Z", 10, nil}, {"bytes= -Z", 10, nil}, {"bytes=5-Z", 10, nil}, {"bytes=Ran-dom, garbage", 10, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 25 17:52:35 UTC 2016 - 2.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:05:09 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go
func (rb *reorderBuffer) runeAt(n int) rune { inf := rb.rune[n] r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size]) return r } // bytesAt returns the UTF-8 encoding of the rune at position n. // It is used for Hangul and recomposition. func (rb *reorderBuffer) bytesAt(n int) []byte { inf := rb.rune[n] return rb.byte[inf.pos : int(inf.pos)+int(inf.size)] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java
private static void longToBytes(long value, byte[] bytes, int offset) { bytes[offset] = (byte) (value & 0xFF); bytes[offset + 1] = (byte) ((value >>> 8) & 0xFF); bytes[offset + 2] = (byte) ((value >>> 16) & 0xFF); bytes[offset + 3] = (byte) ((value >>> 24) & 0xFF); bytes[offset + 4] = (byte) ((value >>> 32) & 0xFF); bytes[offset + 5] = (byte) ((value >>> 40) & 0xFF);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 19:25:07 UTC 2023 - 10.9K bytes - Viewed (0)