Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 363 for readFile (0.04 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val reader = BufferedReader(InputStreamReader(inputStream, StandardCharsets.UTF_8))
        assertThat(connection.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK)
        assertThat(reader.readLine()).isEqualTo("hello world")
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1")
        assertThat(request.getHeader("Accept-Language")).isEqualTo("en-US")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. cmd/bucket-metadata_gen.go

    			z.EncryptionConfigUpdatedAt, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "EncryptionConfigUpdatedAt")
    				return
    			}
    		case "TaggingConfigUpdatedAt":
    			z.TaggingConfigUpdatedAt, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "TaggingConfigUpdatedAt")
    				return
    			}
    		case "QuotaConfigUpdatedAt":
    			z.QuotaConfigUpdatedAt, err = dc.ReadTime()
    			if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                e.fileIndex = readInt4(buffer, bufferIndex + 4);
                e.creationTime = readTime(buffer, bufferIndex + 8);
                //      e.lastAccessTime = readTime( buffer, bufferIndex + 16 );
                e.lastWriteTime = readTime(buffer, bufferIndex + 24);
                //      e.changeTime = readTime( buffer, bufferIndex + 32 );
                e.endOfFile = readInt8(buffer, bufferIndex + 40);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ReaderUtil.java

         * @return a line of text, or {@literal null} if the end of the stream has been reached
         * @see BufferedReader#readLine()
         */
        public static String readLine(final BufferedReader reader) {
            assertArgumentNotNull("reader", reader);
    
            try {
                return reader.readLine();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(c);
            return this;
          }
        };
      }
    
      /** Wrap a readable in a readable to defeat any type specific optimizations. */
      private static Readable wrapAsGenericReadable(Readable a) {
        return new Readable() {
          @Override
          public int read(CharBuffer cb) throws IOException {
            return a.read(cb);
          }
        };
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(c);
            return this;
          }
        };
      }
    
      /** Wrap a readable in a readable to defeat any type specific optimizations. */
      private static Readable wrapAsGenericReadable(Readable a) {
        return new Readable() {
          @Override
          public int read(CharBuffer cb) throws IOException {
            return a.read(cb);
          }
        };
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/MoreObjects.java

         * readable name.
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(@Nullable Object value) {
          return addHolder(value);
        }
    
        /**
         * Adds an unnamed value to the formatted output.
         *
         * <p>It is strongly encouraged to use {@link #add(String, boolean)} instead and give value a
         * readable name.
         *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
        private void init(final SmbTreeHandleInternal th) throws CIFSException {
            if (this.smb2) {
                this.readSize = th.getReceiveBufferSize();
                this.readSizeFile = th.getReceiveBufferSize();
                return;
            }
    
            this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70);
    
            if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            // Use SMBUtil to read times back properly
            assertEquals(TEST_CREATE_TIME, SMBUtil.readTime(buffer, dstIndex));
            assertEquals(TEST_LAST_ACCESS_TIME, SMBUtil.readTime(buffer, dstIndex + 8));
            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));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt

      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
      fun readHeaders(): Headers {
        val result = Headers.Builder()
        while (true) {
          val line = readLine()
          if (line.isEmpty()) break
          result.addLenient(line)
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top