- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for avoiding (0.12 sec)
-
src/cmd/vendor/golang.org/x/telemetry/counter/counter.go
// internal/counter, which can be shared with the upload package. // TODO(hyangah): use of type aliases prevents nice documentation // rendering in go doc or pkgsite. Fix this either by avoiding // type aliasing or restructuring the internal/counter package. import ( "flag" "path" "runtime/debug" "golang.org/x/telemetry/internal/counter" ) // Inc increments the counter with the given name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 18:02:34 UTC 2024 - 4.2K bytes - Viewed (0) -
src/sort/sort_slices_benchmark_test.go
package sort_test import ( "math/rand/v2" "slices" . "sort" "strconv" stringspkg "strings" "testing" ) // Benchmarks comparing sorting from the slices package with functions from // the sort package (avoiding functions that are just forwarding to the slices // package). func makeRandomInts(n int) []int { r := rand.New(rand.NewPCG(42, 0)) ints := make([]int, n) for i := 0; i < n; i++ { ints[i] = r.IntN(n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 22:59:40 UTC 2024 - 4K bytes - Viewed (0) -
internal/handlers/forwarder.go
u := req.URL if req.RequestURI != "" { parsedURL, err := url.ParseRequestURI(req.RequestURI) if err == nil { u = parsedURL } } return u } // copyURL provides update safe copy by avoiding shallow copying User field func copyURL(i *url.URL) *url.URL { out := *i if i.User != nil { u := *i.User out.User = &u } return &out } // Modify the request to handle the target URL
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 07 05:42:10 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iexport.go
// binary export data format. Its chief contribution is introducing an // index table, which allows efficient random access of individual // declarations and inline function bodies. In turn, this allows // avoiding unnecessary work for compilation units that import large // packages. // // // The top-level data format is structured as: // // Header struct { // Tag byte // 'i'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 02:40:02 UTC 2023 - 6.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/NormalizingCopyActionDecorator.java
List<FileCopyDetailsInternal> detailsForPath = pendingDirs.removeAll(path); FileCopyDetailsInternal dir; if (detailsForPath.isEmpty()) { // TODO - this is pretty nasty, look at avoiding using a time bomb stub here dir = new StubbedFileCopyDetails(path, includeEmptyDirs, chmod); } else { dir = detailsForPath.get(0); } delegateAction.processFile(dir);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/history-design-future.md
<blockquote markdown="1"> **FastAPI** wouldn't exist if not for the previous work of others. There have been many tools created before that have helped inspire its creation. I have been avoiding the creation of a new framework for several years. First I tried to solve all the features covered by **FastAPI** using many different frameworks, plug-ins, and tools.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 4.1K bytes - Viewed (0) -
src/runtime/cgo/gcc_signal_ios_arm64.c
thread_state.ts_32.__pc = x_cgo_panicmem; #endif if (0) { // Useful debugging logic when panicmem is broken. // // Sends the first SIGSEGV and lets lldb catch the // second one, avoiding a loop that locks up iOS // devices requiring a hard reboot. fprintf(stderr, "runtime/cgo: caught exc_bad_access\n"); fprintf(stderr, "__lr = %llx\n", thread_state.ts_64.__lr);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:04:22 UTC 2024 - 6K bytes - Viewed (0) -
fastapi/utils.py
) -> ModelField: if PYDANTIC_V2: return field # cloned_types caches already cloned types to support recursive models and improve # performance by avoiding unnecessary cloning if cloned_types is None: cloned_types = _CLONED_TYPES_CACHE original_type = field.type_ if is_dataclass(original_type) and hasattr(original_type, "__pydantic_model__"):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
import org.apache.maven.api.JavaPathType; import org.apache.maven.api.PathType; /** * Cache of {@link PathModularization} instances computed for given {@link Path} elements. * The cache is used for avoiding the need to reopen the same files many times when the * same dependency is used for different scope. For example a path used for compilation * is typically also used for tests. */ class PathModularizationCache { /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 7.7K bytes - Viewed (0) -
src/runtime/trace/annotation.go
// // The regionType is used to classify regions, so there should be only a // handful of unique region types. func WithRegion(ctx context.Context, regionType string, fn func()) { // NOTE: // WithRegion helps avoiding misuse of the API but in practice, // this is very restrictive: // - Use of WithRegion makes the stack traces captured from // region start and end are identical.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 00:47:09 UTC 2023 - 6.1K bytes - Viewed (0)