- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 131 for avoiding (0.13 sec)
-
doc/next/3-tools.md
module whose go.mod file specifies `go 1.21`. ### Cgo {#cgo} <!-- go.dev/issue/66456 --> [cmd/cgo] supports the new `-ldflags` flag for passing flags to the C linker. The `go` command uses it automatically, avoiding "argument list too long" errors with a very large `CGO_LDFLAGS`. ### Trace {#trace} <!-- go.dev/issue/65316 --> The `trace` tool now better tolerates partially broken traces by attempting to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 19:06:07 UTC 2024 - 3.4K bytes - Viewed (0) -
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) -
src/runtime/map_benchmark_test.go
m[0] = size // Add one element so len(m) != 0 avoiding fast paths. clear(m) } }) } }) b.Run("NonReflexive", func(b *testing.B) { for size := 1; size < 100000; size *= 10 { b.Run(strconv.Itoa(size), func(b *testing.B) { m := make(map[float64]int, size) for i := 0; i < b.N; i++ { m[1.0] = size // Add one element so len(m) != 0 avoiding fast paths. clear(m) } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 16:41:16 UTC 2023 - 10.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)