Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 423 for Expect (0.18 sec)

  1. src/cmd/asm/internal/asm/pseudo_test.go

    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    		{"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
    		{"DATA", "", "expect two operands for DATA"},
    		{"DATA", "0", "expect two operands for DATA"},
    		{"DATA", "(0), 1", "expect /size for DATA argument"},
    		{"DATA", "@B(SB)/4,0", "expected '(', found B"}, // Issue 23580.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    		dm2nd.Unlock(context.Background())
    	}()
    	expect += 2*testDrwMutexAcquireTimeout + testDrwMutexRefreshCallTimeout
    
    	wg.Wait()
    	// We expect at least 3 x 2 x testDrwMutexAcquireTimeout to have passed
    	elapsed := time.Since(started)
    	if elapsed < expect {
    		t.Errorf("expected at least %v time have passed, however %v passed", expect, elapsed)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       * non-nullable {@code cause}, as many users expect to find one.
       */
      public UncheckedExecutionException(@CheckForNull String message, @CheckForNull Throwable cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental_test.cc

        int64_t* dims = output_shapes->items[0].dims;
    
        if (!expected_shape.has_value()) {
          EXPECT_EQ(num_dims, -1);
          EXPECT_EQ(dims, nullptr);
          return;
        }
    
        EXPECT_EQ(num_dims, expected_shape->size());
        for (size_t i = 0; i < num_dims; ++i) {
          EXPECT_EQ(dims[i], (*expected_shape)[i]);
        }
        TF_DeleteShapeAndTypeList(input_shapes);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        }
    
        def "#member change should not be reported"() {
            expect:
            noViolation(rule)
    
            where:
            member << [Mock(JApiMethod), Mock(JApiField), Mock(JApiImplementedInterface), Mock(JApiConstructor)]
        }
    
        def "nothing should be reported if no changes"() {
            expect:
            noViolation(rule)
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue1435.go

    		fn             func() error
    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_TF_OK(status_);
    
      tf_gcs_filesystem::PathExists(filesystem_, dst.c_str(), status_);
      EXPECT_TF_OK(status_);
      tf_gcs_filesystem::RenameFile(filesystem_, src.c_str(), dst.c_str(), status_);
      EXPECT_TF_OK(status_);
    
      auto result = ReadAll(dst);
      EXPECT_TF_OK(status_);
      EXPECT_EQ("test_old", result);
    }
    
    // These tests below are ported from
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/ThrowablesTest.java

                } catch (Throwable t) {
                  Throwables.propagateIfPossible(t);
                  throw new SomeChainingException(t);
                }
              }
            };
    
        // Expect no exception to be thrown
        sample.noneDeclared();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      public void testPropagateIfPossible_NoneDeclared_UncheckedThrown() {
        Sample sample =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

                } catch (Throwable t) {
                  Throwables.propagateIfPossible(t);
                  throw new SomeChainingException(t);
                }
              }
            };
    
        // Expect no exception to be thrown
        sample.noneDeclared();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      public void testPropagateIfPossible_NoneDeclared_UncheckedThrown() {
        Sample sample =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/dlpack_test.cc

      const DLTensor* dltensor_out = &dlm_out->dl_tensor;
      EXPECT_EQ(dltensor_out->device.device_type, dltensor_in->device.device_type);
      EXPECT_EQ(dltensor_out->device.device_id, dltensor_in->device.device_id);
      EXPECT_EQ(dltensor_out->ndim, dltensor_in->ndim);
      EXPECT_EQ(dltensor_out->dtype.code, dltensor_in->dtype.code);
      EXPECT_EQ(dltensor_out->dtype.bits, dltensor_in->dtype.bits);
      EXPECT_EQ(dltensor_out->dtype.lanes, dltensor_in->dtype.lanes);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
Back to top