- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 412 for rounds (0.03 sec)
-
src/main/java/jcifs/smb1/smb1/NtStatus.java
/** The data area passed to a system call is too small */ int NT_STATUS_BUFFER_TOO_SMALL = 0xC0000023; /** The object name is invalid */ int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033; /** The object was not found */ int NT_STATUS_OBJECT_NAME_NOT_FOUND = 0xC0000034; /** The object name already exists */ int NT_STATUS_OBJECT_NAME_COLLISION = 0xC0000035; /** The port is disconnected */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(0, dst[35], "Reserved byte should be 0"); } @Test void testWriteParameterWordsWireFormat_ZeroCounts() { // Test with zero parameter and data counts to check conditional logic. smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT; smbComNtTransaction.parameterCount = 0; smbComNtTransaction.dataCount = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// getLastWriteTime returns lastWriteTime (from readUTime) + serverTimeZoneOffset // readUTime multiplies the seconds value by 1000, and writeUTime divides milliseconds by 1000 // So the round-trip should preserve the milliseconds value assertEquals(sampleTimeMillis + serverTimeZoneOffset, response.getLastWriteTime()); assertEquals(1024, response.getSize()); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
PacDataInputStream pacStream = new PacDataInputStream(bais); Date date = pacStream.readFiletime(); assertNotNull(date); // The date should be around 1970 (allowing for some conversion differences) assertTrue(date.getYear() + 1900 >= 1969 && date.getYear() + 1900 <= 1971); } @Test @DisplayName("Test invalid FILETIME handling")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
} protected static String formatFeatureSet(Set<? extends Feature<?>> features) { List<String> temp = new ArrayList<>(); for (Feature<?> feature : features) { Object featureAsObject = feature; // to work around bogus JDK warning if (featureAsObject instanceof Enum) { Enum<?> f = (Enum<?>) featureAsObject; temp.add(f.getDeclaringClass().getSimpleName() + "." + feature); } else {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; } /** * Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit, * with any fraction rounded down. * * <p><b>Note:</b> the overhead of measurement can be more than a microsecond, so it is generally * not useful to specify {@link TimeUnit#NANOSECONDS} precision here. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
private final LongAddable totalLoadTime = LongAddables.create(); private final LongAddable evictionCount = LongAddables.create(); /** Constructs an instance with all counts initialized to zero. */ public SimpleStatsCounter() {} /** * @since 11.0 */ @Override public void recordHits(int count) { hitCount.add(count); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
} /** * Finds a login user by username. * * @param username the username to search for * @return an optional entity containing the found user, or empty if not found */ @Override protected OptionalEntity<FessUser> doFindLoginUser(final String username) { return userBhv.selectEntity(cb -> { cb.query().setName_Equal(username);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.1K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
listener.assertFailure("canceled") } @Test fun failureWith401IsReadable() { server.enqueue( MockResponse( code = 401, body = "{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}", headers = Headers.headersOf("content-type", "application/json"), ), ) server.enqueue( MockResponse( body = """ |data: hey
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
// NdrShort masks to 0xFF (8 bits) in its constructor int expected = input & 0xFF; assertEquals(expected, ns.value, "value should be masked to 0xFF before storing"); } /** * Round-trip encode/decode for a selection of representative values. */ @ParameterizedTest @ValueSource(ints = { 0, 42, 255, -1, 128 }) void encodeDecodeRoundTrip(int original) throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0)