Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,246 for returns_ (0.17 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

          checkElementIndex(index, size()); // for GWT
          return sequence.charAt(index);
        }
    
        @Override
        public int size() {
          return sequence.length();
        }
      }
    
      /**
       * Returns a reversed view of the specified list. For example, {@code
       * Lists.reverse(Arrays.asList(1, 2, 3))} returns a list containing {@code 3, 2, 1}. The returned
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Predicates.java

       */
      public static <T extends @Nullable Object> Predicate<T> in(Collection<? extends T> target) {
        return new InPredicate<>(target);
      }
    
      /**
       * Returns the composition of a function and a predicate. For every {@code x}, the generated
       * predicate returns {@code predicate(function(x))}.
       *
       * @return the composition of the provided function and predicate
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/authz.go

    //
    // Examples:
    //
    //	authorizer.group('apps') // returns a GroupCheck for the 'apps' API group
    //	authorizer.group('') // returns a GroupCheck for the core API group
    //	authorizer.group('example.com') // returns a GroupCheck for the custom resources in the 'example.com' API group
    //
    // serviceAccount
    //
    // Returns an Authorizer configured to check authorization for the provided service account namespace and name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/helper/helpers.go

    		return true
    	}
    	return strings.HasPrefix(string(medium), string(v1.StorageMediumHugePagesPrefix))
    }
    
    // HugePageSizeFromMedium returns the page size for the specified huge page medium.
    // If the specified input is not a valid huge page medium an error is returned.
    func HugePageSizeFromMedium(medium v1.StorageMedium) (resource.Quantity, error) {
    	if !IsHugePageMedium(medium) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/mvs/mvs.go

    // the MVS algorithms parallelize the traversal to overlap network delays.
    type Reqs interface {
    	// Required returns the module versions explicitly required by m itself.
    	// The caller must not modify the returned list.
    	Required(m module.Version) ([]module.Version, error)
    
    	// Max returns the maximum of v1 and v2 (it returns either v1 or v2)
    	// in the module with path p.
    	//
    	// For all versions v, Max(v, "none") must be v,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

            sb.append(o);
          }
        }
        return sb.append(']').toString();
      }
    
      /** Returns best-effort-sized StringBuilder based on the given collection size. */
      static StringBuilder newStringBuilderForCollection(int size) {
        checkNonnegative(size, "size");
        return new StringBuilder((int) Math.min(size * 8L, Ints.MAX_POWER_OF_TWO));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    		return nil, errExpectFieldItems
    	}
    	switch items.Kind() {
    	case reflect.Interface, reflect.Pointer:
    		target := reflect.TypeOf(items.Interface()).Elem()
    		if target.Kind() != reflect.Slice {
    			return nil, errExpectSliceItems
    		}
    		return items.Interface(), nil
    	case reflect.Slice:
    		return items.Addr().Interface(), nil
    	default:
    		return nil, errExpectSliceItems
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/IntMath.java

          case 0:
            return (k == 0) ? 1 : 0;
          case 1:
            return 1;
          case (-1):
            return ((k & 1) == 0) ? 1 : -1;
          case 2:
            if (k >= Integer.SIZE - 1) {
              return Integer.MAX_VALUE;
            }
            return 1 << k;
          case (-2):
            if (k >= Integer.SIZE) {
              return Integer.MAX_VALUE + (k & 1);
            }
            return ((k & 1) == 0) ? 1 << k : -1 << k;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. src/unsafe/unsafe.go

    // SliceData returns a pointer to the underlying array of the argument
    // slice.
    //   - If cap(slice) > 0, SliceData returns &slice[:1][0].
    //   - If slice == nil, SliceData returns nil.
    //   - Otherwise, SliceData returns a non-nil pointer to an
    //     unspecified memory address.
    func SliceData(slice []ArbitraryType) *ArbitraryType
    
    // String returns a string value whose underlying bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     return DEFAULT_VALUE;
       *   }
       * </pre>
       *
       * @param target the object to proxy
       * @param interfaceType the interface you wish the returned proxy to implement
       * @param timeout the maximum length of time that callers are willing to wait on each method call
       *     to the proxy
       * @return a time-limiting proxy
       * @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top