Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,338 for returns_ (0.1 sec)

  1. src/runtime/symtab.go

    	f.frames = f.frameStore[:0]
    	return f
    }
    
    // Next returns a [Frame] representing the next call frame in the slice
    // of PC values. If it has already returned all call frames, Next
    // returns a zero [Frame].
    //
    // The more result indicates whether the next call to Next will return
    // a valid [Frame]. It does not necessarily indicate whether this call
    // returned one.
    //
    // See the [Frames] example for idiomatic usage.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. src/runtime/mpallocbits.go

    type pageBits [pallocChunkPages / 64]uint64
    
    // get returns the value of the i'th bit in the bitmap.
    func (b *pageBits) get(i uint) uint {
    	return uint((b[i/64] >> (i % 64)) & 1)
    }
    
    // block64 returns the 64-bit aligned block of bits containing the i'th bit.
    func (b *pageBits) block64(i uint) uint64 {
    	return b[i/64]
    }
    
    // set sets bit i of pageBits.
    func (b *pageBits) set(i uint) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java

        /**
         * Returns the current instance of EvaluationContext for this thread.
         *
         * @return the evaluation context
         */
        public static EvaluationContext current() {
            return INSTANCE;
        }
    
        private EvaluationContext() {}
    
        /**
         * Adds the owner to the set of "evaluating" objects and returns the context instance to remove it from there upon closing.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

          return success();
      }
    
      return failure();
    }
    
    raw_ostream &operator<<(raw_ostream &os, const ValueConstraint &constraint) {
      auto str = [](ValueConstraint constraint) -> StringRef {
        switch (constraint) {
          case ValueConstraint::kRank:
            return "rank";
          case ValueConstraint::kShape:
            return "shape";
          case ValueConstraint::kValue:
            return "value";
          default:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/etcd/etcd.go

    	}
    	return resp, nil
    }
    
    // GetMemberID returns the member ID of the given peer URL
    func (c *Client) GetMemberID(peerURL string) (uint64, error) {
    	resp, err := c.listMembersFunc(0)
    	if err != nil {
    		return 0, err
    	}
    
    	for _, member := range resp.Members {
    		if member.GetPeerURLs()[0] == peerURL {
    			return member.GetID(), nil
    		}
    	}
    	return 0, ErrNoMemberIDForPeerURL
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
        return result;
      }
    
      /**
       * Returns a new range set consisting of the union of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code TreeRangeSet.create(this).addAll(other)} except it
       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> union(RangeSet<C> other) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func isHangul(b []byte) bool {
    	if len(b) < hangulUTF8Size {
    		return false
    	}
    	b0 := b[0]
    	if b0 < hangulBase0 {
    		return false
    	}
    	b1 := b[1]
    	switch {
    	case b0 == hangulBase0:
    		return b1 >= hangulBase1
    	case b0 < hangulEnd0:
    		return true
    	case b0 > hangulEnd0:
    		return false
    	case b1 < hangulEnd1:
    		return true
    	}
    	return b1 == hangulEnd1 && b[2] < hangulEnd2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybinding.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(validatingAdmissionPolicyBinding.Name)
    
    	b.WithKind("ValidatingAdmissionPolicyBinding")
    	b.WithAPIVersion("admissionregistration.k8s.io/v1")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/apis/core/helper/helpers.go

    // requested, it returns "".
    func GetPersistentVolumeClaimClass(claim *core.PersistentVolumeClaim) string {
    	// Use beta annotation first
    	if class, found := claim.Annotations[core.BetaStorageClassAnnotation]; found {
    		return class
    	}
    
    	if claim.Spec.StorageClassName != nil {
    		return *claim.Spec.StorageClassName
    	}
    
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa.go

    	if k.D.BitLen() > size*8 {
    		return nil, errors.New("ecdsa: invalid private key")
    	}
    	return c.NewPrivateKey(k.D.FillBytes(make([]byte, size)))
    }
    
    func curveToECDH(c elliptic.Curve) ecdh.Curve {
    	switch c {
    	case elliptic.P256():
    		return ecdh.P256()
    	case elliptic.P384():
    		return ecdh.P384()
    	case elliptic.P521():
    		return ecdh.P521()
    	default:
    		return nil
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top