Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,338 for returns_ (0.17 sec)

  1. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	// volume, false is returned.
    	VolumeExistsWithSpecName(podName volumetypes.UniquePodName, volumeSpecName string) bool
    
    	// VolumeExists returns true if the given volume exists in the list of
    	// attached volumes in the cache, indicating the volume is attached to this
    	// node.
    	VolumeExists(volumeName v1.UniqueVolumeName) bool
    
    	// GetMountedVolumes generates and returns a list of volumes and the pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. android/guava/src/com/google/common/base/Optional.java

       * {@link Optional#absent} is returned.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code
       * Optional.map}, except when {@code function} returns {@code null}. In this case this method
       * throws an exception, whereas the Java 8+ method returns {@code Optional.absent()}.
       *
       * @throws NullPointerException if the function returns {@code null}
       * @since 12.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top