Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 597 for Reading (0.04 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

    import java.net.UnknownHostException;
    
    import jcifs.smb1.util.Encdec;
    
    /**
     * This class provides random access to files stored on an SMB/CIFS network resource.
     * It implements the DataInput and DataOutput interfaces for reading and writing primitive
     * Java data types to the file.
     */
    public class SmbRandomAccessFile implements DataOutput, DataInput {
    
        private static final int WRITE_OPTIONS = 0x0842;
    
        private final SmbFile file;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. cmd/bitrot-streaming.go

    		// Offset should always be aligned to b.shardSize
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	if b.rc == nil {
    		// For the first ReadAt() call we need to open the stream for reading.
    		b.currOffset = offset
    		streamOffset := (offset/b.shardSize)*int64(b.h.Size()) + offset
    		if len(b.data) == 0 && b.tillOffset != streamOffset {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                }
                maxLineBuffer = maxOutputLineBuffer;
            }
    
            /**
             * Runs the input stream thread, reading lines and buffering them.
             */
            @Override
            public void run() {
                for (;;) {
                    try {
                        final String line = br.readLine();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
    
        if (mostRecentTrimFailed || mostRecentRebuildFailed) {
          // The OS has become our enemy! If the trim job failed, it means we are storing more data than
          // requested by the user. Do not allow edits so we do not go over that limit any further. If
          // the journal rebuild failed, the journal writer will not be active, meaning we will not be
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSink.java

       * Does not close {@code readable} if it is {@code Closeable}.
       *
       * @return the number of characters written
       * @throws IOException if an I/O error occurs while reading from {@code readable} or writing to
       *     this sink
       */
      @CanIgnoreReturnValue
      public long writeFrom(Readable readable) throws IOException {
        checkNotNull(readable);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/PropertyConfiguration.java

    package jcifs.config;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.util.Properties;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    /**
     * Configuration implementation reading the classic jcifs settings from properties
     *
     * @author mbechler
     */
    public final class PropertyConfiguration extends BaseConfiguration implements Configuration {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Files.java

        checkNotNull(file);
        checkNotNull(charset);
        return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset));
      }
    
      /**
       * Returns a new {@link ByteSource} for reading bytes from the given file.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(File file) {
        return new FileByteSource(file);
      }
    
      private static final class FileByteSource extends
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *
     * Exchanges that do not have a request body may skip creating and closing the request body.
     * Exchanges that do not have a response body can call
     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
      private val client: OkHttpClient?,
      override val carrier: ExchangeCodec.Carrier,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Manages a dictionary file for stopwords.
     * This class handles reading, parsing, and updating files that contain
     * a list of stopwords. Each line in the file represents a single stopword.
     *
     * The class provides methods for retrieving, adding, updating, and
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top