- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 155 for calculation (0.06 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
assertArrayEquals(bufferCopy, buffer, "Buffer content should not be modified"); } @Test @DisplayName("Test readBytesWireFormat with offset calculation") void testReadBytesWireFormatOffsetCalculation() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
} @Test @DisplayName("Test readDataWireFormat with converter offset") void testReadDataWireFormatWithConverter() throws Exception { // Set converter to test offset calculation int converterValue = 100; setConverter(response, converterValue); setNumEntries(response, 1); String serverName = "TEST"; String comment = "Test comment";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
if (maxResponseTime.compareAndSet(currentMax, responseTimeMs)) { break; } currentMax = maxResponseTime.get(); } // Add to history for percentile calculation responseTimeHistory.addLast(responseTimeMs); if (responseTimeHistory.size() > 1000) { // Keep last 1000 measurements responseTimeHistory.removeFirst(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
cmd/config-current.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 28.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertEquals(0, testMessage.getSessionId()); assertEquals(0, testMessage.getTreeId()); } } @Nested @DisplayName("Size Calculation Tests") class SizeCalculationTests { @Test @DisplayName("Should calculate size8 without alignment") void testSize8NoAlignment() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(i + 1, context.getHashAlgos()[i]); } assertArrayEquals(salt, context.getSalt()); } } @Nested @DisplayName("Size Calculation Tests") class SizeCalculationTests { @Test @DisplayName("Should calculate size for null hash algorithms and salt") void testSizeWithNullHashAlgosAndSalt() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
private final Strategy strategy; /** Natural logarithm of 2, used to optimize calculations in Bloom filter sizing. */ private static final double LOG_TWO = Math.log(2); /** Square of the natural logarithm of 2, reused to optimize the bit size calculation. */ private static final double SQUARED_LOG_TWO = LOG_TWO * LOG_TWO; /** Creates a BloomFilter. */ private BloomFilter(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 19:23:59 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * Calculates the wire format length of a string * @param str string to measure * @param offset current buffer offset for alignment calculation * @return string length */ public int stringWireLength(final String str, final int offset) { int len = str.length() + 1; if (this.useUnicode) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
AbstractFuture<Object> testFuture = new AbstractFuture<Object>() { @Override public String pendingToString() { // Complete ourselves during the toString calculation this.set(true); return "cause=[Because this test isn't done]"; } }; assertThat(testFuture.toString())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
if (plugin.isExtensions() && !artifacts.isEmpty()) { // ignore plugin descriptor parsing errors at this point // these errors will reported during calculation of project build execution plan try { pluginDescriptor = extractPluginDescriptor(artifacts.get(0), plugin);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 09 16:35:21 UTC 2025 - 46.4K bytes - Viewed (0)