Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 208 for 2586 (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Fill buffer with test data
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
            // Set structure size to 2
            SMBUtil.writeInt2(2, buffer, bufferIndex);
    
            // Make a copy of the buffer
            byte[] bufferCopy = buffer.clone();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            return repository.getId() + '.' + file.getName() + LAST_UPDATE_TAG;
        }
    
        String getRepositoryKey(ArtifactRepository repository) {
            StringBuilder buffer = new StringBuilder(256);
    
            Proxy proxy = repository.getProxy();
            if (proxy != null) {
                if (proxy.getUserName() != null) {
                    int hash = (proxy.getUserName() + proxy.getPassword()).hashCode();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        private byte[] calculateBindingHash(byte[] bindingInfo) throws IOException {
            try {
                MessageDigest digest = MessageDigest.getInstance("SHA-256");
                return digest.digest(bindingInfo);
            } catch (NoSuchAlgorithmException e) {
                throw new IOException("SHA-256 not available", e);
            }
        }
    
        private void performHealthCheck() {
            for (ChannelInfo channel : channels.values()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode method")
        void testDecode() throws Exception {
            // Test the decode method which is inherited from ServerMessageBlock
            byte[] buffer = new byte[256];
    
            // Set up a minimal SMB header (size 32 bytes)
            // SMB signature
            buffer[0] = (byte) 0xFF;
            buffer[1] = 'S';
            buffer[2] = 'M';
            buffer[3] = 'B';
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

        val symbol: Int
    
        /** Number of bits represented in the terminal node. */
        val terminalBitCount: Int
    
        /** Construct an internal node. */
        constructor() {
          this.children = arrayOfNulls(256)
          this.symbol = 0 // Not read.
          this.terminalBitCount = 0 // Not read.
        }
    
        /** Construct a terminal node. */
        constructor(symbol: Int, bits: Int) {
          this.children = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

                return; // Skip sizes larger than buffer
            }
    
            byte[] sourceData = new byte[dataSize];
            for (int i = 0; i < dataSize; i++) {
                sourceData[i] = (byte) (i % 256);
            }
    
            byte[] buffer = new byte[dataSize + 50];
            System.arraycopy(sourceData, 0, buffer, 10, dataSize);
    
            int result = response.readDataWireFormat(buffer, 10, dataSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            }
        }
    
        /**
         * Counts the number of unique bytes in the data (for entropy estimation).
         */
        private int countUniqueBytes(byte[] data) {
            boolean[] seen = new boolean[256];
            int count = 0;
    
            for (byte b : data) {
                int index = b & 0xFF;
                if (!seen[index]) {
                    seen[index] = true;
                    count++;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.28.md

      - [Changelog since v1.28.6](#changelog-since-v1286)
      - [Changes by Kind](#changes-by-kind-8)
        - [Feature](#feature-6)
        - [Bug or Regression](#bug-or-regression-8)
      - [Dependencies](#dependencies-8)
        - [Added](#added-8)
        - [Changed](#changed-8)
        - [Removed](#removed-8)
    - [v1.28.6](#v1286)
      - [Downloads for v1.28.6](#downloads-for-v1286)
        - [Source Code](#source-code-9)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 456.9K bytes
    - Viewed (1)
  9. src/main/java/jcifs/util/SecureKeyManager.java

            if (context != null) {
                System.arraycopy(context, 0, input, pos, context.length);
            }
    
            // Use SHA-256 for derivation (placeholder)
            try {
                java.security.MessageDigest md = java.security.MessageDigest.getInstance("SHA-256");
                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                this.preauthSalt = salt;
    
                if (config.isEncryptionEnabled()) {
                    // Build cipher list based on AES-256 support
                    List<Integer> ciphers = new ArrayList<>();
    
                    // Prefer GCM over CCM for better performance
                    if (config.isAES256Enabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top