Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 45 for nameLen (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/MIENameTest.java

            i += oidLen;
            // NAME_LEN (4 bytes big-endian)
            buf[i++] = (byte) ((nameLen >>> 24) & 0xFF);
            buf[i++] = (byte) ((nameLen >>> 16) & 0xFF);
            buf[i++] = (byte) ((nameLen >>> 8) & 0xFF);
            buf[i++] = (byte) (nameLen & 0xFF);
            // NAME
            System.arraycopy(nameBytes, 0, buf, i, nameLen);
            return buf;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. docs/smb3-features/02-persistent-handles-design.md

        }
        
        @Override
        public void encode(byte[] buffer, int offset) {
            // Context header
            int nameLen = getName().length();
            writeInt4(buffer, offset, 16);  // Next
            writeInt2(buffer, offset + 4, nameLen);  // NameOffset
            writeInt2(buffer, offset + 6, nameLen);  // NameLength
            writeInt2(buffer, offset + 8, 0);  // Reserved
    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)
  3. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            bufferIndex += 8;
            bufferIndex += 8;
    
            final int nameLen = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            final byte[] nameBytes = new byte[nameLen];
            System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length);
            bufferIndex += nameLen;
            this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE);
            return bufferIndex - start;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            @DisplayName("Should align to 8-byte boundary")
            void testPaddingAlignment() {
                // Test various name lengths to ensure proper padding
                for (int nameLen = 1; nameLen <= 32; nameLen++) {
                    byte[] name = new byte[nameLen];
                    Arrays.fill(name, (byte) 'A');
                    TestCreateContextRequest req = new TestCreateContextRequest(name);
    
                    byte[] buffer = new byte[256];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        @Override
        public int size() {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 56;
            int nameLen = 2 * this.name.length();
            if (nameLen == 0) {
                nameLen++;
            }
    
            size += size8(nameLen);
            if (this.createContexts != null) {
                for (final CreateContextRequest ccr : this.createContexts) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  6. cmd/os_unix.go

    		// files and directories.
    		typ = unexpectedFileMode
    	}
    
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	nameLen, err := direntNamlen(dirent)
    	if err != nil {
    		return consumed, nil, typ, err
    	}
    
    	return consumed, nameBuf[:nameLen], typ, nil
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type Msghdr struct, Iovlen int32
    pkg syscall (freebsd-386-cgo), type Msghdr struct, Name *uint8
    pkg syscall (freebsd-386-cgo), type Msghdr struct, Namelen uint32
    pkg syscall (freebsd-386-cgo), type RawSockaddr struct, Data [14]int8
    pkg syscall (freebsd-386-cgo), type RawSockaddr struct, Family uint8
    pkg syscall (freebsd-386-cgo), type RawSockaddr struct, Len uint8
    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)
  8. api/go1.txt

    pkg syscall (darwin-386), type Msghdr struct, Iov *Iovec
    pkg syscall (darwin-386), type Msghdr struct, Iovlen int32
    pkg syscall (darwin-386), type Msghdr struct, Name *uint8
    pkg syscall (darwin-386), type Msghdr struct, Namelen uint32
    pkg syscall (darwin-386), type Radvisory_t struct
    pkg syscall (darwin-386), type Radvisory_t struct, Count int32
    pkg syscall (darwin-386), type Radvisory_t struct, Offset int64
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  9. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Msghdr struct, Iov *Iovec
    pkg syscall (netbsd-arm64-cgo), type Msghdr struct, Iovlen int32
    pkg syscall (netbsd-arm64-cgo), type Msghdr struct, Namelen uint32
    pkg syscall (netbsd-arm64-cgo), type Msghdr struct, Name *uint8
    pkg syscall (netbsd-arm64-cgo), type Msghdr struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm64-cgo), type Msghdr struct, Pad_cgo_1 [4]uint8
    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)
  10. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type Msghdr struct, Iovlen int32 #53466
    pkg syscall (freebsd-riscv64), type Msghdr struct, Name *uint8 #53466
    pkg syscall (freebsd-riscv64), type Msghdr struct, Namelen uint32 #53466
    pkg syscall (freebsd-riscv64), type Msghdr struct, Pad_cgo_0 [4]uint8 #53466
    pkg syscall (freebsd-riscv64), type Msghdr struct, Pad_cgo_1 [4]uint8 #53466
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Click Count (0)
Back to Top