Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 945 for Has (0.13 sec)

  1. tests/associations_has_many_test.go

    	user.Pets = append(user.Pets, &pet)
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user, "Pets", 3, "AfterAppend")
    
    	pets2 := []Pet{{Name: "pet-has-many-append-1-1"}, {Name: "pet-has-many-append-1-1"}}
    
    	if err := DB.Model(&user2).Association("Pets").Append(&pets2); err != nil {
    		t.Fatalf("Error happened when append pet, got %v", err)
    	}
    
    	for _, pet := range pets2 {
    		pet := pet
    		if pet.ID == 0 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      @ForOverride
      protected abstract void doStop();
    
      /**
       * This method is called by {@link #stopAsync} when the service is still starting (i.e. {@link
       * #startAsync} has been called but {@link #notifyStarted} has not). Subclasses can override the
       * method to cancel pending work and then call {@link #notifyStopped} to stop the service.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * {@link #submitAsync} that submitted those tasks had.
     *
     * <p>This class has limited support for cancellation and other "early completions":
     *
     * <ul>
     *   <li>While calls to {@code submit} and {@code submitAsync} return a {@code Future} that can be
     *       cancelled, cancellation never propagates to a task that has started to run -- neither to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  4. tests/multi_primary_keys_test.go

    		t.Fatalf("Blog should has two tags")
    	}
    
    	// Append
    	tag3 := &Tag{Locale: "ZH", Value: "tag3"}
    	DB.Model(&blog).Association("Tags").Append([]*Tag{tag3})
    
    	if !compareTags(blog.Tags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if count := DB.Model(&blog).Association("Tags").Count(); count != 3 {
    		t.Fatalf("Blog should has 3 tags after Append, got %v", count)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 12.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

     * returns the same bytes as the upstream source. Downstream sources may read data either as it
     * is returned by upstream, or after the upstream source has been exhausted.
     *
     * As bytes are returned from upstream they are written to a local file. Downstream sources read
     * from this file as necessary.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasNoError() {
                assertTrue("Has no error (${richReport.errors})", richReport.errors.isEmpty())
            }
    
            fun assertHasNoWarning() {
                assertTrue("Has no warning (${richReport.warnings})", richReport.warnings.isEmpty())
            }
    
            fun assertHasNoInformation() {
                assertTrue("Has no information (${richReport.information})", richReport.information.isEmpty())
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common.go

    //                             returned by diskWithAllParts is passed for latestDisks.
    //    - has an old copy of xl.meta
    //    - doesn't have xl.meta (errFileNotFound)
    //    - has the latest xl.meta but one or more parts are corrupt
    //
    // 5. __missingParts__       - has the latest copy of xl.meta but has some parts
    // missing.  This is identified separately since this may need manual
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.isFailOnError(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed"),
                    "Method com.example.Task.setFailOnError(boolean): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed")
                )
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  9. cmd/bucket-object-lock.go

    // For non-existing objects with object retention headers set, this method returns ErrNone if bucket has
    // locking enabled and user has requisite permissions (s3:PutObjectRetention)
    // If object exists on object store and site wide WORM enabled - this method
    // returns an error. For objects in "Governance" mode, overwrite is allowed if the retention date has expired.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    // object that has been uploaded using the S3 multipart
    // API.
    // An S3 multipart ETag has a -<part-number> suffix.
    func (e ETag) IsMultipart() bool {
    	return len(e) > 16 && !e.IsEncrypted() && bytes.ContainsRune(e, '-')
    }
    
    // Parts returns the number of object parts that are
    // referenced by this ETag. It returns 1 if the object
    // has been uploaded using the S3 singlepart API.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top