Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,217 for Create (0.15 sec)

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

            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final Reader reader = ReaderUtil.create(new BufferedInputStream(is, DEFAULT_BUF_SIZE), encoding);
                return read(reader, (int) ChannelUtil.size(is.getChannel()));
            } finally {
                CloseableUtil.close(is);
    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/main/java/org/codelibs/core/net/UuidUtil.java

        private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM));
    
        /**
         * Creates a UUID.
         *
         * @return the UUID string
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         */
        protected ZipFileUtil() {
        }
    
        /**
         * Creates and returns a <code>ZipFile</code> for reading the specified Zip file.
         *
         * @param file
         *            File path. Must not be {@literal null} or an empty string.
         * @return A <code>ZipFile</code> for reading the specified Zip file.
         */
        public static ZipFile create(final String file) {
            assertArgumentNotEmpty("file", file);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

    public class SmbOperationExceptionTest {
    
        private SmbOperationException exception;
    
        @BeforeEach
        void setUp() {
            exception = null;
        }
    
        @Test
        @DisplayName("Should create exception with error code and message")
        void testBasicCreation() {
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_NOT_FOUND, "test.txt");
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

         *
         * @param create file creation time
         * @param lastAccess last access time
         * @param lastWrite last write time
         * @param change last change time
         * @param attributes file attributes
         */
        public FileBasicInfo(final long create, final long lastAccess, final long lastWrite, final long change, final int attributes) {
            this.createTime = create;
            this.lastAccessTime = lastAccess;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullKey()));
      }
    
      protected void initMultimapWithNullValue() {
        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullValue()));
      }
    
      protected void initMultimapWithNullKeyAndValue() {
        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullKeyAndValue()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

        return orderEntriesByKey(insertionOrder);
      }
    
      @Override
      protected abstract SortedMap<String, String> create(Entry<String, String>[] entries);
    
      @Override
      public SortedMap<String, String> create(Object... entries) {
        return (SortedMap<String, String>) super.create(entries);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

        private SrvCopychunk mockChunk;
    
        @BeforeEach
        void setUp() {
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with source key and single chunk")
            void testConstructorWithSingleChunk() {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
                Arrays.fill(sourceKey, (byte) 0xAB);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

        void testDecodeMinimumBuffer() throws SMBProtocolDecodingException {
            // First create and encode
            FileBasicInfo original =
                    new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES);
    
            // Create buffer with exact decode size
            byte[] tempBuffer = new byte[50];
            original.encode(tempBuffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/BaseTest.java

        }
    
        /**
         * Create a test byte array with specified size and pattern
         */
        protected byte[] createTestData(int size) {
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
            return data;
        }
    
        /**
         * Create a test string with specified length
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top