Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 333 for 0x08 (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

            return 2;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            assertTrue(str.contains("name=test.txt"), "The file name should appear");
            // securityFlags are set to 0x03 – verify hex sequence
            assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present");
        }
    
        /**
         * Fetch a private field value via reflection.  This helper keeps the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    	for _, c := range s {
    		if c >= 0x80 || c == 0x00 {
    			return false
    		}
    	}
    	return true
    }
    
    // toASCII converts the input to an ASCII C-style string.
    // This is a best effort conversion, so invalid characters are dropped.
    func toASCII(s string) string {
    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    			b = append(b, byte(c))
    		}
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    	p.append(prog, "", true)
    }
    
    // asmData assembles a DATA pseudo-op.
    // DATA masks<>+0x00(SB)/4, $0x00000000
    func (p *Parser) asmData(operands [][]lex.Token) {
    	if len(operands) != 2 {
    		p.errorf("expect two operands for DATA")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB)/4.
    	op := operands[0]
    	n := len(op)
    	if n < 3 || op[n-2].ScanToken != '/' || op[n-1].ScanToken != scanner.Int {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java

            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        }
    
        /**
         * LSA close handle message.
         */
        public static class LsarClose extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x00;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Policy handle to be closed. */
            public rpc.policy_handle handle;
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    Name name;
                    NbtAddress addr;
                    char c = '.';
    
                    ip = i = 0;
                    for (; i < data.length && c == '.'; i++) {
                        int b = 0x00;
    
                        for (; i < data.length && (c = data[i]) >= 48 && c <= 57; i++) {
                            b = b * 10 + c - '0';
                        }
                        ip = (ip << 8) + b;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            }
    
            off -= 4;
    
            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte) 0x00;
            b[off + 2] = (byte) (len >> 8 & 0xFF);
            b[off + 3] = (byte) (len & 0xFF);
    
            out.write(b, off, 4 + len);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(2, bytesWritten);
            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle different buffer positions")
        void testWriteSetupWireFormatWithOffset() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top