- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 251 for calculates (0.21 seconds)
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Dec 13 22:19:12 GMT 2024 - 12.4K bytes - Click Count (0) -
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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
internal/hash/errors.go
return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256 } // BadDigest - Content-MD5 you specified did not match what we received. type BadDigest struct { ExpectedMD5 string CalculatedMD5 string } func (e BadDigest) Error() string { return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5 } // SizeTooSmall reader size too small
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 15 21:08:54 GMT 2023 - 2.4K bytes - Click Count (0) -
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 } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 10.7K bytes - Click Count (0) -
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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
@Test @DisplayName("Should calculate size for null ciphers") void testSizeWithNullCiphers() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null); assertEquals(4, context.size()); } @Test @DisplayName("Should calculate size for empty ciphers") void testSizeWithEmptyCiphers() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
cmd/http-tracer.go
inputBytes += len(k) + len(v) } // Calculate node name nodeName := r.Host if globalIsDistErasure { nodeName = globalLocalNodeName } if host, port, err := net.SplitHostPort(nodeName); err == nil { if port == "443" || port == "80" { nodeName = host } } // Calculate reqPath reqPath := r.URL.RawPath if reqPath == "" { reqPath = r.URL.Path
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
offset++; } } if (logger.isDebugEnabled()) { logger.debug("Calculated offset: {}, total fused documents: {}", offset, fusedDocs.size()); } final SearchResult mainResult = results[0]; long allRecordCount = mainResult.getAllRecordCount(); if (Relation.EQUAL_TO.toString().equals(mainResult.getAllRecordCountRelation())) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 25 02:13:14 GMT 2025 - 28K bytes - Click Count (0)