- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for GoBytes (0.07 seconds)
-
src/cmd/cgo/doc.go
// C string to Go string func C.GoString(*C.char) string // C data with explicit length to Go string func C.GoStringN(*C.char, C.int) string // C data with explicit length to Go []byte func C.GoBytes(unsafe.Pointer, C.int) []byte As a special case, C.malloc does not call the C library malloc directly but instead calls a Go helper function that wraps the C library malloc
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 08 22:37:14 GMT 2025 - 43.9K bytes - Click Count (0) -
internal/s3select/sql/value.go
} // ToTimestamp returns the timestamp value if present. func (v Value) ToTimestamp() (t time.Time, ok bool) { t, ok = v.value.(time.Time) return t, ok } // ToBytes returns the value if byte-slice. func (v Value) ToBytes() (val []byte, ok bool) { val, ok = v.value.([]byte) return val, ok } // ToArray returns the value if it is a slice of values. func (v Value) ToArray() (val []Value, ok bool) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.4K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
assertNotEquals(guid1, guid2); assertEquals(16, guid1.toBytes().length); assertEquals(16, guid2.toBytes().length); } @Test public void testHandleGuidRoundTrip() { HandleGuid original = new HandleGuid(); byte[] bytes = original.toBytes(); HandleGuid reconstructed = new HandleGuid(bytes); assertEquals(original, reconstructed);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
HandleGuid guid2 = new HandleGuid(); assertNotEquals(guid1, guid2); assertEquals(16, guid1.toBytes().length); // Test round-trip HandleGuid guid3 = new HandleGuid(guid1.toBytes()); assertEquals(guid1, guid3); } @Test public void testHandleInfoExpiration() { HandleInfo info = new HandleInfo(
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
dstIndex += 4; SMBUtil.writeInt8(0, dst, dstIndex); // Reserved (8 bytes) dstIndex += 8; System.arraycopy(createGuid.toBytes(), 0, dst, dstIndex, 16); // CreateGuid (16 bytes) dstIndex += 16; return dstIndex - start; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
} /** * Convert the GUID to byte array for wire format (little-endian as per MS-SMB2) * @return 16-byte array representing the GUID in SMB wire format */ public byte[] toBytes() { byte[] result = new byte[16]; ByteBuffer bb = ByteBuffer.wrap(result).order(java.nio.ByteOrder.LITTLE_ENDIAN); long mostSig = guid.getMostSignificantBits();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/s3select/json/record.go
v = sql.FormatSQLTimestamp(t) } else if s, ok := value.ToString(); ok { v = s } else if value.IsNull() { v = nil } else if value.IsMissing() { return r, nil } else if b, ok := value.ToBytes(); ok { // This can either be raw json or a CSV value. // Only treat objects and arrays as JSON. if len(b) > 0 && (b[0] == '{' || b[0] == '[') { v = RawJSON(b) } else { v = string(b) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
api/go1.2.txt
pkg syscall (freebsd-386-cgo), type IfData struct, Mtu uint32 pkg syscall (freebsd-386-cgo), type IfData struct, Noproto uint32 pkg syscall (freebsd-386-cgo), type IfData struct, Obytes uint32 pkg syscall (freebsd-386-cgo), type IfData struct, Oerrors uint32 pkg syscall (freebsd-386-cgo), type IfData struct, Omcasts uint32 pkg syscall (freebsd-386-cgo), type IfData struct, Opackets uint32
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Click Count (1) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), type IfData struct, Mtu uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Noproto uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Obytes uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Oerrors uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Omcasts uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Opackets uint64
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Click Count (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), type IfData struct, Mtu uint64 pkg syscall (freebsd-arm64), type IfData struct, Noproto uint64 pkg syscall (freebsd-arm64), type IfData struct, Obytes uint64 pkg syscall (freebsd-arm64), type IfData struct, Oerrors uint64 pkg syscall (freebsd-arm64), type IfData struct, Omcasts uint64 pkg syscall (freebsd-arm64), type IfData struct, Opackets uint64
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Click Count (0)