Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for Expand (0.15 sec)

  1. internal/event/name.go

    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    	switch name {
    
    	case ObjectAccessedAll:
    		return []Name{
    			ObjectAccessedGet, ObjectAccessedHead,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    				}
    				for _, exp := range patterns.Expand() {
    					for _, ep := range exp {
    						if err := endpointsList.add(ep); err != nil {
    							return layout, err
    						}
    					}
    				}
    			case ellipses.HasEllipses(arg):
    				patterns, err := ellipses.FindEllipsesPatterns(arg)
    				if err != nil {
    					return layout, err
    				}
    				for _, exp := range patterns.Expand() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheTesting.java

      /**
       * Forces the segment containing the given {@code key} to expand (see {@link Segment#expand()}).
       */
      static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) {
        checkNotNull(cache);
        checkNotNull(key);
        LocalCache<K, V> map = toLocalCache(cache);
        int hash = map.hash(key);
        Segment<K, V> segment = map.segmentFor(hash);
        segment.expand();
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheTesting.java

      /**
       * Forces the segment containing the given {@code key} to expand (see {@link Segment#expand()}).
       */
      static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) {
        checkNotNull(cache);
        checkNotNull(key);
        LocalCache<K, V> map = toLocalCache(cache);
        int hash = map.hash(key);
        Segment<K, V> segment = map.segmentFor(hash);
        segment.expand();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, true));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
      }
    
      public void testSegmentPut_expand() {
        MapMakerInternalMap<Object, Object, ?, ?> map =
            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, true));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
      }
    
      public void testSegmentPut_expand() {
        MapMakerInternalMap<Object, Object, ?, ?> map =
            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          new HashMap<>();
    
      /**
       * Given a set of features, add to it all the features directly or indirectly implied by any of
       * them, and return it.
       *
       * @param features the set of features to expand
       * @return the same set of features, expanded with all implied features
       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          new HashMap<>();
    
      /**
       * Given a set of features, add to it all the features directly or indirectly implied by any of
       * them, and return it.
       *
       * @param features the set of features to expand
       * @return the same set of features, expanded with all implied features
       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
            else if (!collide) collide = true;
            else if (busy == 0 && casBusy()) {
              try {
                if (cells == as) { // Expand table unless stale
                  Cell[] rs = new Cell[n << 1];
                  for (int i = 0; i < n; ++i) rs[i] = as[i];
                  cells = rs;
                }
              } finally {
                busy = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            if (type !is ConeClassLikeType) return null
    
            val hasStableName = type.classId?.isLocal == true
            if (!hasStableName) {
                // Make sure we're not going to expand type argument over and over again.
                // If so, i.e., if there is a recursive type argument, return the current, non-null [type]
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top