Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 523 for reading4 (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    @Throws(IOException::class)
    internal fun BufferedSource.skipAll() {
      while (!exhausted()) {
        skip(buffer.size)
      }
    }
    
    /**
     * Attempts to exhaust this, returning true if successful. This is useful when reading a complete
     * source is helpful, such as when doing so completes a cache body or frees a socket connection for
     * reuse.
     */
    internal fun Source.discard(
      timeout: Int,
      timeUnit: TimeUnit,
    ): Boolean =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            assertEquals(TEST_LAST_WRITE_TIME, SMBUtil.readTime(buffer, dstIndex + 16));
            assertEquals(TEST_CHANGE_TIME, SMBUtil.readTime(buffer, dstIndex + 24));
            assertEquals(TEST_ATTRIBUTES, SMBUtil.readInt4(buffer, dstIndex + 32));
        }
    
        @Test
        @DisplayName("Test FileBasicInfo size method")
        void testFileBasicInfoSize() {
            // Given
            FileBasicInfo info = new FileBasicInfo();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResource.java

         * @throws CIFSException if an error occurs accessing the resource
         */
        OutputStream openOutputStream() throws CIFSException;
    
        /**
         * Opens an input stream reading the file (read only)
         *
         * @param flags
         *            open flags
         * @param access
         *            desired access flags
         * @param sharing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  4. cmd/streaming-signature-v4.go

    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    //
    // NewChunkedReader is not needed by normal applications. The http package
    // automatically decodes chunking when reading response bodies.
    func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    	if errCode != ErrNone {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         */
        protected static class ProcessDestroyer extends TimerTask {
    
            /** The process to monitor and destroy. */
            private final Process p;
    
            /** The input stream thread reading process output. */
            private final InputStreamThread ist;
    
            /** Flag indicating if the destroyer has been executed. */
            private final AtomicBoolean executed = new AtomicBoolean(false);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            TransPeekNamedPipeResponse testResponse = new TransPeekNamedPipeResponse(testConfig);
    
            // Assert
            assertNotNull(testResponse);
        }
    
        @Test
        @DisplayName("Test state changes after reading parameters")
        void testStateAfterReadingParameters() {
            // Arrange
            byte[] buffer = new byte[10];
            SMBUtil.writeInt2(1500, buffer, 0);
            SMBUtil.writeInt2(0xFFFF, buffer, 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

            if (isClient) {
              "Server-sent frames must not be masked."
            } else {
              "Client-sent frames must be masked."
            },
          )
        }
    
        // Get frame length, optionally reading from follow-up bytes if indicated by special values.
        frameLength = (b1 and B1_MASK_LENGTH).toLong()
        if (frameLength == PAYLOAD_SHORT.toLong()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                }
            }
    
            /**
             * Gets an input stream to read from the storage object.
             *
             * @return An input stream for reading the object content
             * @throws IOException If the object cannot be accessed
             */
            @Override
            public InputStream getInputStream() throws IOException {
                if (minioClient == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       *
       * If this is a [cacheResponse], [networkResponse], or [priorResponse], the server's response body
       * is not available, and it is always an error to attempt read its streamed content. Reading from
       * [ResponseBody.source] always throws on such instances.
       *
       * It is safe and supported to call [ResponseBody.contentType] and [ResponseBody.contentLength] on
       * all instances of [ResponseBody].
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	}
    	testFileMode(t, f, wt.Mode)
    	rc, err := f.Open()
    	if err != nil {
    		t.Fatalf("opening %s: %v", f.Name, err)
    	}
    	b, err := io.ReadAll(rc)
    	if err != nil {
    		t.Fatalf("reading %s: %v", f.Name, err)
    	}
    	err = rc.Close()
    	if err != nil {
    		t.Fatalf("closing %s: %v", f.Name, err)
    	}
    	if !bytes.Equal(b, wt.Data) {
    		t.Errorf("File contents %q, want %q", b, wt.Data)
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top