Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,385 for When (0.05 sec)

  1. tests/update_many2many_test.go

    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}}
    	for _, lang := range user.Languages {
    		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
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/CharEscaper.java

     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
     * resulting XML document is parsed, the parser API will return this text as the original literal
     * string {@code "Foo<Bar>"}.
     *
     * <p>A {@code CharEscaper} instance is required to be stateless, and safe when used concurrently by
     * multiple threads.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

         * property pointing to itself.
         */
        @Test
        void testDefaultConstructor() {
            // Given
            DfsReferral referral = new DfsReferral();
    
            // When / Then
            assertNotNull(referral, "The DfsReferral object should not be null.");
            assertEquals(referral, referral.next, "The 'next' property should point to the object itself.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test getInfo with class when info is null throws NullPointerException")
        void testGetInfoWithClassWhenInfoIsNull() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            assertThrows(NullPointerException.class, () -> response.getInfo(FileInternalInfo.class),
                    "Should throw NullPointerException when info is null");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/RequestWithPathTest.java

        void testSetResolveInDfs() {
            // Test with mock
            doNothing().when(requestWithPath).setResolveInDfs(true);
            requestWithPath.setResolveInDfs(true);
            verify(requestWithPath, times(1)).setResolveInDfs(true);
    
            doNothing().when(requestWithPath).setResolveInDfs(false);
            requestWithPath.setResolveInDfs(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

             * where this isn't true, but we ignore it: If we record an exception, then someone calls
             * initCause() on it, and then we examine it again, we'll conclude that we've seen the whole
             * chain before when in fact we haven't. But this should be rare.)
             */
            return false;
          }
        }
        return true;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. tests/create_test.go

    		t.Fatalf("errors happened when query: %v", err)
    	} else {
    		CheckUser(t, newUser, u1)
    	}
    
    	type user struct {
    		ID   int `gorm:"primaryKey;->:false"`
    		Name string
    		Age  int
    	}
    
    	var u2 user
    	if results := DB.Create(&u2); results.Error != nil {
    		t.Fatalf("errors happened when create: %v", results.Error)
    	} else if results.RowsAffected != 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

     *  Fix: Don't throw when converting an `HttpUrl` to a `java.net.URI`.
        Previously URLs with special characters like `|` and `[` would break when
        subjected to URI’s overly-strict validation.
     *  Fix: Don't re-encode `+` as `%20` in encoded URL query strings. OkHttp
        prefers `%20` when doing its own encoding, but will retain `+` when that is
        provided.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        void nameFilterAccepts(String acceptedName) throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            when(nameFilter.accept(any(), any())).thenReturn(false);
            when(nameFilter.accept(parent, acceptedName)).thenReturn(true);
    
            FileEntry initial = entry("first");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

     */
    class Route(
      @get:JvmName("address") val address: Address,
      /**
       * Returns the [Proxy] of this route.
       *
       * **Warning:** This may disagree with [Address.proxy] when it is null. When the address's proxy
       * is null, the proxy selector is used.
       */
      @get:JvmName("proxy") val proxy: Proxy,
      @get:JvmName("socketAddress") val socketAddress: InetSocketAddress,
    ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top