Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2971 - 2980 of 5,001 for fstring (0.04 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                setPrivateField(response, "nativeFileSystem", "NTFS");
    
                // When
                String str = response.toString();
    
                // Then
                assertNotNull(str, "toString should not return null");
                assertTrue(str.contains("SmbComTreeConnectAndXResponse"), "Should contain class name");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          // tests can successfully parse a number string with this radix.
          String maxAsString = max.toString(radix);
          assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue());
    
          assertThrows(
              NumberFormatException.class,
              () -> {
                BigInteger overflow = max.add(ONE);
                String overflowAsString = overflow.toString(radix);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("toString should return formatted string")
        void testToString() {
            // Act
            String result = response.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("toString should include parent class information")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            int changePasswordCallCount = 0;
            int loadCallCount = 0;
    
            User lastUpdatedUser;
            User lastDeletedUser;
            User lastLoadedUser;
            String lastChangePasswordUsername;
            String lastChangePasswordPassword;
    
            boolean changePasswordResult = false;
            User loadResult;
    
            @Override
            public void update(User user) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      }
    
      public Set<Feature<?>> getFeatures() {
        return unmodifiableSet(features);
      }
    
      // Name
    
      private @Nullable String name;
    
      /** Configures this builder produce a TestSuite with the given name. */
      @CanIgnoreReturnValue
      public B named(String name) {
        if (name.contains("(")) {
          throw new IllegalArgumentException(
              "Eclipse hides all characters after "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        void testToString() {
            // Test toString method
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Set test values
            setFieldValue(response, "fileAttributes", 0x0021);
            setFieldValue(response, "lastWriteTime", System.currentTimeMillis());
            setFieldValue(response, "fileSize", 12345);
    
            String result = response.toString();
    
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Utf8.java

     * @author Clément Roux
     * @since 16.0
     */
    @GwtCompatible
    public final class Utf8 {
      /**
       * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this
       * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both
       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        helperMethod.setAccessible(true);
        assertThat(helperMethod.invoke(null)).isEqualTo(expectedHelperClassName);
      }
    
      private static ClassLoader getClassLoader(Set<String> disallowedClassNames) {
        String concurrentPackage = SettableFuture.class.getPackage().getName();
        ClassLoader classLoader = AbstractFutureFallbackAtomicHelperTest.class.getClassLoader();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

    import org.codelibs.core.io.SerializeUtil;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class SLinkedListTest {
    
        private final SLinkedList<String> list = new SLinkedList<String>();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFirstEntry() throws Exception {
            assertThat(list.getFirstEntry(), is(nullValue()));
            list.addFirst("1");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log security violation")
        void testLogSecurityViolation() {
            Map<String, Object> context = new HashMap<>();
            context.put("sourceIP", "192.168.1.100");
            context.put("attemptCount", 5);
    
            logger.logSecurityViolation("Multiple failed authentication attempts", context);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top