Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 45 for expectedValues (0.07 seconds)

  1. tensorflow/c/eager/c_api_cluster_test.cc

                                        const std::vector<float>& expected_values) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Tensor* t = TFE_TensorHandleResolve(handle, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      std::unique_ptr<float[]> actual_values(new float[expected_values.size()]);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertFalse(testImplementation.isResolveInDfs());
    
            // Multiple toggles
            for (int i = 0; i < 10; i++) {
                boolean expectedValue = (i % 2 == 0);
                testImplementation.setResolveInDfs(expectedValue);
                assertEquals(expectedValue, testImplementation.isResolveInDfs());
            }
        }
    
        /**
         * Test implementation of RequestWithPath interface for testing purposes
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    
        MockCallback(Throwable expectedFailure) {
          this.failure = expectedFailure;
        }
    
        @Override
        public void onSuccess(String result) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

          Object expectedKey = alternatingKeysAndValues[2 * i];
          Object expectedValue = alternatingKeysAndValues[2 * i + 1];
          Entry<Object, Object> expectedEntry = immutableEntry(expectedKey, expectedValue);
          assertEquals(expectedEntry, entries.get(i));
          assertEquals(expectedKey, keys.get(i));
          assertEquals(expectedValue, values.get(i));
        }
      }
    
      public void testAllocArraysDefault() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

      }
    
      public void testCompletedFuture(@Nullable Object expectedValue)
          throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertTrue(latch.await(5, SECONDS));
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertEquals(expectedValue, future.get());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        void testConstants(String constantName, int expectedValue) {
            if ("SV_TYPE_ALL".equals(constantName)) {
                assertEquals(expectedValue, NetServerEnum2.SV_TYPE_ALL);
                assertEquals(0xFFFFFFFF, NetServerEnum2.SV_TYPE_ALL);
            } else if ("SV_TYPE_DOMAIN_ENUM".equals(constantName)) {
                assertEquals(expectedValue, NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    
        MockCallback(Throwable expectedFailure) {
          this.failure = expectedFailure;
        }
    
        @Override
        public void onSuccess(String result) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            for (Thread thread : threads) {
                thread.join();
            }
    
            // All results should be the same
            String expectedValue = "Test Fess";
            for (String result : results) {
                assertEquals(expectedValue, result);
            }
        }
    
        // Test with non-existent config
        @Test
        public void test_initialize_invalidConfigFile() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        void testDifferentShareTypes(int shareTypeValue, int expectedValue) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) shareTypeValue;
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals((byte) expectedValue, response.getShareType());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                            .replace("_", ".")
                            .replaceAll("\\.placeholder$", ".placeholder")
                            .replaceAll("\\.placeholder\\.(.+)", ".placeholder_$1");
    
                    String expectedValue = "{labels." + expectedValuePart + "}";
    
                    // Some fields may have different conventions, so we just check if it starts correctly
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
Back to Top