Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 507 for timers (0.05 sec)

  1. src/archive/zip/writer_test.go

    	h := &FileHeader{
    		Name:     "test.txt",
    		Modified: time.Date(2017, 10, 31, 21, 11, 57, 0, timeZone(-7*time.Hour)),
    	}
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(h); err != nil {
    		t.Fatalf("unexpected CreateHeader error: %v", err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("unexpected Close error: %v", err)
    	}
    
    	want, err := os.ReadFile("testdata/time-go.zip")
    	if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            List<FileNotifyInformation> notifications = Arrays.asList(mockNotifyInfo1, mockNotifyInfo2);
            MockNotifyResponse response = new MockNotifyResponse(notifications);
    
            // Call getNotifyInformation multiple times
            List<FileNotifyInformation> result1 = response.getNotifyInformation();
            List<FileNotifyInformation> result2 = response.getNotifyInformation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    		offset = 0
    	}
    	return time.FixedZone("", int(offset/time.Second))
    }
    
    // msDosTimeToTime converts an MS-DOS date and time into a time.Time.
    // The resolution is 2s.
    // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime
    func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
    	return time.Date(
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.CopyUtil;
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.io.InputStreamUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.builder.RequestDataBuilder;
    import org.codelibs.fess.crawler.client.AbstractCrawlerClient;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        public void testCloseIdempotent() {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "IdempotentPass123!");
    
            assertFalse(auth.isClosed());
    
            // Close multiple times
            auth.close();
            assertTrue(auth.isClosed());
    
            auth.close(); // Should not throw
            assertTrue(auth.isClosed());
    
            auth.close(); // Should still not throw
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * timeouts (due to a problem with the transport). When a stream times out we don't know whether
       * the problem impacts just one stream or the entire connection.
       *
       * To differentiate the two cases we ping the server when a stream times out. If the overall
       * connection is fine the ping will receive a pong; otherwise it won't.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * If the application closes the response body before attempting a read, this is invoked at the
       * time it is closed.
       *
       * The connection is implicit, and will generally relate to the last [connectionAcquired] event.
       *
       * This will usually be invoked only 1 time for a single [Call], exceptions are a limited set of
       * cases including failure recovery.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * referrals. Nested resources will inherit the information already resolved by the parent resource.
     *
     * Invariant:
     * A directory resource must have a trailing slash/backslash for both URL and UNC path at all times.
     *
     * @author mbechler
     *
     */
    class SmbResourceLocatorImpl implements SmbResourceLocatorInternal, Cloneable {
    
        private static final Logger log = LoggerFactory.getLogger(SmbResourceLocatorImpl.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/BaseContextTest.java

            }
        }
    
        @Test
        @DisplayName("Context components should maintain consistent state")
        void testComponentStateConsistency() {
            // When - get components multiple times
            Configuration config1 = context.getConfig();
            Configuration config2 = context.getConfig();
            DfsResolver dfs1 = context.getDfs();
            DfsResolver dfs2 = context.getDfs();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top