Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for GoBytes (0.06 sec)

  1. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. 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(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. 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;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  7. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  8. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), type IfData struct, Metric uint32
    pkg syscall (darwin-arm64), type IfData struct, Mtu uint32
    pkg syscall (darwin-arm64), type IfData struct, Noproto uint32
    pkg syscall (darwin-arm64), type IfData struct, Obytes uint32
    pkg syscall (darwin-arm64), type IfData struct, Oerrors uint32
    pkg syscall (darwin-arm64), type IfData struct, Omcasts uint32
    pkg syscall (darwin-arm64), type IfData struct, Opackets uint32
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg syscall (darwin-386), type IfData struct, Metric uint32
    pkg syscall (darwin-386), type IfData struct, Mtu uint32
    pkg syscall (darwin-386), type IfData struct, Noproto uint32
    pkg syscall (darwin-386), type IfData struct, Obytes uint32
    pkg syscall (darwin-386), type IfData struct, Oerrors uint32
    pkg syscall (darwin-386), type IfData struct, Omcasts uint32
    pkg syscall (darwin-386), type IfData struct, Opackets uint32
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top