Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 1,980 for size0 (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

     * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE].
     */
    class Http2Reader(
      /** Creates a frame reader with max header table size of 4096. */
      private val source: BufferedSource,
      private val client: Boolean,
    ) : Closeable {
      private val continuation: ContinuationSource = ContinuationSource(this.source)
      private val hpackReader: Hpack.Reader =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      /**
       * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from
       * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size,
       * not a seed, and because that size is rounded up. Thus, {@code goodFastHash} instances with
       * different parameters can be equal. That fact is a problem for {@code
       * testSeededHashFunctionEquals}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    	Downloads     uint64
    	UploadTimes   madmin.TimeDurations
    	DownloadTimes madmin.TimeDurations
    	DownloadTTFB  madmin.TimeDurations
    	Error         string
    }
    
    func newRandomReader(size int) io.Reader {
    	return io.LimitReader(randreader.New(), int64(size))
    }
    
    type firstByteRecorder struct {
    	t *time.Time
    	r io.Reader
    }
    
    func (f *firstByteRecorder) Read(p []byte) (n int, err error) {
    	if f.t != nil || len(p) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    ```
    
    Now try sending an invalid item like:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    You will receive a response telling you that the data is invalid containing the received body:
    
    ```JSON hl_lines="12-15"
    {
      "detail": [
        {
          "loc": [
            "body",
            "size"
          ],
          "msg": "value is not a valid integer",
          "type": "type_error.integer"
        }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        // Insert in chronological order. Always compare deltas because nanoTime() is permitted to wrap.
        var insertAt = futureTasks.indexOfFirst { it.nextExecuteNanoTime - now > delayNanos }
        if (insertAt == -1) insertAt = futureTasks.size
        futureTasks.add(insertAt, task)
    
        // Impact the coordinator if we inserted at the front.
        return insertAt == 0
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

            @Override
            ImmutableSortedSet<C> delegateCollection() {
              return RegularContiguousSet.this;
            }
    
            @Override
            public C get(int i) {
              checkElementIndex(i, size());
              return domain.offset(first(), i);
            }
    
            // redeclare to help optimizers with b/310253115
            @SuppressWarnings("RedundantOverride")
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public Object setProperty(final String key, final String value) {
            return getProperties().setProperty(key, value);
        }
    
        @Override
        public int size() {
            return getProperties().size();
        }
    
        @Override
        public void store(final OutputStream out, final String comments) throws IOException {
            getProperties().store(out, comments);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Structure size is not 4");
            }
            return 4;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        }
        segment.setTableEntryForTesting(0, entry);
        segment.count = originalCount;
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(originalCount, originalMap.size());
        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        }
        segment.setTableEntryForTesting(0, entry);
        segment.count = originalCount;
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(originalCount, originalMap.size());
        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top