Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3711 - 3720 of 4,515 for fromP2 (0.07 seconds)

  1. src/main/java/jcifs/util/Hexdump.java

         *
         * @param src the source byte array to convert
         * @param srcIndex the starting index in the source array
         * @param size the number of bytes to convert from the source array
         * @return a hexadecimal string representation of the byte array
         */
        public static String toHexString(final byte[] src, final int srcIndex, final int size) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            IOException error = new IOException("Connection failed");
            failover.handleFailure(failedChannel, error);
    
            // Verify pending operations were cleared from failed channel
            assertEquals(0, failedChannel.getRequestsPending());
    
            // Verify alternative channel was selected and operation added
            verify(mockLoadBalancer).selectChannel(mockOperation);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    
        @Test
        void testClose_SmbExceptionOnClose() throws IOException {
            // Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException
            String server = "testServer";
            int access = 123;
            int errorRetval = 12345; // Simulate an error code
    
            // Setup for successful constructor
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                            () -> asListHtml(this::saveToken));
                }
            }
            return redirect(getClass()); // no-op
        }
    
        /**
         * Creates a CURL request from the provided header string.
         *
         * @param header the header string containing HTTP method and path
         * @return CURL request object or null if header is invalid
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                docList.stream().forEach(doc -> {
                    if (!thumbnailManager.offer(doc)) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Removing {}={} from doc[{}]", thumbnailField, doc.get(thumbnailField),
                                    doc.get(fessConfig.getIndexFieldUrl()));
                        }
                        doc.remove(thumbnailField);
                    }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                if (p.getType() == type) {
                    return true;
                }
            }
            return false;
        }
    
        /**
         * Gets the first AV pair of the specified type from the list
         *
         * @param pairs the list of AV pairs to search
         * @param type the AV pair type to retrieve
         * @return first occurance of the given type
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            // Assert: the extended interface relationship holds
            assertTrue(impl instanceof CredentialsInternal, "Should be usable as CredentialsInternal");
    
            // Cast and check we can call clone() from CredentialsInternal contract
            CredentialsInternal ci = (CredentialsInternal) impl;
            CredentialsInternal cloned = ci.clone();
            assertNotNull(cloned, "clone() should return a non-null CredentialsInternal");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            verify(locator).handleDFSReferral(null, "");
            verifyNoMoreInteractions(locator);
        }
    
        // Invalid input: null reqPath leads to NPE from implementation
        @Test
        @DisplayName("handleDFSReferral throws NPE on null reqPath")
        void handleDfsReferralNullPathThrows() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/UniAddressTest.java

            assertTrue(UniAddress.isAllDigits(""), "isAllDigits should return true for empty string (no non-digits)");
        }
    
        /* ---------------------------------------------------------------------
         * 4. Exceptions from static methods that don't resolve without stubbing
         * --------------------------------------------------------------------- */
        @Test
        void getAllByNameRejectsNullOrEmptyHostname() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                if (resourceAsStream != null) {
                    properties.load(resourceAsStream);
                }
            } catch (IOException e) {
                System.err.println("Unable determine version from JAR file: " + e.getMessage());
            }
    
            return properties;
        }
    
        public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) {
            if (logger == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 7.3K bytes
    - Click Count (0)
Back to Top