Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for longSize (0.05 seconds)

  1. android/guava/src/com/google/common/base/Strings.java

        }
    
        // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark
        int len = string.length();
        long longSize = (long) len * (long) count;
        int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Strings.java

        }
    
        // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark
        int len = string.length();
        long longSize = (long) len * (long) count;
        int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Smb2TreeConnectRequest longReq = new Smb2TreeConnectRequest(mockConfig, longPath);
    
            // When
            int shortSize = shortReq.size();
            int longSize = longReq.size();
    
            // Then
            // SMB2_HEADER_LENGTH + 8 + path.length() * 2 (UTF-16LE)
            int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          return sum == 0L;
        }
        return true;
      }
    
      long longSize() {
        Segment<K, V>[] segments = this.segments;
        long sum = 0;
        for (Segment<K, V> segment : segments) {
          sum += segment.count;
        }
        return sum;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(longSize());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

        }
        return true;
      }
    
      long longSize() {
        Segment<K, V>[] segments = this.segments;
        long sum = 0;
        for (Segment<K, V> segment : segments) {
          sum += Math.max(0, segment.count); // see https://github.com/google/guava/issues/2108
        }
        return sum;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(longSize());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. docs/en/data/topic_repos.yml

      stars: 1859
      owner_login: benavlabs
      owner_html_url: https://github.com/benavlabs
    - name: fastapi-cache
      html_url: https://github.com/long2ice/fastapi-cache
      stars: 1853
      owner_login: long2ice
      owner_html_url: https://github.com/long2ice
    - name: python-week-2022
      html_url: https://github.com/rochacbruno/python-week-2022
      stars: 1809
      owner_login: rochacbruno
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 12:36:41 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top