- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,507 for system (0.03 sec)
-
src/main/java/jcifs/internal/witness/WitnessRegistration.java
/** * Generates a unique registration ID. * * @return a unique registration identifier */ private String generateRegistrationId() { return "REG-" + System.currentTimeMillis() + "-" + Integer.toHexString(System.identityHashCode(this)); } /** * Gets the next sequence number for this registration. * * @return the next sequence number */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
this.creationTime = System.currentTimeMillis(); this.allocationStackTrace = Thread.currentThread().getStackTrace(); this.closed = false; } boolean isAlive() { return resourceRef.get() != null && !closed; } long getAge() { return System.currentTimeMillis() - creationTime; } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
@Test void testReadDataWireFormatWithValidLength() throws SMBProtocolDecodingException { // Prepare test data byte[] sourceData = { 10, 20, 30, 40, 50 }; byte[] buffer = new byte[100]; System.arraycopy(sourceData, 0, buffer, 10, sourceData.length); // Execute int result = response.readDataWireFormat(buffer, 10, sourceData.length); // VerifyRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
* Update activity timestamp */ public void updateActivity() { this.lastActivityTime = System.currentTimeMillis(); } /** * Get idle time since last activity * * @return idle time in milliseconds */ public long getIdleTime() { return System.currentTimeMillis() - lastActivityTime; } /** * Check if channel is in healthy stateRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
void setUpStreams() { originalOut = System.out; originalErr = System.err; outContent = new ByteArrayOutputStream(); errContent = new ByteArrayOutputStream(); System.setOut(new PrintStream(outContent)); System.setErr(new PrintStream(errContent)); } @AfterEach void restoreStreams() { System.setOut(originalOut); System.setErr(originalErr); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java
} public void test_waitForNext_withPositiveInterval() throws InterruptedException { configHelper.setReloadInterval(20L); long startTime = System.currentTimeMillis(); configHelper.waitForNext(); long endTime = System.currentTimeMillis(); long elapsed = endTime - startTime; assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 00:03:47 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
try { parser.parseArgument(args); } catch (final CmdLineException e) { System.err.println(e.getMessage()); System.err.println("java " + SuggestCreator.class.getCanonicalName() + " [options...] arguments..."); parser.printUsage(System.err); return; } if (logger.isDebugEnabled()) { try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
// can be read from the cache. System.out.println("Force cache: true"); clientForCall = client.newBuilder() .addNetworkInterceptor(REWRITE_CACHE_CONTROL_INTERCEPTOR) .build(); } else { System.out.println("Force cache: false"); clientForCall = client; }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
offset += 2; System.arraycopy(domain, 0, targetInfo, offset, domainLength); offset += domainLength; } if (serverLength > 0) { writeUShort(targetInfo, offset, 1); offset += 2; writeUShort(targetInfo, offset, serverLength); offset += 2; System.arraycopy(server, 0, targetInfo, offset, serverLength); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// The error should occur when System.arraycopy is called. ByteEncodable encodable = new ByteEncodable(data, 1, 2); // off=1, len=2, data.length=2. 1+2 > 2 byte[] dest = new byte[5]; // Expect IndexOutOfBoundsException from System.arraycopy assertThrows(IndexOutOfBoundsException.class, () -> { encodable.encode(dest, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0)