Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,549 for emptify (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            assertEquals(5, response.getNumEntries());
            assertTrue(response.isEndOfSearch());
        }
    
        @Test
        void testReadDataWireFormat_emptyBuffer() throws Exception {
            // Test reading data from an empty buffer
            byte[] buffer = new byte[10];
    
            // Set data count to test return value
            response.setDataCount(5);
    
            // With 0 entries, should return dataCount
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

                if (keyValue.length == 2) {
                    list.add(new Pair<>(keyValue[0].trim(), keyValue[1].trim()));
                } else if (keyValue.length == 1) {
                    list.add(new Pair<>(keyValue[0].trim(), StringUtil.EMPTY));
                } else {
                    logger.warn("Unexpected value: value={}", s);
                }
            }));
    
            final List<Pair<String, String>> headerList = responseHeaderMap.remove("*");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HexdumpTest.java

            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
            assertEquals("000FFF7F80", result);
        }
    
        @Test
        @DisplayName("Should handle empty byte array")
        void testToHexStringEmpty() {
            // Given
            byte[] data = {};
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

    import java.util.Date
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.toHeaders
    import org.junit.jupiter.api.Test
    
    class HeadersJvmTest {
      @Test fun byteCount() {
        assertThat(Headers.EMPTY.byteCount()).isEqualTo(0L)
        assertThat(
          Headers
            .Builder()
            .add("abc", "def")
            .build()
            .byteCount(),
        ).isEqualTo(10L)
        assertThat(
          Headers
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/evaluator.go

    func (e *Evaluator) IsPendingReplication(obj ObjectOpts) bool {
    	if e.replCfg == nil {
    		return false
    	}
    	if e.replCfg.HasActiveRules(obj.Name, true) && !obj.VersionPurgeStatus.Empty() {
    		return true
    	}
    
    	return false
    }
    
    // IsObjectLocked checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        /**
         * Creates an instance of {@link PropertyDescImpl}.
         *
         * @param propertyName
         *            The property name. Must not be {@literal null} or an empty string.
         * @param propertyType
         *            The property type. Must not be {@literal null}.
         * @param readMethod
         *            The getter method.
         * @param writeMethod
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        }
    
        @Override
        public void delete(final User user) {
            final String username = user.getName();
            if (isTargetUser(username)) {
                executeCommand(deleteCommand, username, StringUtil.EMPTY);
            }
        }
    
        @Override
        public boolean changePassword(final String username, final String password) {
            if (isTargetUser(username) && StringUtil.isNotBlank(password)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Master browser enumeration tests")
        class MasterBrowserEnumerationTests {
    
            @Test
            @DisplayName("doEnum with empty host throws SmbUnsupportedOperationException when master browser not found")
            void doEnum_withEmptyHost_throwsUnsupportedWithoutNetwork() throws Exception {
                // Arrange: mock parent + locator so no real network is used
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

        public void addClient(final List<String> regexList, final CrawlerClient client) {
            if (regexList == null || regexList.isEmpty()) {
                throw new CrawlerSystemException("A regular expression list is null or empty.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient is null.");
            }
            for (final String regex : regexList) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Strings.java

        }
    
        /**
         * Encodes a string into bytes using the specified encoding.
         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top