Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 290 for dest (0.41 sec)

  1. src/main/java/jcifs/smb/SmbCopyUtil.java

            final String path = dest.getLocator().getUNCPath();
            if (path.length() > 1) {
                try {
                    dest.mkdir();
                    if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess());
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        static void writeULong(final byte[] dest, final int offset, final int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
            dest[offset + 2] = (byte) (ulong >> 16 & 0xff);
            dest[offset + 3] = (byte) (ulong >> 24 & 0xff);
        }
    
        static void writeUShort(final byte[] dest, final int offset, final int ushort) {
            dest[offset] = (byte) (ushort & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 3);
            byte[] dest = new byte[5]; // {0,0,0,0,0}
            dest[0] = (byte) 0xFF; // Add some initial data to dest
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            assertArrayEquals(before, dest, "Zero length should leave dest unchanged");
        }
    
        @Test
        @DisplayName("writeSecurityBuffer copies data and sets fields")
        void testWriteSecurityBufferNonZero() {
            byte[] dest = new byte[8 + 4];
            byte[] payload = { 0x55, 0x66, 0x77 };
            NtlmMessage.writeSecurityBuffer(dest, 0, 8, payload);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            assertSame(authEx, thrown, "Should rethrow the same SmbAuthException instance");
            verify(dest, times(1)).getAttributes();
            verify(dest, never()).setPathInformation(anyInt(), anyLong(), anyLong(), anyLong());
        }
    
        @Test
        @DisplayName("openCopyTargetFile throws NPE on null dest (invalid input)")
        void openCopyTargetFile_nullDest_throwsNPE() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        void testWriteSecurityBuffer() {
            // Test writeSecurityBuffer
            byte[] dest = new byte[8]; // Enough for length, max_length, offset
            byte[] src = "Test".getBytes();
    
            // Test with non-null source array
            int nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, src);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                            }
                            if (useNTSmbs) {
                                reqx.setParam(dest.fid, off, n, b, 0, n);
                                dest.send(reqx, resp);
                            } else {
                                req.setParam(dest.fid, off, n, b, 0, n);
                                dest.send(req, resp);
                            }
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashCode.java

      /**
       * Copies bytes from this hash code into {@code dest}.
       *
       * @param dest the byte array into which the hash code will be written
       * @param offset the start offset in the data
       * @param maxLength the maximum number of bytes to write
       * @return the number of bytes written to {@code dest}
       * @throws IndexOutOfBoundsException if there is not enough room in {@code dest}
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

        static void writeULong(final byte[] dest, final int offset, final int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
            dest[offset + 2] = (byte) (ulong >> 16 & 0xff);
            dest[offset + 3] = (byte) (ulong >> 24 & 0xff);
        }
    
        static void writeUShort(final byte[] dest, final int offset, final int ushort) {
            dest[offset] = (byte) (ushort & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

       * previously at {@code src} has already been removed from the data structures.
       */
      private void moveEntryToIndex(int src, int dest) {
        if (src == dest) {
          return;
        }
        int predecessor = prevInInsertionOrder[src];
        int successor = nextInInsertionOrder[src];
        setSucceeds(predecessor, dest);
        setSucceeds(dest, successor);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top