Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,958 for length (0.73 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

            checkArgument(
                fromUpperBounds.length == toUpperBounds.length
                    && fromLowerBounds.length == toLowerBounds.length,
                "Incompatible type: %s vs. %s",
                fromWildcardType,
                to);
            for (int i = 0; i < fromUpperBounds.length; i++) {
              populateTypeMappings(mappings, fromUpperBounds[i], toUpperBounds[i]);
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            long expectedLength = 1024L;
            when(smbFile.length()).thenReturn(expectedLength);
    
            assertEquals(expectedLength, smbRandomAccessFile.length());
        }
    
        @Test
        void testSetLength() throws SmbException {
            long newLength = 2048L;
            smbRandomAccessFile.setLength(newLength);
            // Verify length was set (actual behavior depends on implementation)
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureCredentialStorage.java

        public SecureCredentialStorage(char[] masterPassword, byte[] salt) throws GeneralSecurityException {
            if (masterPassword == null || masterPassword.length == 0) {
                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
            if (salt == null || salt.length != SALT_SIZE) {
                throw new IllegalArgumentException("Invalid salt");
            }
    
            this.salt = salt.clone();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            return "Type2Message[target=" + target + ",challenge=" + (challenge == null ? "null" : "<" + challenge.length + " bytes>")
                    + ",context=" + (context == null ? "null" : "<" + context.length + " bytes>") + ",targetInformation="
                    + (targetInformation == null ? "null" : "<" + targetInformation.length + " bytes>") + ",flags=0x"
                    + jcifs.smb1.util.Hexdump.toHexString(getFlags(), 8) + "]";
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            } else {
                ret.append(Hexdump.toHexString(serverChallenge, 0, serverChallenge.length * 2));
            }
            ret.append(",signingKey=");
            if (signingKey == null) {
                ret.append("null");
            } else {
                ret.append(Hexdump.toHexString(signingKey, 0, signingKey.length * 2));
            }
            ret.append("]");
            return ret.toString();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/SMBSigningDigest.java

         * @param offset
         *            The starting offset at which the SMB header begins.
         * @param length
         *            The length of the SMB data starting at offset.
         * @param request
         *            request message
         * @param response
         *            response message
         */
        void sign(byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response);
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                        hdrStart + securityBufferOffset + securityBufferLength > buffer.length) {
                    throw new SMBProtocolDecodingException("Security buffer extends beyond available data (offset: " + securityBufferOffset
                            + ", length: " + securityBufferLength + ", buffer size: " + buffer.length + ")");
                }
    
                this.securityBuffer = new byte[securityBufferLength];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

         *
         * @param rus wrapped string
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
            this.length = rus.length;
            this.maximum_length = rus.maximum_length;
            this.buffer = rus.buffer;
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString from a Java String.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. cmd/erasure-utils.go

    )
    
    // getDataBlockLen - get length of data blocks from encoded blocks.
    func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int {
    	size := 0
    	// Figure out the data block length.
    	for _, block := range enBlocks[:dataBlocks] {
    		size += len(block)
    	}
    	return size
    }
    
    // Writes all the data blocks from encoded blocks until requested
    // outSize length. Provides a way to skip bytes until the offset.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top