Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for segment (1.71 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    
        // same key
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    
        // same key
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          for (Segment<K, V> segment : segments) {
            if (segment.count != 0) {
              return false;
            }
            sum -= segment.modCount;
          }
          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;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

          for (Segment<K, V> segment : segments) {
            if (segment.count != 0) {
              return false;
            }
            sum -= segment.modCount;
          }
          return sum == 0L;
        }
        return true;
      }
    
      long longSize() {
        Segment<K, V>[] segments = this.segments;
        long sum = 0;
        for (Segment<K, V> segment : segments) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. okhttp-android/src/main/baseline-prof.txt

    HSPLokio/RealBufferedSource;->select(Lokio/Options;)I
    HSPLokio/RealBufferedSource;->skip(J)V
    HSPLokio/Segment;-><init>()V
    HSPLokio/Segment;-><init>([BIIZZ)V
    HSPLokio/Segment;->pop()Lokio/Segment;
    HSPLokio/Segment;->push(Lokio/Segment;)Lokio/Segment;
    HSPLokio/Segment;->writeTo(Lokio/Segment;I)V
    HSPLokio/SegmentPool;-><clinit>()V
    HSPLokio/SegmentPool;-><init>()V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg debug/macho, method (FatArch) ImportedSymbols() ([]string, error)
    pkg debug/macho, method (FatArch) Section(string) *Section
    pkg debug/macho, method (FatArch) Segment(string) *Segment
    pkg debug/macho, type FatArch struct
    pkg debug/macho, type FatArch struct, embedded *File
    pkg debug/macho, type FatArch struct, embedded FatArchHeader
    pkg debug/macho, type FatArchHeader struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    [32]byte
    [2*N] struct { x, y int32 }
    [1000]*float64
    [3][5]int
    [2][2][2]float64  // same as [2]([2]([2]float64))
    </pre>
    
    <h3 id="Slice_types">Slice types</h3>
    
    <p>
    A slice is a descriptor for a contiguous segment of an <i>underlying array</i> and
    provides access to a numbered sequence of elements from that array.
    A slice type denotes the set of all slices of arrays of its element type.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like a serpent.  She had just succeeded in curving it down into a
    graceful zigzag, and was going to dive in among the leaves, which
    she found to be nothing but the tops of the trees under which she
    had been wandering, when a sharp hiss made her draw back in a
    hurry:  a large pigeon had flown into her face, and was beating
    her violently with its wings.
    
      `Serpent!' screamed the Pigeon.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like a serpent.  She had just succeeded in curving it down into a
    graceful zigzag, and was going to dive in among the leaves, which
    she found to be nothing but the tops of the trees under which she
    had been wandering, when a sharp hiss made her draw back in a
    hurry:  a large pigeon had flown into her face, and was beating
    her violently with its wings.
    
      `Serpent!' screamed the Pigeon.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * (presumably known to be a master
     * browser) for the server list in workgroup <code>MYGROUP</code>.
     * </td></tr>
     *
     * </table>
     * 
     * <p>A second constructor argument may be specified to augment the URL
     * for better programmatic control when processing many files under
     * a common base. This is slightly different from the corresponding
     * <code>java.io.File</code> usage; a '/' at the beginning of the second
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top