Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 8,433 for expect (0.23 sec)

  1. tensorflow/c/experimental/grappler/grappler_test.cc

                           op_buf->length);
      ASSERT_EQ(TF_OK, TF_GetCode(status));
    
      const OpDef* expected_op_def;
      TF_ASSERT_OK(OpRegistry::Global()->LookUpOpDef("Add", &expected_op_def));
      string expected_serialized;
      expected_op_def->SerializeToString(&expected_serialized);
      EXPECT_EQ(expected_serialized, actual_string);
      TF_DeleteBuffer(g_buf);
      TF_DeleteBuffer(op_buf);
      TF_DeleteStatus(status);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

                  throw Throwables.propagate(t);
                }
              }
            };
    
        // Expect the undeclared exception to have been chained inside another
        RuntimeException expected = assertThrows(RuntimeException.class, () -> sample.noneDeclared());
        assertThat(expected).hasCauseThat().isInstanceOf(SomeCheckedException.class);
      }
    
      @GwtIncompatible // throwIfInstanceOf
    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)
  3. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

                  throw Throwables.propagate(t);
                }
              }
            };
    
        // Expect the undeclared exception to have been chained inside another
        RuntimeException expected = assertThrows(RuntimeException.class, () -> sample.noneDeclared());
        assertThat(expected).hasCauseThat().isInstanceOf(SomeCheckedException.class);
      }
    
      @GwtIncompatible // throwIfInstanceOf
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. callbacks/helper_test.go

    				"active": true,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "active"}},
    				Values:  [][]interface{}{{true}},
    			},
    		},
    	}
    
    	for _, tc := range testCase {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input)
    			if !reflect.DeepEqual(actual, tc.expect) {
    				t.Errorf("expect %v got %v", tc.expect, actual)
    			}
    		})
    	}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener_test.go

    						Pipe: &core.Pipe{Path: "unix:///dev/shm/uds.socket"},
    					},
    				},
    			},
    			expect: true,
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			if got := tt.inFilter.Verify(tt.inListener); got != tt.expect {
    				t.Errorf("%s: expect %v got %v", tt.desc, tt.expect, got)
    			}
    		})
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            expect:
            type.rawType.signature == 'java.lang.Object'
        }
    
        def rawTypeForWildcardWithUpperBound() {
            type.setUpperBounds(new TypeMetaData('OtherType'))
    
            expect:
            type.rawType.signature == 'OtherType'
        }
    
        def rawTypeForWildcardWithLowerBound() {
            type.setLowerBounds(new TypeMetaData('OtherType'))
    
            expect:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  7. cmd/metacache-entries_test.go

    man-shifts.dyn.expect", "src/compress/flate/testdata/huffman-shifts.dyn.expect-noinput", "src/compress/flate/testdata/huffman-shifts.golden", "src/compress/flate/testdata/huffman-shifts.in", "src/compress/flate/testdata/huffman-shifts.wb.expect", "src/compress/flate/testdata/huffman-shifts.wb.expect-noinput", "src/compress/flate/testdata/huffman-text-shift.dyn.expect", "src/compress/flate/testdata/huffman-text-shift.dyn.expect-noinput", "src/compress/flate/testdata/huffman-text-shift.golden", "s...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            String value;
            String expect;
    
            value = null;
            expect = "";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "";
            expect = "";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "\n";
            expect = "";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "=";
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/c/eager/c_api_remote_test.cc

      float product[4] = {0};
      EXPECT_EQ(sizeof(product), TF_TensorByteSize(t));
      memcpy(&product[0], TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      EXPECT_EQ(7, product[0]);
      EXPECT_EQ(10, product[1]);
      EXPECT_EQ(15, product[2]);
      EXPECT_EQ(22, product[3]);
    
      TFE_DeleteTensorHandle(h0_task0);
      TFE_DeleteTensorHandle(h1_task0);
      TFE_DeleteTensorHandle(h0_task1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 12 00:14:22 GMT 2020
    - 5.4K bytes
    - Viewed (0)
Back to top