Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
    
        entry.currentEditor = null
        if (entry.zombie) {
          removeEntry(entry)
          return
        }
    
        redundantOpCount++
        journalWriter!!.apply {
          if (entry.readable || success) {
            entry.readable = true
            writeUtf8(CLEAN).writeByte(' '.code)
            writeUtf8(entry.key)
            entry.writeLengths(this)
            writeByte('\n'.code)
            if (success) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. cmd/metacache_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "end":
    			z.ended, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "ended")
    				return
    			}
    		case "st":
    			z.started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "started")
    				return
    			}
    		case "lh":
    			z.lastHandout, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastHandout")
    				return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. cmd/batch-expire_gen.go

    				return
    			}
    		case "CreatedBefore":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "CreatedBefore")
    					return
    				}
    				z.CreatedBefore = nil
    			} else {
    				if z.CreatedBefore == nil {
    					z.CreatedBefore = new(time.Time)
    				}
    				*z.CreatedBefore, err = dc.ReadTime()
    				if err != nil {
    					err = msgp.WrapError(err, "CreatedBefore")
    					return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. schema/field.go

    		val = strings.ToLower(strings.TrimSpace(val))
    		switch val {
    		case "-":
    			field.Creatable = false
    			field.Updatable = false
    			field.Readable = false
    			field.DataType = ""
    		case "all":
    			field.Creatable = false
    			field.Updatable = false
    			field.Readable = false
    			field.DataType = ""
    			field.IgnoreMigration = true
    		case "migration":
    			field.IgnoreMigration = true
    		}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

       *       {@link NullPointerException}.
       *   <li>Code that chains multiple predicates together (especially negations) may be more readable
       *       using this method. For example, {@code not(in(target))} is generally more readable than
       *       {@code not(target::contains)}.
       *   <li>This method's name conflicts with Kotlin's {@code in} operator.
       * </ul>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top