Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 198 for calculates (0.05 sec)

  1. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Expected result calculated manually for HMACT64 with this key and data
            HMACT64 hmac = new HMACT64(key);
            hmac.engineUpdate(data, 0, data.length);
            byte[] result = hmac.engineDigest();
    
            // Verify it produces a valid MD5 hash (16 bytes)
            assertNotNull(result);
            assertEquals(16, result.length);
    
            // Calculate the same using manual HMACT64 algorithm
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/Quantiles.java

        /**
         * Specifies a single quantile index to be calculated, i.e. the k in the kth q-quantile.
         *
         * @param index the quantile index, which must be in the inclusive range [0, q] for q-quantiles
         */
        public ScaleAndIndex index(int index) {
          return new ScaleAndIndex(scale, index);
        }
    
        /**
         * Specifies multiple quantile indexes to be calculated, each index being the k in the kth
         * q-quantile.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/Stats.java

       */
      public double max() {
        checkState(count != 0);
        return max;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
       * other using {@code second = new StatsAccumulator().addAll(first).snapshot()}, if both were
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. cmd/signature-v4.go

    	}
    
    	r.Header.Set("x-amz-signature-age", strconv.FormatInt(UTCNow().Sub(pSignValues.Date).Milliseconds(), 10))
    
    	return ErrNone
    }
    
    // doesSignatureMatch - Verify authorization header with calculated header in accordance with
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
    //
    // returns ErrNone if signature matches.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

         * @param clientChallenge the client challenge bytes
         * @param nanos1601 the timestamp in nanoseconds since 1601
         * @param avPairs the AV pairs from the Type 2 message
         * @return the calculated response
         */
        public static byte[] getNTLMv2Response(final byte[] responseKeyNT, final byte[] serverChallenge, final byte[] clientChallenge,
                final long nanos1601, final byte[] avPairs) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            int remarkOffset = shareNameSize + typeSize + offsetSize;
            SMBUtil.writeInt4(remarkOffset, buffer, bufferIndex);
            bufferIndex += 4;
    
            // Write remark at the calculated offset
            byte[] remarkBytes = remark.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(remarkBytes, 0, buffer, remarkOffset, remarkBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        /**
         * Calculate average send latency in microseconds
         *
         * @return average send latency
         */
        public double getAverageSendLatencyMicros() {
            long sends = rdmaSends.get();
            if (sends == 0) {
                return 0.0;
            }
            return totalSendTime.get() / (double) sends / 1000.0; // Convert to microseconds
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. cmd/update-notifier.go

    	line2InColor := fmt.Sprintf(msgLine2Fmt, color.CyanBold(updateString))
    
    	// calculate the rectangular box size.
    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            int commentOffset = serverNameSize + versionSize + typeSize + offsetSize;
            SMBUtil.writeInt4(commentOffset, buffer, bufferIndex);
            bufferIndex += 4;
    
            // Write comment at the calculated offset
            byte[] commentBytes = comment.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(commentBytes, 0, buffer, commentOffset, commentBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	if opts.MTime.IsZero() {
    		fi.ModTime = UTCNow()
    	}
    
    	// Save successfully calculated md5sum.
    	// for replica, newMultipartUpload would have already sent the replication ETag
    	if fi.Metadata["etag"] == "" {
    		if opts.UserDefined["etag"] != "" {
    			fi.Metadata["etag"] = opts.UserDefined["etag"]
    		} else { // fallback if not already calculated in handler.
    			fi.Metadata["etag"] = getCompleteMultipartMD5(parts)
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top