Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 311 for desc (0.1 sec)

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

            final byte[] key7 = new byte[7];
            final byte[] e8 = new byte[8];
    
            for (int i = 0; i < key.length / 7; i++) {
                System.arraycopy(key, i * 7, key7, 0, 7);
                final DES des = new DES(key7);
                des.encrypt(data, e8);
                System.arraycopy(e8, 0, e, i * 8, 8);
            }
        }
    
        static String DEFAULT_DOMAIN;
        static String DEFAULT_USERNAME;
        static String DEFAULT_PASSWORD;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        /**
         * Constant-time array copy to prevent timing attacks
         */
        private void constantTimeCopy(byte[] src, int srcPos, byte[] dest, int destPos, int length) {
            // Simple constant-time copy - always process all bytes
            for (int i = 0; i < length; i++) {
                dest[destPos + i] = src[srcPos + i];
            }
        }
    
        /**
         * Decrypt an SMB2 message
         *
         * @param encryptedMessage
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    					sum := info.StatsSummary[ps.DeploymentID]
    					sum.ReplicatedGroupPolicyMappings++
    					info.StatsSummary[ps.DeploymentID] = sum
    				}
    			}
    		}
    
    		// collect group desc replication status across sites
    		for g, pslc := range groupDescStats {
    			var gds []madmin.GroupDesc
    			groupCount := 0
    			for _, ps := range pslc {
    				groupCount++
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            final int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            writeInt2(0x0001, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            SmbAuthException authEx = new SmbAuthException("denied");
            when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx);
            when(dest.getAttributes()).thenReturn(SmbConstants.ATTR_ARCHIVE); // no READONLY bit
    
            // Act + Assert
            SmbAuthException thrown =
    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. guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testIntWriteBytesTo() {
        byte[] dest = new byte[4];
        HashCode.fromInt(42).writeBytesTo(dest, 0, 4);
        assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest));
      }
    
      public void testLongWriteBytesTo() {
        byte[] dest = new byte[8];
        HashCode.fromLong(42).writeBytesTo(dest, 0, 8);
        assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with empty source array
            dest = new byte[8];
            nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, new byte[0]);
            assertEquals(4, nextOffset, "Should return correct next offset for empty source.");
            assertEquals(0, NtlmMessage.readUShort(dest, 0), "Length should be 0 for empty source.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            // Verify description
            byte[] descr = NetServerEnum2.DESCR[0].getBytes("ASCII");
            byte[] writtenDescr = new byte[descr.length];
            System.arraycopy(dst, 2, writtenDescr, 0, descr.length);
            assertArrayEquals(descr, writtenDescr);
    
            int currentIndex = 2 + descr.length;
            // Verify level (0x0001)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. callbacks/update.go

    				if rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...); db.AddError(err) == nil {
    					dest := db.Statement.Dest
    					db.Statement.Dest = db.Statement.ReflectValue.Addr().Interface()
    					gorm.Scan(rows, db, mode)
    					db.Statement.Dest = dest
    					db.AddError(rows.Close())
    
    					if db.Statement.Result != nil {
    						db.Statement.Result.RowsAffected = db.RowsAffected
    					}
    				}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/CharEscaper.java

            dest = growBuffer(dest, destIndex, destSize);
          }
    
          // If we have skipped any characters, we need to copy them now.
          if (charsSkipped > 0) {
            s.getChars(lastEscape, index, dest, destIndex);
            destIndex += charsSkipped;
          }
    
          // Copy the replacement string into the dest buffer as needed.
          if (rlen > 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top