Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 3,858 for full (0.07 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
         * @param encoding
         *            The encoding. Must not be {@literal null} or empty.
         * @return The text read from the file.
         */
        public static String readText(final String path, final String encoding) {
            assertArgumentNotEmpty("path", path);
            assertArgumentNotEmpty("encoding", encoding);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(1, chain3.updateCallCount);
        }
    
        // Test addChain null handling
        public void test_addChain_withNull() {
            // ArrayUtils.addAll handles null gracefully by adding it to the array
            authenticationManager.addChain(null);
    
            // Verify null chain doesn't cause issues during operations
            User user = createTestUser("testuser");
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        @Test
        @DisplayName("Test sign method with null request and response")
        void testSignWithNullMessages() {
            // Arrange
            int offset = 0;
            int length = testData.length;
    
            // Act
            signingDigest.sign(testData, offset, length, null, null);
    
            // Assert
            verify(signingDigest, times(1)).sign(testData, offset, length, null, null);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                        }
                    }
                    exception = null;
                    break;
                } catch (final Exception e) {
                    exception = new SuggesterException(e);
                    scrollId = null;
                }
            }
    
            docCount.getAndAdd(queue.size());
    
            if (exception != null) {
                throw exception;
            }
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        String stateString = requestUrl.queryParameter("state");
        ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null;
    
        Listener listener;
        synchronized (this) {
          listener = listeners.get(state);
        }
    
        if (code == null || listener == null) {
          return new MockResponse()
              .setResponseCode(404)
              .setBody("unexpected request");
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (1)
  6. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            } else if (exception instanceof NullPointerException) {
                // Empty input causes null ASN1 object, which is expected behavior
                assertTrue(exception.getMessage() == null || exception.getMessage().contains("Cannot invoke \"Object.getClass()\""),
                        "NullPointerException should be from null ASN1 object.");
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

            String msg, pathInfo, server = null;
            boolean offerBasic, possibleWorkgroup = true;
            NtlmPasswordAuthentication ntlm = null;
            final HttpSession ssn = req.getSession(false);
    
            pathInfo = req.getPathInfo();
            if (pathInfo != null) {
                int i;
                server = parseServerAndShare(pathInfo);
                if (server != null && (i = server.indexOf('/')) > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsRelatedContent.java

            if (content != null) {
                addFieldToSource(sourceMap, "content", content);
            }
            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (sortOrder != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (out != null && !out.isOpen()) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            if (in == null) {
                in = (SmbFileInputStream) pipe.getNamedPipeInputStream();
            }
            if (out == null) {
                out = (SmbFileOutputStream) pipe.getNamedPipeOutputStream();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(0L, MemoryUtil.sizeOf(new Object[0]));
    
            // Array with null elements
            assertEquals(0L, MemoryUtil.sizeOf(new String[] { null, null }));
    
            // Mixed content array
            assertEquals(84L, MemoryUtil.sizeOf(new Object[] { "test", 123, null }));
    
            // Nested arrays
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top