Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,978 for happen (0.41 sec)

  1. pkg/test/util/assert/tracker.go

    	t.mu.Lock()
    	defer t.mu.Unlock()
    	t.events = append(t.events, event)
    }
    
    // Empty asserts the tracker is empty
    func (t *Tracker[T]) Empty() {
    	t.t.Helper()
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if len(t.events) != 0 {
    		t.t.Fatalf("unexpected events: %v", t.events)
    	}
    }
    
    // WaitOrdered waits for an event to happen, in order
    func (t *Tracker[T]) WaitOrdered(events ...T) {
    	t.t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if egNews.BasePost.Title != "engadget_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	var egPosts []EngadgetPost
    	if err := DB.Order("author_name asc").Find(&egPosts).Error; err != nil {
    		t.Fatalf("no error should happen when query with embedded struct, but got %v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/README.md

        "input path".)
    
      - `LoadBalancerSourceRanges` firewalling has to happen before service DNAT, so we do
        that on `prerouting` and `output` as well, with a lower (i.e. more urgent) priority
        than the DNAT chains.
    
      - The `drop` and `reject` rules for services with no endpoints don't need to happen
        explicitly before or after any other rules (since they match packets that wouldn't be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:37:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/fixedbugs_test.go

    		// read by the write barrier code.
    		g = makeT()
    		sink = make([]byte, 1000) // force write barriers to eventually happen
    	}
    }
    func TestIssue15854b(t *testing.T) {
    	const N = 10000
    	a := make([]T, N)
    	for i := 0; i < N; i++ {
    		a = append(a, makeT())
    		sink = make([]byte, 1000) // force write barriers to eventually happen
    	}
    	for i, v := range a {
    		if v.x[0] != 0 {
    			t.Fatalf("a[%d].x[0] clobbered with %x\n", i, v.x[0])
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. tests/prepared_stmt_test.go

    	txCtx.Create(&user)
    
    	var result1 User
    	if err := txCtx.Find(&result1, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	time.Sleep(time.Second)
    
    	var result2 User
    	if err := tx.Find(&result2, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	user2 := *GetUser("prepared_stmt2", Config{})
    	if err := txCtx.Create(&user2).Error; err == nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 07:55:43 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. tests/upsert_test.go

    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    	} else if len(langs2) != 3 {
    		t.Errorf("should only find only 3 languages, but got %+v", langs2)
    	}
    
    	DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs)
    	var langs3 []Language
    	if err := DB.Find(&langs3, "code LIKE ?", "upsert-slice%").Error; err != nil {
    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  7. schema/field_test.go

    		"birthday":   time.Now(),
    		"active":     f,
    	}
    
    	for k, v := range newValues {
    		if err := userSchema.FieldsByDBName[k].Set(context.Background(), reflectValue, v); err != nil {
    			t.Errorf("no error should happen when assign value to field %v, but got %v", k, err)
    		}
    	}
    	newValues["updated_at"] = time.Time{}
    	newValues["active"] = false
    	checkField(t, userSchema, reflectValue, newValues)
    
    	// test valuer and other type
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/nchw_convolution_to_nhwc.mlir

    // CHECK: %[[TRANSPOSE_2:.+]] = stablehlo.transpose %[[CONV]], dims = [0, 3, 1, 2] : (tensor<1x4x4x8xf32>) -> tensor<1x8x4x4xf32>
    
    // -----
    
    // Tests that the conversion doesn't happen when the input dimension numbers
    // are not [b, f, 0, 1].
    
    // CHECK-LABEL: conv_input_dim_numbers_mismatch
    func.func @conv_input_dim_numbers_mismatch(%arg0: tensor<1x4x4x8xf32>) -> tensor<1x8x4x4xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 23:00:47 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnectionBuilder.java

         * This may happen because the peer has signalled that it has finished sending messages, or closes the connection, or crashes. It may also happen when
         * this side of the connection is closed using {@link ObjectConnection#stop()}.
         * </p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top