Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newLength (0.14 sec)

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

              fileSystem.atomicMove(dirty, clean)
              val oldLength = entry.lengths[i]
              // TODO check null behaviour
              val newLength = fileSystem.metadata(clean).size ?: 0
              entry.lengths[i] = newLength
              size = size - oldLength + newLength
            }
          } else {
            fileSystem.deleteIfExists(dirty)
          }
        }
    
        entry.currentEditor = null
        if (entry.zombie) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

             * is at least expandedCapacity(n, n + 1) satisfies this property.
             */
            int newLength = ImmutableCollection.Builder.expandedCapacity(n, n + 1);
            if (newLength > elements.length) {
              elements = Arrays.copyOf(elements, newLength);
            }
          }
          elements[n++] = element;
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
Back to top