Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for returns_ (0.11 sec)

  1. src/go/types/context.go

    		// TODO(rfindley): consider asserting on isGeneric(typ) here, if and when
    		// isGeneric handles *Signature types.
    		h.typeList(targs)
    	}
    
    	return strings.ReplaceAll(buf.String(), " ", "#")
    }
    
    // lookup returns an existing instantiation of orig with targs, if it exists.
    // Otherwise, it returns nil.
    func (ctxt *Context) lookup(h string, orig Type, targs []Type) Type {
    	ctxt.mu.Lock()
    	defer ctxt.mu.Unlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/text/internal/tag/tag.go

    		return x
    	}
    	return -1
    }
    
    // cmp returns an integer comparing a and b lexicographically.
    func cmp(a Index, b []byte) int {
    	n := len(a)
    	if len(b) < n {
    		n = len(b)
    	}
    	for i, c := range b[:n] {
    		switch {
    		case a[i] > c:
    			return 1
    		case a[i] < c:
    			return -1
    		}
    	}
    	switch {
    	case len(a) < len(b):
    		return -1
    	case len(a) > len(b):
    		return 1
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.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. src/strconv/itoa.go

    	if fastSmalls && 0 <= i && i < nSmalls && base == 10 {
    		return small(int(i))
    	}
    	_, s := formatBits(nil, uint64(i), base, i < 0, false)
    	return s
    }
    
    // Itoa is equivalent to [FormatInt](int64(i), 10).
    func Itoa(i int) string {
    	return FormatInt(int64(i), 10)
    }
    
    // AppendInt appends the string form of the integer i,
    // as generated by [FormatInt], to dst and returns the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go

    }
    
    func (u *UpgradeFailureError) Error() string {
    	return fmt.Sprintf("unable to upgrade streaming request: %s", u.Cause)
    }
    
    // IsUpgradeFailure returns true if the passed error is (or wrapped error contains)
    // the UpgradeFailureError.
    func IsUpgradeFailure(err error) bool {
    	if err == nil {
    		return false
    	}
    	var upgradeErr *UpgradeFailureError
    	return errors.As(err, &upgradeErr)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/isolation/Isolatable.java

     */
    public interface Isolatable<T> extends Hashable {
        /**
         * Returns this value as a {@link ValueSnapshot}. The returned value should not hold any references to user ClassLoaders.
         */
        ValueSnapshot asSnapshot();
    
        /**
         * Returns an instance of T that is isolated from the original object and all other instances.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. 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)
Back to top