- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for sense (0.27 sec)
-
fastapi/routing.py
and `response_model_exclude_defaults`. You probably want to use one of those two instead of this one, as those allow returning `None` values when it makes sense. Read more about it in the [FastAPI docs for Response Model - Return Type](https://fastapi.tiangolo.com/tutorial/response-model/#response_model_exclude_none). """
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 170.1K bytes - Viewed (0) -
fastapi/applications.py
and `response_model_exclude_defaults`. You probably want to use one of those two instead of this one, as those allow returning `None` values when it makes sense. Read more about it in the [FastAPI docs for Response Model - Return Type](https://fastapi.tiangolo.com/tutorial/response-model/#response_model_exclude_none). """
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 00:48:03 UTC 2024 - 172.2K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
toPath += "@" + m.Version } } // -fdebug-prefix-map (or -ffile-prefix-map) requires an absolute "to" // path (or it joins the path with the working directory). Pick something // that makes sense for the target platform. var to string if cfg.BuildContext.GOOS == "windows" { to = filepath.Join(`\\_\_`, toPath) } else { to = filepath.Join("/_", toPath) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
cluster/gce/util.sh
function print-windows-node-kubelet-config { # Notes: # - We don't run any static pods on Windows nodes yet. # TODO(mtaufen): Does it make any sense to set eviction thresholds for inodes # on Windows? # TODO(pjh, mtaufen): It may make sense to use a different hairpin mode on # Windows. We're currently using hairpin-veth, but
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
// but for the other sections that this applies to, we just write a read-only // .FOO section or a read-write .data.rel.ro.FOO section depending on the // situation. // TODO(mwhudson): It would make sense to do this more widely, but it makes // the system linker segfault on darwin. const relroPerm = 06 const fallbackPerm = 04 relroSecPerm := fallbackPerm genrelrosecname := func(suffix string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/reflect/value.go
return false } } return true default: // This should never happen, but will act as a safeguard for later, // as a default value doesn't makes sense here. panic(&ValueError{"reflect.Value.IsZero", v.Kind()}) } } // isZero For all zeros, performance is not as good as // return bytealg.Count(b, byte(0)) == len(b) func isZero(b []byte) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
.getValues<int8_t>(); ArrayRef<int64_t> filter_shape = filter_constant_op.getType().cast<TensorType>().getShape(); // Reverse the shapes. This makes sense, assuming that the filter tensor has a // rank of 2 (no batch dimension). SmallVector<int64_t, 2> new_filter_shape(filter_shape.rbegin(), filter_shape.rend());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
testServerPrematureDisconnect(TransferKind.CHUNKED) } @Test fun serverDisconnectsPrematurelyWithNoLengthHeaders() { // Intentionally empty. This case doesn't make sense because there's no // such thing as a premature disconnect when the disconnect itself // indicates the end of the data stream. } private fun testServerPrematureDisconnect(transferKind: TransferKind) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
// normal update and verify if !updateAndVerify(t, testContext, registry, podB) { t.Errorf("Unexpected error updating podB") } // unconditional update // NOTE: The logic for unconditional updates doesn't make sense to me, and imho should be removed. // doUnconditionalUpdate := resourceVersion == 0 && e.UpdateStrategy.AllowUnconditionalUpdate() // ^^ That condition can *never be true due to the creation of root objects. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
let summary = "Converts a sparse representation into a dense tensor."; let description = [{ Builds an array `dense` with shape `output_shape` such that ``` # If sparse_indices is scalar dense[i] = (i == sparse_indices ? sparse_values : default_value) # If sparse_indices is a vector, then for each i dense[sparse_indices[i]] = sparse_values[i]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)