Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 808 for held (0.02 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
            // held
            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(originalCount, countLiveEntries(map));
          assertEquals(originalCount, segment.count);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *       res = (seqNum < other.seqNum ? -1 : 1);
     *     }
     *     return res;
     *   }
     * }
     * }</pre>
     *
     * @author Doug Lea
     * @author Justin T. Sampson
     * @param <E> the type of elements held in this collection
     */
    @NullUnmarked
    public class MonitorBasedPriorityBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    
      // Based on revision 1.55 of PriorityBlockingQueue by Doug Lea, from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

     * @see TimestampConversionUtil
     */
    public abstract class TimeConversionUtil {
    
        /**
         * Do not instantiate.
         */
        protected TimeConversionUtil() {
        }
    
        /** Array of styles held by {@link DateFormat} */
        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * Returns the pattern string for {@link DateFormat#SHORT} style in the default locale.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

     * @see TimeConversionUtil
     */
    public abstract class TimestampConversionUtil {
    
        /**
         * Do not instantiate.
         */
        protected TimestampConversionUtil() {
        }
    
        /** Array of styles held by {@link DateFormat} */
        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * Returns the pattern string for {@link DateFormat#SHORT} style using the default locale.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    ) : Lockable,
      Socket {
      // Internal state is guarded by `this`. No long-running or potentially blocking operations are
      // performed while the lock is held.
    
      /** The bytes consumed and acknowledged by the stream. */
      val readBytes: WindowCounter = WindowCounter(id)
    
      /** The total number of bytes produced by the application. */
      var writeBytesTotal = 0L
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        void dispatchListenerEvents() {
          checkState(
              !monitor.isOccupiedByCurrentThread(),
              "It is incorrect to execute listeners with the monitor held.");
          listeners.dispatch();
        }
    
        @GuardedBy("monitor")
        void checkHealthy() {
          if (states.count(RUNNING) != numberOfServices) {
            IllegalStateException exception =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  7. guava/src/com/google/common/util/concurrent/Striped.java

         * for (Lock lock : locks) {
         *   lock.lock();
         * }
         * operation();
         * for (Lock lock : locks) {
         *   lock.unlock();
         * }
         *
         * If we only held the int[] stripes, translating it on the fly to L's, the original locks might
         * be garbage collected after locking them, ending up in a huge mess.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // The elements of `dims` will point to addresses in `storage` which must be
    // large enough to hold at least `storage_size` int64_ts.  Ideally, `num_shapes`
    // would be set to TF_AttrMetadata.list_size and `storage_size` would be set to
    // TF_AttrMetadata.total_size from TF_OperationGetAttrMetadata(oper,
    // attr_name).
    //
    // Fails if storage_size is insufficient to hold the requested shapes.
    TF_CAPI_EXPORT extern void TF_OperationGetAttrShapeList(
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    perhaps he can't help it,' she said to herself; `his eyes are so
    VERY nearly at the top of his head.  But at any rate he might
    answer questions.--How am I to get in?' she repeated, aloud.
    
      `I shall sit here,' the Footman remarked, `till tomorrow--'
    
      At this moment the door of the house opened, and a large plate
    came skimming out, straight at the Footman's head:  it just
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    // Assumes that c.Lock is held by caller.
    func (c *iamCache) buildUserGroupMemberships() {
    	for group, gi := range c.iamGroupsMap {
    		c.updateGroupMembershipsMap(group, &gi)
    	}
    }
    
    // updateGroupMembershipsMap - updates the memberships map for a
    // group. IMPORTANT: Assumes c.Lock() is held by caller.
    func (c *iamCache) updateGroupMembershipsMap(group string, gi *GroupInfo) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top