Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,640 for writer (0.07 sec)

  1. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

                buf[index - i] = value;
                i--;
            }
            return n;
        }
    
        /**
         * Writes an octet array to the buffer.
         *
         * @param b the byte array to write
         * @param i the starting index in the array
         * @param l the number of bytes to write
         */
        public void writeOctetArray(final byte[] b, final int i, final int l) {
            System.arraycopy(b, i, buf, index, l);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertThrows(NullPointerException.class, () -> {
                new Smb2NegotiateRequest(mockConfig, 0);
            });
        }
    
        @Test
        @DisplayName("Should properly align buffer writes")
        void testBufferAlignment() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Writes the specified byte array to the file at the given pathname.
         *
         * @param pathname
         *            The path to the file.
         * @param bytes
         *            The byte array to write.
         */
        public static void writeBytes(final String pathname, final byte[] bytes) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-files.md

    `UploadFile` has the following `async` methods. They all call the corresponding file methods underneath (using the internal `SpooledTemporaryFile`).
    
    * `write(data)`: Writes `data` (`str` or `bytes`) to the file.
    * `read(size)`: Reads `size` (`int`) bytes/characters of the file.
    * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-process.go

    	processIOWCharBytesMD             = NewCounterMD(processIOWCharBytes, "Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar")
    	processIOWriteBytesMD             = NewCounterMD(processIOWriteBytes, "Total bytes written by the process to the underlying storage system, /proc/[pid]/io write_bytes")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         *
         * <p>This method processes the image content associated with the thumbnail ID,
         * validates the image format, applies scaling and cropping transformations,
         * and writes the resulting thumbnail to the output file.</p>
         *
         * @param thumbnailId the unique identifier for the thumbnail
         * @param outputFile the file where the generated thumbnail will be saved
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            byte[] minBuffer = new byte[2];
            int written = trans2QueryFSInfo.writeSetupWireFormat(minBuffer, 0);
            assertEquals(2, written);
    
            // Test with exact parameter size
            byte[] paramBuffer = new byte[2];
            written = trans2QueryFSInfo.writeParametersWireFormat(paramBuffer, 0);
            assertEquals(2, written);
    
            // Test with zero-length data buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        /**
         * Permission to write data to the file.
         */
        int FILE_WRITE_DATA = 0x00000002; // 2
        /**
         * Permission to append data to the file.
         */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /**
         * Permission to read extended attributes.
         */
        int FILE_READ_EA = 0x00000008; // 4
        /**
         * Permission to write extended attributes.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. prepare_stmt.go

    		Stmts:    stmt_store.New(maxSize, ttl), // Initializes a new statement store with the specified maximum size and TTL.
    		Mux:      &sync.RWMutex{},              // Sets up a read-write mutex for synchronizing access to the statement store.
    	}
    }
    
    // GetDBConn returns the underlying *sql.DB connection
    func (db *PreparedStmtDB) GetDBConn() (*sql.DB, error) {
    	if sqldb, ok := db.ConnPool.(*sql.DB); ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top