- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 913 for ftime (0.02 seconds)
-
cmd/admin-server-info.go
gcStats := debug.GCStats{ // If stats.PauseQuantiles is non-empty, ReadGCStats fills // it with quantiles summarizing the distribution of pause time. // For example, if len(stats.PauseQuantiles) is 5, it will be // filled with the minimum, 25%, 50%, 75%, and maximum pause times. PauseQuantiles: make([]time.Duration, 5), } debug.ReadGCStats(&gcStats) // Truncate GC stats to max 5 entries. if len(gcStats.PauseEnd) > 5 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.9K bytes - Click Count (1) -
android/guava/src/com/google/common/cache/CacheStats.java
* used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount} * or {@code loadExceptionCount} is incremented. */ @SuppressWarnings("GoodTime") // should return a java.time.Duration public long totalLoadTime() { return totalLoadTime; } /** * Returns the average time spent loading new values. This is defined as {@code totalLoadTime /Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
* used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount} * or {@code loadExceptionCount} is incremented. */ @SuppressWarnings("GoodTime") // should return a java.time.Duration public long totalLoadTime() { return totalLoadTime; } /** * Returns the average time spent loading new values. This is defined as {@code totalLoadTime /Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
logger/slog_test.go
package logger import ( "bytes" "context" "log/slog" "strings" "testing" "time" ) func TestSlogLogger(t *testing.T) { buf := &bytes.Buffer{} handler := slog.NewTextHandler(buf, &slog.HandlerOptions{AddSource: true}) logger := NewSlogLogger(slog.New(handler), Config{LogLevel: Info}) logger.Trace(context.Background(), time.Now(), func() (string, int64) { return "select count(*) from users", 0 }, nil)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 10:56:26 GMT 2025 - 782 bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
* under the License. */ package org.apache.maven.cling.utils; import java.io.IOException; import java.io.InputStream; import java.time.Duration; import java.time.format.DateTimeFormatter; import java.time.temporal.TemporalAccessor; import java.util.Locale; import java.util.Properties; import org.apache.maven.impl.util.Os; import org.apache.maven.jline.MessageUtils;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 6.8K bytes - Click Count (0) -
cmd/metrics-v3-system-process.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "runtime" "time" "github.com/prometheus/procfs" ) const ( processLocksReadTotal = "locks_read_total" processLocksWriteTotal = "locks_write_total" processCPUTotalSeconds = "cpu_total_seconds"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jun 20 17:55:03 GMT 2024 - 6.5K bytes - Click Count (0) -
internal/event/targetlist_test.go
return nil } func (target ExampleTarget) send(eventData Event) error { b := make([]byte, 1) if _, err := rand.Read(b); err != nil { panic(err) } time.Sleep(time.Duration(b[0]) * time.Millisecond) if target.sendErr { return errors.New("send error") } return nil } // SendFromStore - interface compatible method does no-op.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 6K bytes - Click Count (0) -
docs_src/extra_data_types/tutorial001_py310.py
from datetime import datetime, time, timedelta from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: datetime = Body(), end_datetime: datetime = Body(), process_after: timedelta = Body(), repeat_at: time | None = Body(default=None), ): start_process = start_datetime + process_after
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Apr 19 00:11:40 GMT 2024 - 724 bytes - Click Count (0) -
internal/logger/message/audit/entry.go
// NewEntry - constructs an audit entry object with some fields filled func NewEntry(deploymentID string) audit.Entry { return audit.Entry{ Version: Version, DeploymentID: deploymentID, Time: time.Now().UTC(), } } // ToEntry - constructs an audit entry from a http request func ToEntry(w http.ResponseWriter, r *http.Request, reqClaims map[string]any, deploymentID string) audit.Entry {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.2K bytes - Click Count (0) -
docs_src/extra_data_types/tutorial001_an_py310.py
from datetime import datetime, time, timedelta from typing import Annotated from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[time | None, Body()] = None, ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Apr 19 00:11:40 GMT 2024 - 788 bytes - Click Count (0)