Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Microseconds (1.45 sec)

  1. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * <p>This always holds: {@code 0 <= permitsToTake <= storedPermits}
       */
      abstract long storedPermitsToWaitTime(double storedPermits, double permitsToTake);
    
      /**
       * Returns the number of microseconds during cool down that we have to wait to get a new permit.
       */
      abstract double coolDownIntervalMicros();
    
      /** Updates {@code storedPermits} and {@code nextFreeTicketMicros} based on the current time. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    So, behind the scenes, it will actually work as if everything was the same single app.
    
    ///
    
    /// check
    
    You don't have to worry about performance when including routers.
    
    This will take microseconds and will only happen at startup.
    
    So it won't affect performance. ⚡
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    				})
    
    				for apiName, latency := range disk.Metrics.LastMinute {
    					metrics = append(metrics, MetricV2{
    						Description:    getNodeDriveAPILatencyMD(),
    						Value:          float64(latency.Avg().Microseconds()),
    						VariableLabels: map[string]string{"drive": disk.DrivePath, "api": "storage." + apiName},
    					})
    				}
    			}
    		}
    
    		metrics = append(metrics, MetricV2{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 133.6K bytes
    - Viewed (0)
  4. tests/test_datetime_custom_encoder.py

        class ModelWithDatetimeField(BaseModel):
            dt_field: datetime
    
            @field_serializer("dt_field")
            def serialize_datetime(self, dt_field: datetime):
                return dt_field.replace(microsecond=0, tzinfo=timezone.utc).isoformat()
    
        app = FastAPI()
        model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
    
        @app.get("/model", response_model=ModelWithDatetimeField)
        def get_model():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 817 bytes
    - Viewed (0)
  5. internal/s3select/parquet/reader.go

    						duration = time.Duration(val) * time.Nanosecond
    					case ts.Unit.IsSetMILLIS():
    						duration = time.Duration(val) * time.Millisecond
    					case ts.Unit.IsSetMICROS():
    						duration = time.Duration(val) * time.Microsecond
    					default:
    						return nil, errors.New("Invalid LogicalType annotation found")
    					}
    					value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. cmd/http-tracer_test.go

    			defer wg.Done()
    			for range opsPerGoroutine {
    				_ = httpStats.toServerHTTPStats(false)
    				_ = httpStats.totalS3Requests.Load(false)
    				_ = httpStats.currentS3Requests.Load(false)
    				time.Sleep(1 * time.Microsecond)
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	finalStats := httpStats.toServerHTTPStats(false)
    	totalRequests := 0
    	for _, v := range finalStats.TotalS3Requests.APIStats {
    		totalRequests += v
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. tests/test_jsonable_encoder.py

        class ModelWithCustomEncoder(BaseModel):
            dt_field: datetime
    
            @field_serializer("dt_field")
            def serialize_dt_field(self, dt):
                return dt.replace(microsecond=0, tzinfo=timezone.utc).isoformat()
    
        class ModelWithCustomEncoderSubclass(ModelWithCustomEncoder):
            pass
    
        model = ModelWithCustomEncoder(dt_field=datetime(2019, 1, 1, 8))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. docs/fr/docs/async.md

    À la place, en étant "asynchrone", une fois terminée, une tâche peut légèrement attendre (quelques microsecondes) que l'ordinateur / le programme finisse ce qu'il était en train de faire, et revienne récupérer le résultat.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. api/go1.13.txt

    pkg testing, method (*B) ReportMetric(float64, string)
    pkg testing, type BenchmarkResult struct, Extra map[string]float64
    pkg text/template, method (ExecError) Unwrap() error
    pkg time, method (Duration) Microseconds() int64
    pkg time, method (Duration) Milliseconds() int64
    pkg unicode, const Version = "11.0.0"
    pkg unicode, var Dogra *RangeTable
    pkg unicode, var Gunjala_Gondi *RangeTable
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    	return &dynamicSleeper{
    		factor:    factor,
    		cycle:     make(chan struct{}),
    		maxSleep:  maxWait,
    		minSleep:  100 * time.Microsecond,
    		isScanner: isScanner,
    	}
    }
    
    // Timer returns a timer that has started.
    // When the returned function is called it will wait.
    func (d *dynamicSleeper) Timer(ctx context.Context) func() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
Back to top