Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 471 for atual (0.02 sec)

  1. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

            int expected = Byte.compare(x, y);
            int actual = SignedBytes.compare(x, y);
            if (expected == 0) {
              assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected);
            } else if (expected < 0) {
              assertWithMessage(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")")
                  .that(actual < 0)
                  .isTrue();
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. schema/index_test.go

    	}
    	CheckIndices(t, expectedIndices, indices)
    }
    
    func CheckIndices(t *testing.T, expected, actual []*schema.Index) {
    	if len(expected) != len(actual) {
    		t.Errorf("expected %d indices, but got %d", len(expected), len(actual))
    		return
    	}
    
    	for i, ei := range expected {
    		t.Run(ei.Name, func(t *testing.T) {
    			ai := actual[i]
    			tests.AssertObjEqual(t, ai, ei, "Name", "Class", "Type", "Where", "Comment", "Option")
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] actual = NtlmUtil.getNTLMv2Response(key, server, clientChallenge, nanos1601, avPairs);
    
            // Assert
            assertArrayEquals(expected, actual, "Computed response must match manual construction");
            // Also verify client challenge sits at mac(16) + blob offset 16
            assertArrayEquals(clientChallenge, Arrays.copyOfRange(actual, 16 + 16, 16 + 16 + 8));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
          E expected = expectedList.get(i);
          E actual = getList().get(i);
          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            crc = (crc >>> 1) ^ (CRC32C_GENERATOR_FLIPPED & mask);
          }
          expected[i] = crc;
        }
    
        int[] actual = Crc32cHashFunction.Crc32cHasher.byteTable;
        assertTrue(
            "Expected: \n" + Arrays.toString(expected) + "\nActual:\n" + Arrays.toString(actual),
            Arrays.equals(expected, actual));
      }
    
      static int advanceOneBit(int next) {
        if ((next & 1) != 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import android.os.Build
    import java.lang.IllegalStateException
    import okhttp3.internal.platform.android.AndroidLog
    
    actual object PlatformRegistry {
      actual fun findPlatform(): Platform {
        AndroidLog.enable()
    
        val androidPlatform =
          Android10Platform.buildIfSupported()
            ?: AndroidPlatform.buildIfSupported()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        void testKnownMapping() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
            assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr));
            assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            String expectedContains = ",addrEntry=[";
            String actual = nameQueryResponse.toString();
            assertTrue(actual.startsWith("NameQueryResponse["), "toString should start with expected prefix");
            assertTrue(actual.contains(expectedContains), "toString should contain the 'addrEntry' part");
            assertTrue(actual.contains("192.168.1.1"), "toString should contain the first NbtAddress string representation");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            final int actual = getLength();
            if (exp != actual) {
                // Log the size mismatch for debugging but don't throw exception
                // This can occur due to padding alignment differences between size8() and pad8()
                if (log.isDebugEnabled()) {
                    log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp);
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

         */
        List<String> findVersions(Artifact artifact);
    
        /**
         * Indicates whether this repository is backed by actual projects. For instance, the build reactor or IDE workspace
         * are examples of such repositories.
         *
         * @return {@code true} if the repository is backed by actual projects, {@code false} otherwise.
         * @since 3.0-beta-1
         */
        boolean isProjectAware();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.3K bytes
    - Viewed (1)
Back to top