Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,564 for when (0.04 sec)

  1. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy

        def "latest patch version"() {
            given:
            def allVersions = ["2.0.30", "2.0.20", "2.0.10", "2.0.0"] + previousVersions
    
            when:
            def selected = UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions)
    
            then:
            selected == ["1.9.10", "1.9.25", "2.0.0", "2.0.30"]
        }
    
        def "beta of latest patch version"() {
            given:
            def allVersions = [
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 22:23:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        // ...and then putIfAbsent. Simulate failure on both
        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing);
    
        // next map.get()
        when(backingMap.get(KEY)).thenReturn(existingZero);
        // since get returned zero, try a replace; that fails due to a simulated race
        when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

        final JavadocLinkConverter converter = new JavadocLinkConverter(document, nameResolver, linkRenderer, repository)
    
        def convertsClassNameToLink() {
            when:
            def link = converter.resolve('someName', classMetaData, listener)
    
            then:
            format(link) == '<someLinkElement/>'
            _ * nameResolver.resolve('someName', classMetaData) >> 'org.gradle.SomeClass'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  4. tests/associations_has_many_test.go

    		t.Fatalf("Error happened when append pet, got %v", err)
    	}
    
    	if pet2.ID == 0 {
    		t.Fatalf("pet2's ID should be created")
    	}
    
    	user.Pets = []*Pet{&pet2}
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user2, "Pets", 1, "AfterReplace")
    
    	// Delete
    	if err := DB.Model(&user2).Association("Pets").Delete(&Pet{}); err != nil {
    		t.Fatalf("Error happened when delete pet, got %v", err)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Service.java

       */
      abstract class Listener {
        /**
         * Called when the service transitions from {@linkplain State#NEW NEW} to {@linkplain
         * State#STARTING STARTING}. This occurs when {@link Service#startAsync} is called the first
         * time.
         */
        public void starting() {}
    
        /**
         * Called when the service transitions from {@linkplain State#STARTING STARTING} to {@linkplain
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. tests/associations_has_one_test.go

    	if err := DB.Model(&user2).Association("Account").Delete(&Account{}); err != nil {
    		t.Fatalf("Error happened when delete account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Account").Delete(&account2); err != nil {
    		t.Fatalf("Error happened when delete Account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 0, "after delete")
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/typed-errors.go

    // error returned in IAM subsystem when user doesn't exist.
    var errNoSuchUser = errors.New("Specified user does not exist")
    
    // error returned by IAM when a use a builtin IDP command when they could mean
    // to use a LDAP command.
    var errNoSuchUserLDAPWarn = errors.New("Specified user does not exist. If you meant a user in LDAP please use command under `mc idp ldap`")
    
    // error returned when service account is not found
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. tests/update_has_many_test.go

    	user := *GetUser("update-has-many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		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)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    	MOVQ R15, AX // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a8(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ADDQ AX, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a9(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Mar 15 20:45:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            when:
            run('checkDeadInternalLinks').build()
    
            then:
            assertNoDeadLinks()
        }
    
        def "finds Markdown style links"() {
            given:
            sampleDoc << """
    === Markdown Style Links
    [Invalid markdown link](https://docs.gradle.org/nowhere)
            """
    
            when:
            run('checkDeadInternalLinks').buildAndFail()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top