Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 131 for segments (0.08 seconds)

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

        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
    
        assertThat(map.segments).hasLength(4);
        assertThat(map.segments[0].table.length()).isEqualTo(2);
        assertThat(map.segments[1].table.length()).isEqualTo(2);
        assertThat(map.segments[2].table.length()).isEqualTo(2);
        assertThat(map.segments[3].table.length()).isEqualTo(2);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CacheTesting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
    
        assertThat(map.segments).hasLength(4);
        assertThat(map.segments[0].table.length()).isEqualTo(2);
        assertThat(map.segments[1].table.length()).isEqualTo(2);
        assertThat(map.segments[2].table.length()).isEqualTo(2);
        assertThat(map.segments[3].table.length()).isEqualTo(2);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CacheTesting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(segment.get(key, hash)).isNull();
    
        // cleared
        table.set(index, entry);
        segment.count++;
        assertThat(segment.count).isEqualTo(1);
        assertThat(segment.get(key, hash)).isSameInstanceAs(oldValue);
        oldValueRef.clear();
        assertThat(segment.remove(key, hash)).isNull();
        assertThat(segment.count).isEqualTo(0);
        assertThat(segment.get(key, hash)).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(segment.get(key, hash)).isNull();
    
        // cleared
        table.set(index, entry);
        segment.count++;
        assertThat(segment.count).isEqualTo(1);
        assertThat(segment.get(key, hash)).isSameInstanceAs(oldValue);
        oldValueRef.clear();
        assertThat(segment.remove(key, hash)).isNull();
        assertThat(segment.count).isEqualTo(0);
        assertThat(segment.get(key, hash)).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

       * this cookie; otherwise it matches this domain and all subdomains.
       */
      @get:JvmName("domain") val domain: String,
      /**
       * Returns this cookie's path. This cookie matches URLs prefixed with path segments that match
       * this path's segments. For example, if this path is `/foo` this cookie matches requests to
       * `/foo` and `/foo/bar`, but not `/` or `/football`.
       */
      @get:JvmName("path") val path: String,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                 * to populate fields if the writeXxx operation needs this header data
                 * for whatever reason. I copy over the uid here so it appears correct
                 * in logging output. Logging of andx segments of messages inadvertantly
                 * print header information because of the way toString always makes a
                 * super.toString() call(see toString() at the end of all smbs classes).
                 */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            return generateId(urlId);
        }
    
        /**
         * Retrieves a list of session IDs with their document counts from the search engine.
         * Uses aggregation to get session segments and their corresponding document counts.
         *
         * @param searchEngineClient the search engine client to perform the query
         * @return a list of maps containing session IDs and their document counts
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
       * granularity. For example, access queues and write queues are kept per segment when they are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. cmd/sftp-server-driver.go

    	_ = w.w.CloseWithError(err)
    	_ = w.r.CloseWithError(err)
    	w.err = err
    }
    
    func (w *writerAt) Close() (err error) {
    	switch {
    	case len(w.buffer) > 0:
    		err = errors.New("some file segments were not flushed from the queue")
    		_ = w.w.CloseWithError(err)
    	case w.err != nil:
    		// No need to close here since both pipes were
    		// closing inside TransferError()
    		err = w.err
    	default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

      }
    
      /**
       * Sets the minimum total size for the internal hash tables. For example, if the initial capacity
       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top