- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for assign (0.16 sec)
-
finisher_api.go
} // initialize with attrs, conds if len(db.Statement.assigns) > 0 { result.assignInterfacesToValue(db.Statement.assigns...) } return tx.Create(dest) } else if len(db.Statement.assigns) > 0 { exprs := tx.Statement.BuildCondition(db.Statement.assigns[0], db.Statement.assigns[1:]...) assigns := map[string]interface{}{} for i := 0; i < len(exprs); i++ { expr := exprs[i]
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
callbacks.go
} if db.DefaultContextTimeout > 0 { if _, ok := stmt.Context.Deadline(); !ok { stmt.Context, _ = context.WithTimeout(stmt.Context, db.DefaultContextTimeout) } } // assign model values if stmt.Model == nil { stmt.Model = stmt.Dest } else if stmt.Dest == nil { stmt.Dest = stmt.Model } // parse model values if stmt.Model != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
// For direct ByteBuffers, this could be obtained through unsafe operations // or DiSNI-specific methods if (buffer.isDirect()) { // Assign a unique address to each buffer instance return bufferAddresses.computeIfAbsent(buffer, b -> addressCounter.getAndIncrement()); } else {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/en/docs/tutorial/metadata.md
/// tip You don't have to add metadata for all the tags that you use. /// ### Use your tags { #use-your-tags } Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags: {* ../../docs_src/metadata/tutorial004.py hl[21,26] *} /// info Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
Then with `random.choice()` we can get a **random value** from the list, so, we get a tuple with `(id, name)`. It will be something like `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`. Then we **assign those two values** of the tuple to the variables `id` and `name`. So, if the user didn't provide an item ID, they will still receive a random suggestion.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
/// Whenever a new request arrives, **FastAPI** will take care of: * Calling your dependency ("dependable") function with the correct parameters. * Get the result from your function. * Assign that result to the parameter in your *path operation function*. ```mermaid graph TB common_parameters(["common_parameters"]) read_items["/items/"] read_users["/users/"] common_parameters --> read_items
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
cmd/encryption-v1.go
return -1, errors.New("Cannot compute decrypted size of an unencrypted object") } if !o.isMultipart() { size, err := sio.DecryptedSize(uint64(o.Size)) if err != nil { err = errObjectTampered // assign correct error type } return int64(size), err } var size int64 for _, part := range o.Parts { partSize, err := sio.DecryptedSize(uint64(part.Size)) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
RELEASE.md
[guide on input distribution](https://www.tensorflow.org/tutorials/distribute/input). * Allow var.assign on MirroredVariables with aggregation=NONE in replica context. Previously this would raise an error. We now allow this because many users and library writers find using `.assign` in replica context to be more convenient, instead of having to use `Strategy.extended.update` whichRegistered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (2) -
cmd/erasure-object.go
for index := range disks { g.Go(func() error { if disks[index] == nil { return errDiskNotFound } // Pick one FileInfo for a disk at index. fi := metadata[index] // Assign index when index is initialized if fi.Erasure.Index == 0 { fi.Erasure.Index = index + 1 } if !fi.IsValid() { return errFileCorrupt }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 80.4K bytes - Viewed (0) -
cmd/erasure-server-pool.go
// A fast exit when the object is found and removed dobjects[i] = dObjectsByPool[pool][i] derrs[i] = nil break } if derrs[i] == nil { // No error related to this object is found, assign this pool result // whether it is nil because there is no object found or because of // some other errors such erasure quorum errors. dobjects[i] = dObjectsByPool[pool][i] derrs[i] = dErrsByPool[pool][i]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0)