- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 593 for friend (0.05 seconds)
-
tests/update_many2many_test.go
DB.Create(&lang) } user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Languages").Preload("Friends").Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user) for idx := range user.Friends { user.Friends[idx].Name += "new" }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 1.3K bytes - Click Count (0) -
tests/helper_test.go
} }) t.Run("Friends", func(t *testing.T) { if len(user.Friends) != len(expect.Friends) { t.Fatalf("Friends should equal, expect: %v, got %v", len(expect.Friends), len(user.Friends)) } sort.Slice(user.Friends, func(i, j int) bool { return user.Friends[i].ID > user.Friends[j].ID }) sort.Slice(expect.Friends, func(i, j int) bool {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Interners.java
public static <E> Interner<E> newWeakInterner() { return newBuilder().weak().build(); } @VisibleForTesting static final class InternerImpl<E> implements Interner<E> { // MapMaker is our friend, we know about this type @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map; private InternerImpl(MapMaker mapMaker) { this.map =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Interners.java
public static <E> Interner<E> newWeakInterner() { return newBuilder().weak().build(); } @VisibleForTesting static final class InternerImpl<E> implements Interner<E> { // MapMaker is our friend, we know about this type @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map; private InternerImpl(MapMaker mapMaker) { this.map =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6K bytes - Click Count (0) -
CODE_OF_CONDUCT.md
1. Address the perceived conflict directly with those involved, preferably in a real-time medium. 2. If this fails, get a third party (e.g. a mutual friend, and/or someone with background on the issue, but not involved in the conflict) to intercede. 3. If you are still unable to resolve the conflict, and you believe it rises toCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Feb 05 18:43:16 GMT 2021 - 5.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/ok-ci-friendly-sha1.xml
<modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>valid-version-sha1</artifactId> <version>${sha1}</version> <description> This will test if the validation for the ci friendly versions is working correct. </description>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/bad-ci-friendly-sha1plus2.xml
<groupId>com.example.group</groupId> <artifactId>valid-version-sha1plus</artifactId> <version>${sha1}${wrong}${revision}</version> <description> This will test if the validation for the ci friendly versions is working correct. </description>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/ok-ci-friendly-changelist.xml
<groupId>com.example.group</groupId> <artifactId>valid-version-changelist</artifactId> <version>${changelist}</version> <description> This will test if the validation for the ci friendly versions is working correct. </description>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
docs_src/python_types/tutorial011_py310.py
id: int name: str = "John Doe" signup_ts: datetime | None = None friends: list[int] = [] external_data = { "id": "123", "signup_ts": "2017-06-01 12:22", "friends": [1, "2", b"3"], } user = User(**external_data) print(user) # > User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3] print(user.id)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 02 15:56:35 GMT 2023 - 461 bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/bad-ci-friendly.xml
<modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>valid-version-wrong</artifactId> <version>${wrong}</version> <description> This will test if the validation for the ci friendly versions is working correct. </description>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0)