Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 483 for __size (1.22 sec)

  1. android/guava/src/com/google/common/escape/CharEscaper.java

       */
      private static char[] growBuffer(char[] dest, int index, int size) {
        if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it
          throw new AssertionError("Cannot increase internal buffer any further");
        }
        char[] copy = new char[size];
        if (index > 0) {
          System.arraycopy(dest, 0, copy, 0, index);
        }
        return copy;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    	// map header, size 8
    	// string "PartNumber"
    	o = append(o, 0x88, 0xaa, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72)
    	o = msgp.AppendInt(o, z.PartNumber)
    	// string "ETag"
    	o = append(o, 0xa4, 0x45, 0x54, 0x61, 0x67)
    	o = msgp.AppendString(o, z.ETag)
    	// string "Size"
    	o = append(o, 0xa4, 0x53, 0x69, 0x7a, 0x65)
    	o = msgp.AppendInt64(o, z.Size)
    	// string "ChecksumCRC32"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 71.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Joiner.java

         */
        if (parts instanceof List) {
          int size = ((List<?>) parts).size();
          if (size == 0) {
            return "";
          }
          CharSequence[] toJoin = new CharSequence[size];
          int i = 0;
          for (Object part : parts) {
            if (i == toJoin.length) {
              /*
               * We first initialized toJoin to the size of the input collection. However, that size can
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvPairs.java

         * @return encoded avpairs
         */
        public static byte[] encode(final List<AvPair> pairs) {
            int size = 0;
            for (final AvPair p : pairs) {
                size += 4 + p.getRaw().length;
            }
            size += 4;
    
            final byte[] enc = new byte[size];
            int pos = 0;
            for (final AvPair p : pairs) {
                final byte[] raw = p.getRaw();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

       * @since 2.0
       */
      public static MappedByteBuffer map(File file, MapMode mode, long size) throws IOException {
        checkArgument(size >= 0, "size (%s) may not be negative", size);
        return mapInternal(file, mode, size);
      }
    
      private static MappedByteBuffer mapInternal(File file, MapMode mode, long size)
          throws IOException {
        checkNotNull(file);
        checkNotNull(mode);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/GroupPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If the page size is not set or is invalid, returns the default page size.
         *
         * @return the number of records per page
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        assertEquals(1, map.size());
      }
    
      public void testCopyOf_map_valid() {
        Map<Class<? extends Number>, Number> in = new HashMap<>();
        in.put(Number.class, 0);
        in.put(Double.class, Math.PI);
        ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
        assertEquals(2, map.size());
    
        Number zero = map.getInstance(Number.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        }
    
        val factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm())
        factory.init(trustStore)
        val result = factory.trustManagers!!
        check(result.size == 1 && result[0] is X509TrustManager) {
          "Unexpected trust managers: ${result.contentToString()}"
        }
    
        val trustManager = result[0] as X509TrustManager
    
        return when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        int index = elementSet.indexOf(element);
        return (index >= 0) ? getCount(index) : 0;
      }
    
      @Override
      public int size() {
        long size = cumulativeCounts[offset + length] - cumulativeCounts[offset];
        return Ints.saturatedCast(size);
      }
    
      @Override
      public ImmutableSortedSet<E> elementSet() {
        return elementSet;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/RequestTest.java

            when(request.split()).thenReturn(nextRequest);
            when(request.allowChain(nextRequest)).thenReturn(true);
            when(request.createCancel()).thenReturn(nextRequest);
            when(request.size()).thenReturn(1024);
            when(request.getOverrideTimeout()).thenReturn(5000);
    
            // When & Then
            assertTrue(request.isResponseAsync());
            assertEquals(nextRequest, request.getNext());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top