Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 390 for DST (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                @Override
                int writeSetupWireFormat(byte[] dst, int dstIndex) {
                    return 0;
                }
    
                @Override
                int writeParametersWireFormat(byte[] dst, int dstIndex) {
                    return 0;
                }
    
                @Override
                int writeDataWireFormat(byte[] dst, int dstIndex) {
                    return 0;
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. tests/serializer_test.go

    	switch value := dbValue.(type) {
    	case []byte:
    		err = field.Set(ctx, dst, bytes.TrimPrefix(value, c.prefix))
    	case string:
    		err = field.Set(ctx, dst, strings.TrimPrefix(value, string(c.prefix)))
    	default:
    		err = fmt.Errorf("unsupported data %#v", dbValue)
    	}
    	return err
    }
    
    func (c *CustomSerializer) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = this.maxSetupCount;
            } else {
                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

        @Override
        public int encode(byte[] dst, int dstIndex) {
            if (this.compressionAlgorithms == null) {
                return 0;
            }
    
            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java

        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NodeStatusRequest.java

            this.isBroadcast = false;
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            final int tmp = this.questionName.hexCode;
            this.questionName.hexCode = 0x00; // type has to be 0x00 for node status
            final int result = writeQuestionSectionWireFormat(dst, dstIndex);
            this.questionName.hexCode = tmp;
            return result;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            byte[] dst = new byte[10];
            int dstIndex = 0;
    
            // Act
            int bytesWritten = transWaitNamedPipe.writeSetupWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
            assertEquals((byte) 0x00, dst[2]); // no FID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            dstIndex += 4;
            if (this.blob != null) {
                SMBUtil.writeInt2(this.blob.length, dst, dstIndex);
            } else {
                SMBUtil.writeInt2(this.lmHash.length, dst, dstIndex);
                dstIndex += 2;
                SMBUtil.writeInt2(this.ntHash.length, dst, dstIndex);
            }
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            byte[] dst = new byte[100];
    
            int result = netShareEnum.writeSetupWireFormat(dst, 0);
            assertEquals(0, result);
    
            // Test with different offset
            result = netShareEnum.writeSetupWireFormat(dst, 50);
            assertEquals(0, result);
    
            // Verify no data was written
            assertArrayEquals(new byte[100], dst);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 0x56, dst[1]);
            assertEquals((byte) 0x34, dst[2]);
            assertEquals((byte) 0x12, dst[3]);
    
            // Test with max value for 4 bytes
            SMBUtil.writeInt4(0xFFFFFFFFL, dst, 4);
            assertEquals((byte) 0xFF, dst[4]);
            assertEquals((byte) 0xFF, dst[5]);
            assertEquals((byte) 0xFF, dst[6]);
            assertEquals((byte) 0xFF, dst[7]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top