Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,938 for isize (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                  cacheRequestClosed = true
                  cacheBody.close() // The cache response is complete!
                }
                return -1
              }
    
              sink.copyTo(cacheBody.buffer, sink.size - bytesRead, bytesRead)
              cacheBody.emitCompleteSegments()
              return bytesRead
            }
    
            override fun timeout(): Timeout = source.timeout()
    
            @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

            "Modifying the builder should not have changed any already" + " built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(0x00BFFF, (int) appendColorArray[216]);
      }
    
      public void testBuilderAddHandlesNullsCorrectly() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        manyValuesAccumulatorByAddAllStats = new StatsAccumulator();
        manyValuesAccumulatorByAddAllStats.addAll(
            Stats.of(MANY_VALUES.subList(0, MANY_VALUES.size() / 2)));
        manyValuesAccumulatorByAddAllStats.addAll(
            Stats.of(MANY_VALUES.subList(MANY_VALUES.size() / 2, MANY_VALUES.size())));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        for (int size : sizes) {
          Builder<Integer, Integer> builder = ImmutableMap.builderWithExpectedSize(size);
          for (int i = 0; i < size; i++) {
            Integer integer = i;
            builder.put(integer, integer);
          }
          ImmutableMap<Integer, Integer> map = builder.build();
          assertEquals(size, map.size());
          int entries = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        public void setFileId ( byte[] fileId ) {
            this.fileId = fileId;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

     */
    class HeadersReader(val source: BufferedSource) {
      private var headerLimit = HEADER_LIMIT.toLong()
    
      /** 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. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    if (child != null) {
                        children.add(child);
                    }
                }
    
                message = "The build could not read " + children.size() + " project" + (children.size() == 1 ? "" : "s");
            } else {
                message = getMessage(message, exception);
            }
    
            return new ExceptionSummary(exception, message, reference, children);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    	}
    
    	return nil
    }
    
    func (p *poolMeta) CountItem(idx int, size int64, failed bool) {
    	pd := p.Pools[idx].Decommission
    	if pd == nil {
    		return
    	}
    	if failed {
    		pd.ItemsDecommissionFailed++
    		pd.BytesFailed += size
    	} else {
    		pd.ItemsDecommissioned++
    		pd.BytesDone += size
    	}
    	p.Pools[idx].Decommission = pd
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            this.remainingBytes = remainingBytes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 49);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int len = super.encode(dst, dstIndex);
            int exp = size();
            int actual = getLength();
            if ( exp != actual ) {
                throw new IllegalStateException(String.format("Wrong size calculation have %d expect %d", exp, actual));
            }
            return len;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
Back to top