Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 6,270 for usen (0.03 sec)

  1. tests/associations_many2many_test.go

    		languages = append(languages, language)
    	}
    
    	user := User{}
    	db.Create(&user)
    	db.Preload("Languages").FirstOrCreate(&user)
    
    	var wg sync.WaitGroup
    	for i := 0; i < count; i++ {
    		wg.Add(1)
    		go func(user User, language Language) {
    			err := db.Model(&user).Association("Languages").Append(&language)
    			AssertEqual(t, err, nil)
    
    			wg.Done()
    		}(user, languages[i])
    	}
    	wg.Wait()
    
    	var find User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. tests/transaction_test.go

    			if err := tx.First(&User{}, "name = ?", user.Name).Error; err != nil {
    				t.Fatalf("Should find saved record")
    			}
    
    			panic("force panic")
    		})
    	})
    
    	if err := DB.First(&User{}, "name = ?", "transaction-block-3").Error; err == nil {
    		t.Fatalf("Should not find record after panic rollback")
    	}
    }
    
    func TestTransactionRaiseErrorOnRollbackAfterCommit(t *testing.T) {
    	tx := DB.Begin()
    	user := User{Name: "transaction"}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Platform.java

        // We want the JDK Pattern compiler:
        // - under Android (where it hurts startup performance)
        // - even for the JVM in our open-source release (https://github.com/google/guava/issues/3147)
        // If anyone in our monorepo uses the Android copy of Guava on a JVM, that would be unfortunate.
        // But that is only likely to happen in Robolectric tests, where the risks of JDK regex are low.
        return new JdkPatternCompiler();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. .teamcity/README.md

    We'll explain everything via an example. Let's say you make some changes on your branch `myTestBranch`
    (we highly recommend to name this branch without prefix and hyphen (`-`) because it's used to generate build type ID) and want to
    test these changes without affecting `master`/`release` pipeline. Here are the instructions.
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Mar 06 23:02:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

            // prevent nesting
            return false;
        }
    
        /**
         * Determines what mechanism is being used for this context.
         *
         * @return the Oid of the mechanism being used
         */
        ASN1ObjectIdentifier[] getMechs() {
            return this.mechs;
        }
    
        /**
         * @return the mechanisms announced by the remote end
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import junit.framework.Assert;
    
    /**
     * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures.
     *
     * @author Nishant Thakkar
     * @since 10.0
     */
    @GwtIncompatible
    public class MockFutureListener implements Runnable {
      private final CountDownLatch countDownLatch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to test listenable future implementations.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ListenableFutureTester {
    
      private final ExecutorService exec;
      private final ListenableFuture<?> future;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         * {@code <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the
         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
            if (result == null) {
                return "";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Dec 19 14:50:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

         * Moderate trust - it was deployed directly from a partner.
         */
        public static final ArtifactStatus PARTNER = new ArtifactStatus("partner", 3);
    
        /**
         * Moderate trust - it was deployed directly by a user.
         */
        public static final ArtifactStatus DEPLOYED = new ArtifactStatus("deployed", 4);
    
        /**
         * Trusted, as it has had its data verified by hand.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top