Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Zhang (0.19 sec)

  1. tests/gorm_test.go

    			t.Fatalf("select expects: %v, got %v", u1.ID, gotUsers[0].ID)
    		} else if gotUsers[1].ID != u2.ID {
    			t.Fatalf("select expects: %v, got %v", u2.ID, gotUsers[1].ID)
    		}
    
    		u1.Name = "Jinzhu"
    		u2.Name = "Zhang"
    		if results := DB.Save([]*user{&u1, &u2}); results.Error != nil {
    			t.Fatalf("errors happened on update: %v", results.Error)
    		} else if results.RowsAffected != 2 {
    Go
    - Registered: Sun Apr 14 09:35:11 GMT 2024
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. RELEASE.md

    # Release 2.12.1
    
    ### Bug Fixes and Other Changes
    
    Plain Text
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        long hangDelayMillis =
            (expectedOutcome == Outcome.HANG)
                ? EXPECTED_HANG_DELAY_MILLIS
                : UNEXPECTED_HANG_DELAY_MILLIS;
        boolean hung =
            !awaitUninterruptibly(callCompletedLatch, hangDelayMillis, TimeUnit.MILLISECONDS);
        if (hung) {
          assertEquals(expectedOutcome, Outcome.HANG);
        } else {
          assertNull(task.get(UNEXPECTED_HANG_DELAY_MILLIS, TimeUnit.MILLISECONDS));
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        long hangDelayMillis =
            (expectedOutcome == Outcome.HANG)
                ? EXPECTED_HANG_DELAY_MILLIS
                : UNEXPECTED_HANG_DELAY_MILLIS;
        boolean hung =
            !awaitUninterruptibly(callCompletedLatch, hangDelayMillis, TimeUnit.MILLISECONDS);
        if (hung) {
          assertEquals(expectedOutcome, Outcome.HANG);
        } else {
          assertNull(task.get(UNEXPECTED_HANG_DELAY_MILLIS, TimeUnit.MILLISECONDS));
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    eu-2.evennode.com
    eu-3.evennode.com
    eu-4.evennode.com
    us-1.evennode.com
    us-2.evennode.com
    us-3.evennode.com
    us-4.evennode.com
    
    // eDirect Corp. : https://hosting.url.com.tw/
    // Submitted by C.S. chang <******@****.***>
    twmail.cc
    twmail.net
    twmail.org
    mymailer.com.tw
    url.tw
    
    // Fabrica Technologies, Inc. : https://www.fabrica.dev/
    // Submitted by Eric Jiang <******@****.***>
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  7. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * this is no worse than what FutureTask does in that situation. Additionally, because the
         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait_test.go

    	expectedOutput string // Expected constant output
    
    	wantException bool
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	if c.wantException {
    		// Ensure tests do not hang for 30s
    		c.args = append(c.args, "--timeout=20ms")
    	}
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * @param terminationTimeout how long to wait for the executor to finish before terminating the
       *     JVM
       * @param timeUnit unit of time for the time parameter
       * @return an unmodifiable version of the input which will not hang the JVM
       */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static ExecutorService getExitingExecutorService(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top