- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 960 for Second (0.07 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Verify time was read correctly (accounting for UTime conversion) long readTime = (Long) getFieldValue(response, "lastWriteTime"); // UTime is seconds since 1970, so we need to compare at second precision assertEquals(lastWriteTime / 1000, readTime / 1000); } @Test void testReadParameterWordsWireFormatWithZeroWordCount() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx) // first attempt fails with auth .thenReturn(handle); // second attempt succeeds // dest currently has READONLY attribute set int currentAttrs = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_ARCHIVE; when(dest.getAttributes()).thenReturn(currentAttrs);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
docs/en/docs/environment-variables.md
For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
// this will run at most twice. The first time, the firstRun flag is turned off, and if the retry flag // is set on the first run, it will be turned off and not re-set on the second try. This is because the // only way the retry flag can be set is if ( firstRun == true ). while (firstRun || retry) { ChecksumObserver md5ChecksumObserver = null;Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
Field remarkField = SmbShareInfo.class.getDeclaredField("remark"); remarkField.setAccessible(true); assertEquals("Remark for Share1", remarkField.get(shareInfo)); // Verify the second entry FileEntry entry2 = entries[1]; assertNotNull(entry2); assertEquals("Share2", entry2.getName()); assertEquals(32, entry2.getType()); // TYPE_PRINTER constant (0x20) }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
cmd/listen-notification-handlers.go
return } if pingInterval < 1 { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidQueryParams), r.URL) return } t := time.NewTicker(time.Duration(pingInterval) * time.Second) defer t.Stop() emptyEventTicker = t.C } else { // Deprecated Apr 2023 t := time.NewTicker(500 * time.Millisecond) defer t.Stop() keepAliveTicker = t.C } enc := json.NewEncoder(w)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("Should find correct value for embedded pointer type") } if hnPost.Author != nil { t.Errorf("Expected to get back a nil Author but got: %v", hnPost.Author) } now := time.Now().Round(time.Second) NewPost := HNPost{ BasePost: &BasePost{Title: "embedded_pointer_type2"}, Author: &Author{ Name: "test", Content: Content{"test"}, ContentPtr: nil, Birthday: now,
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
this.channelId = channelId; this.failureTime = System.currentTimeMillis(); this.retryCount = 0; this.nextRetryTime = failureTime + 1000; // Initial 1 second delay } /** * Get channel ID * * @return channel identifier */ public String getChannelId() { return channelId; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
if (timeout <= 0) { return null; } return TimeoutManager.getInstance().addTimeoutTarget(() -> { logger.warn("Process is terminated due to {} second exceeded.", timeout); ComponentUtil.getProcessHelper().destroyProcess(sessionId); processTimeout = true; }, timeout, false); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0)