Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 292 for asSeconds (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            assertEquals(20, bytesRead);
            assertEquals(0x0010, response.getAttributes());
            // 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/Referral.java

         *
         * @return the altPath
         */
        public final String getAltPath() {
            return this.altPath;
        }
    
        /**
         * Gets the time-to-live value for this referral in seconds.
         *
         * @return the ttl
         */
        public final int getTtl() {
            return this.ttl;
        }
    
        /**
         * Gets the referral path.
         *
         * @return the rpath
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/QueuesTest.java

    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Stopwatch;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.concurrent.ArrayBlockingQueue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        dispatcher.enqueue(
          MockResponse
            .Builder()
            .bodyDelay(10, TimeUnit.SECONDS)
            .body("abc")
            .build(),
        )
        dispatcher.enqueue(
          MockResponse
            .Builder()
            .bodyDelay(10, TimeUnit.SECONDS)
            .body("def")
            .build(),
        )
        dispatcher.enqueue(
          MockResponse(body = "ghi"),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        protected int maxRedirectCount;
    
        /** Executor service for concurrent processing of file operations. */
        private final ExecutorService executor;
    
        /** Timeout in seconds for executor service termination during shutdown. */
        private int executorTerminationTimeout = 300;
    
        /**
         * Constructs a new FileListIndexUpdateCallbackImpl with the specified parameters.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  6. cmd/update-notifier_test.go

    		{0, "another_update_url", ""},
    		{time.Hour, "", ""},
    		{0 * time.Second, "my_download_url", "now"},
    		{1 * time.Second, "my_download_url", "1 second before the latest release"},
    		{37 * time.Second, "my_download_url", "37 seconds before the latest release"},
    		{60 * time.Second, "my_download_url", "1 minute before the latest release"},
    		{61 * time.Second, "my_download_url", "1 minute before the latest release"},
    
    		// Testcase index 10
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. docs/sts/assume-role.go

    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		stsOpts.Policy = policy
    	}
    	if expiryDuration != 0 {
    		stsOpts.DurationSeconds = int(expiryDuration.Seconds())
    	}
    	li, err := cr.NewSTSAssumeRole(stsEndpoint, stsOpts)
    	if err != nil {
    		log.Fatalf("Error initializing STS Identity: %v", err)
    	}
    
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            }
    
            registrations.clear();
            log.info("Mock witness service stopped");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    	if delta < 0 {
    		rx = 0
    		errStr = "network disconnection issues detected"
    	}
    
    	globalNetPerfRX.Reset()
    	return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr}
    }
    
    func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerfNodeResult {
    	r := &netperfReader{eof: make(chan struct{})}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        }
    
      private var body: Buffer? = null
    
      var throttleBytesPerPeriod: Long = Long.MAX_VALUE
        private set
      private var throttlePeriodAmount = 1L
      private var throttlePeriodUnit = TimeUnit.SECONDS
    
      @set:JvmName("socketPolicy")
      var socketPolicy: SocketPolicy = SocketPolicy.KEEP_OPEN
    
      @set:JvmName("http2ErrorCode")
      var http2ErrorCode: Int = -1
    
      private var bodyDelayAmount = 0L
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top