Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,453 for Write (0.32 sec)

  1. cmd/prepare-storage.go

    		storageLogIf(GlobalContext, fmt.Errorf("unable to create (%s) %w, drive may be faulty, please investigate",
    			pathJoin(diskPath, minioMetaTmpBucket),
    			err))
    	}
    
    	// Delete all temporary files created for DirectIO write check
    	files, _ := filepath.Glob(filepath.Join(diskPath, ".writable-check-*.tmp"))
    	for _, file := range files {
    		go removeAll(file)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @Test
        @DisplayName("Test getPadding method")
        void testGetPadding() {
            int padding = transaction.getPadding();
            assertTrue(padding >= 0);
        }
    
        @Test
        @DisplayName("Test write operations")
        void testWriteOperations() {
            byte[] dst = new byte[1024];
    
            // Initialize transaction buffer to avoid NPE
            transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/CopyUtil.java

            final FileOutputStream os = OutputStreamUtil.create(out);
            try {
                final FileChannel channel = os.getChannel();
                final ByteBuffer buffer = ByteBuffer.wrap(in);
                return ChannelUtil.write(channel, buffer);
            } finally {
                CloseableUtil.close(os);
            }
        }
    
        /**
         * Copies from a byte array with the specified encoding to a file with the platform default encoding.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              }
    
              contentLength != -1L -> {
                hasBody = contentLength > 0L || HttpMethod.permitsRequestBody(request.method)
                requestBodySink.write(socket.source, contentLength)
              }
    
              chunked -> {
                chunkSizes = mutableListOf()
                hasBody = true
                while (true) {
                  val chunkSize =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                try (final InputStream is = new BufferedInputStream(responseData.getResponseBody())) {
                    out.write(is);
                } catch (final IOException e) {
                    if (!(e.getCause() instanceof ClientAbortException)) {
                        throw new FessSystemException("Failed to write a content. configId: " + configId + ", url: " + url, e);
                    }
                } finally {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacDataInputStreamTest.java

                    .multiply(BigInteger.valueOf(10000L));
    
            byte[] data = new byte[8];
            long low = filetime.longValue();
            long high = filetime.shiftRight(32).longValue();
    
            // write little-endian
            data[0] = (byte) (low);
            data[1] = (byte) (low >> 8);
            data[2] = (byte) (low >> 16);
            data[3] = (byte) (low >> 24);
            data[4] = (byte) (high);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024);
    
            // Verify attributes are masked with 0x37
            int expectedAttributes = searchAttributes & 0x37;
    
            // Write parameters to verify the masked value is used
            byte[] buffer = new byte[100];
            int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
    
            // Read back the search attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/request-files.md

    `UploadFile` має такі асинхронні `async` методи. Вони викликають відповідні методи файлу під капотом (використовуючи внутрішній `SpooledTemporaryFile`).
    
    * `write(data)`: Записує `data` (`str` або `bytes`) у файл.
    * `read(size)`: Читає `size` (`int`) байтів/символів з файлу.
    * `seek(offset)`: Переміщується до позиції `offset` (`int`) у файлі.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 22 22:01:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            public void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
                    throws IOException, ServletException {
                response.setStatus(200);
                response.getWriter().write(responseContent);
            }
        }
    
        private static class ErrorWebApiManager implements WebApiManager {
            @Override
            public boolean matches(HttpServletRequest request) {
                return true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top