Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for copied (2.48 sec)

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

        //
        /**
         * Copies from an input stream to an output stream.
         * <p>
         * Neither the input stream nor the output stream is closed.
         * </p>
         *
         * @param in the input stream (must not be {@literal null})
         * @param out the output stream (must not be {@literal null})
         * @return the number of bytes copied
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            }
        }
    
        /**
         * Copies the source Bean to a new instance of the destination Bean and returns it.
         *
         * @param <T> The type of the destination Bean.
         * @param src The source Bean. Must not be {@literal null}.
         * @param destClass The type of the destination Bean. Must not be {@literal null}.
         * @return The newly copied Bean.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * If either or both arrays have a length of {@literal 0}, the other array is returned as is.
         * In any case, the returned array is the same instance as the argument array and is not copied.
         * </p>
         *
         * @param <T>
         *            the type of the array elements
         * @param a
         *            first array
         * @param b
         *            second array
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // In test environments, getSubject() may return null if JAAS is not configured
            // This is acceptable behavior - the test should focus on the cloning logic
    
            // Clone and verify basic fields copied
            JAASAuthenticator copy = (JAASAuthenticator) orig.clone();
            assertEquals(orig.getUsername(), copy.getUsername());
            assertEquals(orig.getUserDomain(), copy.getUserDomain());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

        }
    
        /**
         * Returns a {@link CopyOptions} with the specified prefix.
         * <p>
         * When a prefix is specified, only the properties from the source whose names start with the prefix will be copied.
         * Additionally, the prefix will be removed from the source property names to determine the target property names.
         * </p>
         *
         * @param prefix
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * the property names for the source and destination will be as follows:
         * </p>
         * <table border="1">
         * <caption>Copied JavaBeans Properties</caption>
         * <tr>
         * <th>JavaBeans Property Name</th>
         * <th>{@literal Map} Property Name</th>
         * </tr>
         * <tr>
         * <td>{@literal foo}</td>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataLength, response.getDataLength());
            assertEquals(dataRemaining, response.getDataRemaining());
    
            // Verify data was copied to output buffer
            byte[] copiedData = Arrays.copyOfRange(outputBuffer, 0, dataLength);
            assertArrayEquals(testData, copiedData);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        }
    
        @Test
        void copiesOutputIntoProvidedBufferAndBlocksGetOutputData() throws Exception {
            // When an output buffer is provided, bytes are copied and getOutputData(Class) should fail.
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] output = new byte[] { 1, 2, 3, 4, 5 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

         * @param destClass the class of the destination bean
         * @return a new instance of the destination class with copied properties
         */
        protected static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) {
            return BeanUtil.copyBeanToNewBean(src, destClass);
        }
    
        /**
         * Builds a comprehensive error message from a throwable and its causes.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            byte[] buffer = new byte[1024];
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            // Verify file ID is copied correctly (starts at offset 8)
            for (int i = 0; i < 16; i++) {
                assertEquals(customFileId[i], buffer[8 + i]);
            }
            assertEquals(56, written);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top