Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 916 for puts (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertThat(recordedRequest.body?.utf8()).isEqualTo("def")
      }
    
      @Test
      fun put() {
        server.enqueue(MockResponse(body = "abc"))
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .put("def".toRequestBody("text/plain".toMediaType()))
            .build()
        executeSynchronously(request)
          .assertCode(200)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. tests/associations_has_many_test.go

    	if len(pets) != 1 {
    		t.Fatalf("should only find one pets, but got %v", len(pets))
    	}
    
    	CheckPet(t, pets[0], *user.Pets[0])
    
    	if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 {
    		t.Fatalf("should only find one pets, but got %v", count)
    	}
    
    	if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. src/main/webapp/js/bootstrap.min.js.map

    will rightfully complain it is invalid.\n    // See https://github.com/twbs/bootstrap/issues/32273\n    if (!hrefAttribute || (!hrefAttribute.includes('#') && !hrefAttribute.startsWith('.'))) {\n      return null\n    }\n\n    // Just in case some CMS puts out a full URL with the anchor appended\n    if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {\n      hrefAttribute = `#${hrefAttribute.split('#')[1]}`\n    }\n\n    selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim()...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 211.9K bytes
    - Viewed (0)
  4. tests/associations_has_one_test.go

    func TestPolymorphicHasOneAssociationForSlice(t *testing.T) {
    	pets := []Pet{
    		{Name: "hasone-1", Toy: Toy{Name: "toy-has-one"}},
    		{Name: "hasone-2", Toy: Toy{}},
    		{Name: "hasone-3", Toy: Toy{Name: "toy-has-one"}},
    	}
    
    	DB.Create(&pets)
    
    	// Count
    	AssertAssociationCount(t, pets, "Toy", 2, "")
    
    	// Find
    	var toys []Toy
    	if DB.Model(&pets).Association("Toy").Find(&toys); len(toys) != 2 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. tests/update_has_many_test.go

    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	for _, pet := range user.Pets {
    		pet.Name += "new"
    	}
    
    	if err := DB.Save(&user).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.28.md

      - If all QueueingHintFn return QueueSkip, it puts this pod back to the unschedulable pod pool
      
      Having appropriate QueueingHintFn contributes to reducing useless retries and thus improves the overall scheduler's performance.
      
      **How can I migrate?**
      
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 456.9K bytes
    - Viewed (1)
  7. utils/tests/models.go

    package tests
    
    import (
    	"database/sql"
    	"time"
    
    	"gorm.io/gorm"
    )
    
    // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic)
    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

    import org.lastaflute.core.message.UserMessages;
    import org.lastaflute.web.exception.Forced404NotFoundException;
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.ruts.multipart.MultipartRequestHandler;
    import org.lastaflute.web.ruts.multipart.MultipartRequestWrapper;
    import org.lastaflute.web.ruts.multipart.exception.MultipartExceededException;
    import org.lastaflute.web.util.LaServletContextUtil;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

    import org.lastaflute.db.dbflute.classification.ListedClassificationProvider;
    import org.lastaflute.db.direction.FwDbDirection;
    import org.lastaflute.web.direction.FwWebDirection;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.ruts.renderer.JspHtmlRenderingProvider;
    
    import jakarta.annotation.Resource;
    
    /**
     * The framework assistant director for Fess.
     *
     * @author jflute
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.34.md

    - If PreBindPreFlight returns Skip, the scheduler doesn't run the plugin at PreBind.
      If any PreBindPreFlight returns Success, the scheduler puts NominatedNodeName to the pod 
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (0)
Back to top