Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 534 for reading_ (0.04 sec)

  1. src/archive/zip/reader.go

    	}
    	r := new(ReadCloser)
    	if err = r.init(f, fi.Size()); err != nil && err != ErrInsecurePath {
    		f.Close()
    		return nil, err
    	}
    	r.f = f
    	return r, err
    }
    
    // NewReader returns a new [Reader] reading from r, which is assumed to
    // have the given size in bytes.
    //
    // If any file inside the archive uses a non-local name
    // (as defined by [filepath.IsLocal]) or a name containing backslashes
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacDataInputStream.java

         */
        public String readString() throws IOException, PACDecodingException {
            final int totalChars = readInt();
            final int unusedChars = readInt();
            final int usedChars = readInt();
    
            if (unusedChars > totalChars || usedChars > totalChars - unusedChars) {
                throw new PACDecodingException("Malformed string in PAC");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. cmd/erasure-coding.go

    	lastShardSize := ceilFrac(lastBlockSize, int64(e.dataBlocks))
    	return numShards*e.ShardSize() + lastShardSize
    }
    
    // ShardFileOffset - returns the effective offset where erasure reading begins.
    func (e *Erasure) ShardFileOffset(startOffset, length, totalLength int64) int64 {
    	shardSize := e.ShardSize()
    	shardFileSize := e.ShardFileSize(totalLength)
    	endShard := (startOffset + length) / e.blockSize
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

         *
         * @param outputFile the converted output file
         * @param outExt the output file extension
         * @return the extracted text content
         * @throws ExtractException if an error occurs while reading the file
         */
        protected String getOutputContent(final File outputFile, final String outExt) {
            final Extractor extractor = getExtractor(outExt);
            if (extractor != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

        private static final Logger logger = LogManager.getLogger(ESSourceReader.class);
    
        /** Queue of documents. */
        protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>();
        /** Flag indicating if reading is finished. */
        protected final AtomicBoolean isFinished = new AtomicBoolean(false);
        /** Random number generator. */
        protected final Random random = new Random();
    
        /** OpenSearch client. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-utils_test.go

    			transfi.TransitionTier = "MINIO-TIER"
    			transfi.TransitionedObjName = mustGetUUID()
    			xl.DeleteVersion(transfi)
    
    			fi.SetTierFreeVersionID(mustGetUUID())
    			// delete this version leading to a free version
    			xl.DeleteVersion(fi)
    			freeVersionIDs = append(freeVersionIDs, fi.TierFreeVersionID())
    			allVersionIDs = append(allVersionIDs, fi.TierFreeVersionID())
    		} else {
    			versions = append(versions, fi)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                throw new IOException("Connection not established");
            }
    
            try {
                // For TCP fallback, simulate reading data through the TCP socket
                int bytesToRead = Math.min(length, buffer.remaining());
                ByteBuffer tempBuffer = ByteBuffer.allocate(bytesToRead);
    
                int totalRead = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

         * The file is created at {@code META-INF/maven/org.apache.maven.api.di.Inject} and contains
         * the fully qualified names of classes with the {@link Named} annotation.
         *
         * @throws IOException if there is an error reading or writing the file
         */
        private void updateFileIfChanged() throws IOException {
            String path = "META-INF/maven/org.apache.maven.api.di.Inject";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        disconnectBeforeTrailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun disconnectBeforeTrailersHttp2() {
        disconnectBeforeTrailers(Protocol.HTTP_2)
      }
    
      /** Confirm we can get an [IOException] reading trailers. */
      private fun disconnectBeforeTrailers(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .trailers(headersOf("t1", "v2"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertEquals(0xFFFFFFFF, response.getCapabilities());
            assertEquals(0xFFFFFFFF, response.getMaximalAccess());
        }
    
        @Test
        @DisplayName("Should handle buffer too small for reading")
        void testBufferTooSmall() {
            // Given
            byte[] buffer = new byte[15]; // Too small for 16-byte structure
            SMBUtil.writeInt2(16, buffer, 0);
    
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top