Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 365 for _milliseconds (0.24 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      fun timeoutsUpdatedOnReusedConnections() {
        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(
          MockResponse
            .Builder()
            .body("def")
            .throttleBody(1, 750, TimeUnit.MILLISECONDS)
            .build(),
        )
    
        // First request: time out after 1s.
        client =
          client
            .newBuilder()
            .readTimeout(Duration.ofSeconds(1))
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFile.java

        /**
         * Mask for attributes that can be set on the server
         */
        protected static final int ATTR_SET_MASK = 0x30A7;
        /**
         * Default expiration period for cached attributes in milliseconds
         */
        protected static final int DEFAULT_ATTR_EXPIRATION_PERIOD = 5000;
    
        /**
         * Hash code for the "." directory entry
         */
        protected static final int HASH_DOT = ".".hashCode();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        /**
         * The date and time format to be used in the output messages. The pattern describing the date and
         * time format is defined by SimpleDateFormat. If the format is not specified or is invalid, the
         * number of milliseconds since start up will be output.
         *
         * @since 4.0.0
         */
        @Config
        public static final String MAVEN_LOGGER_DATE_TIME_FORMAT = MAVEN_LOGGER_PREFIX + "dateTimeFormat";
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .build()
    
        // Delay the response to give 1 ping enough time to be sent and replied to.
        server.enqueue(
          MockResponse
            .Builder()
            .bodyDelay(750, TimeUnit.MILLISECONDS)
            .body("ABC")
            .build(),
        )
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABC")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  5. cmd/peer-rest-client.go

    	sent := time.Now()
    	resp, err := getSysConfigRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	info = resp.ValueOrZero()
    	if ti, ok := info.Config["time-info"].(madmin.TimeInfo); ok {
    		rt := int32(time.Since(sent).Milliseconds())
    		ti.RoundtripDuration = rt
    		info.Config["time-info"] = ti
    	}
    	return info, err
    }
    
    // GetSysErrors - fetch sys errors for a remote node.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  6. src/main/resources/fess_config.properties

    # Whether rate limiting is enabled.
    rate.limit.enabled=false
    # Maximum number of requests allowed per window.
    rate.limit.requests.per.window=100
    # Window size in milliseconds.
    rate.limit.window.ms=60000
    # Duration in milliseconds to block IP when limit exceeded.
    rate.limit.block.duration.ms=300000
    # Retry-After header value in seconds.
    rate.limit.retry.after.seconds=60
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  7. cmd/iam-store.go

    type PolicyDoc struct {
    	Version    int `json:",omitempty"`
    	Policy     policy.Policy
    	CreateDate time.Time
    	UpdateDate time.Time
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    // defaultPolicyDoc - used to wrap a default policy as PolicyDoc.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  8. cmd/endpoint.go

    	var epsResolved int
    	var foundLocal bool
    	resolvedList := make([]bool, len(endpoints))
    	// Mark the starting time
    	startTime := time.Now()
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    	for !foundLocal && (epsResolved != len(endpoints)) {
    		// Break if the local endpoint is found already Or all the endpoints are resolved.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  9. cmd/xl-storage-disk-id-check.go

    			case <-dctx.Done():
    				if !timeout.Stop() {
    					<-timeout.C
    				}
    			case <-timeout.C:
    				spent := time.Since(started)
    				goOffline(fmt.Errorf("unable to write+read for %v", spent.Round(time.Millisecond)), spent)
    			}
    		}()
    
    		func() {
    			defer dcancel()
    
    			err := p.storage.WriteAll(ctx, minioMetaTmpBucket, fn, toWrite)
    			if err != nil {
    				if osErrToFileErr(err) == errFaultyDisk {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                            if (params.contains(RequestParam.NO_TIMEOUT)) {
                                this.credits.acquire(cost);
                            } else if (!this.credits.tryAcquire(cost, timeout, TimeUnit.MILLISECONDS)) {
                                throw new SmbException("Failed to acquire credits in time");
                            }
                            totalSize += size;
                            // split off first request
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
Back to Top