Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 560 for atual (0.04 seconds)

  1. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. 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();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.3K bytes
    - Click Count (1)
  5. 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);
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/FileEntryTest.java

        void name_edgeCases(String name, String caseDesc) {
            // Arrange
            FileEntry e = new TestFileEntry(name, 0, 0, 0L, 0L, 0L, 0L, 0);
            // Act
            String actual = e.getName();
            // Assert
            assertEquals(name, actual);
        }
    
        // Parameterized tests for numeric getters with edge values
        static Stream<Arguments> intGetterProvider() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  7. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

          CacheBuilder<?, ?> expected, CacheBuilder<?, ?> actual) {
        assertWithMessage("concurrencyLevel")
            .that(actual.concurrencyLevel)
            .isEqualTo(expected.concurrencyLevel);
        assertWithMessage("expireAfterAccessNanos")
            .that(actual.expireAfterAccessNanos)
            .isEqualTo(expected.expireAfterAccessNanos);
        assertWithMessage("expireAfterWriteNanos")
            .that(actual.expireAfterWriteNanos)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            byte[] actual = new byte[bytesWritten];
            System.arraycopy(dst, 0, actual, 0, bytesWritten);
    
            // Use assertArrayEquals for byte array comparison
            org.junit.jupiter.api.Assertions.assertArrayEquals(expected, actual, "Byte array content should match the expected format.");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                        throw new RuntimeException("Retry failed", retryException);
                    }
                }
            });
        }
    
        /**
         * Perform the actual reconnection logic.
         * This method should be overridden by subclasses to provide the actual
         * SMB reconnection implementation.
         *
         * @param info the handle information
         * @return true if reconnection was successful
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 8.5K bytes
    - Click Count (1)
Back to Top