Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for Dtype (0.07 sec)

  1. src/runtime/error.go

    type Error interface {
    	error
    
    	// RuntimeError is a no-op function but
    	// serves to distinguish types that are run time
    	// errors from ordinary errors: a type is a
    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    // A TypeAssertionError explains a failed type assertion.
    type TypeAssertionError struct {
    	_interface    *_type
    	concrete      *_type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/runtime/checkptr.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {
    	// nil pointer is always suitably aligned (#47430).
    	if p == nil {
    		return
    	}
    
    	// Check that (*[n]elem)(p) is appropriately aligned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/runtime/debuglog.go

    		return l
    	}
    	l.w.byte(debugLogPtr)
    	if x == nil {
    		l.w.uvarint(0)
    	} else {
    		v := efaceOf(&x)
    		switch v._type.Kind_ & abi.KindMask {
    		case abi.Chan, abi.Func, abi.Map, abi.Pointer, abi.UnsafePointer:
    			l.w.uvarint(uint64(uintptr(v.data)))
    		default:
    			throw("not a pointer type")
    		}
    	}
    	return l
    }
    
    //go:nosplit
    func (l *dlogger) s(x string) *dlogger {
    	if !dlogEnabled {
    		return l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    		return doesSignatureMatch(sha256sum, r, region, stype)
    	case isRequestPresignedSignatureV4(r):
    		return doesPresignedSignatureMatch(sha256sum, r, region, stype)
    	default:
    		return ErrAccessDenied
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/runtime/mfinal.go

    var allfin *finblock // list of all blocks
    
    // NOTE: Layout known to queuefinalizer.
    type finalizer struct {
    	fn   *funcval       // function to call (may be a heap pointer)
    	arg  unsafe.Pointer // ptr to object (may be a heap pointer)
    	nret uintptr        // bytes of return values from fn
    	fint *_type         // type of first argument of fn
    	ot   *ptrtype       // type of ptr to object (may be a heap pointer)
    }
    
    var finalizer1 = [...]byte{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. cmd/generic-handlers.go

    // guessIsMetricsReq - returns true if incoming request looks
    // like metrics request
    func guessIsMetricsReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    	return (aType == authTypeAnonymous || aType == authTypeJWT) &&
    		req.URL.Path == minioReservedBucketPath+prometheusMetricsPathLegacy ||
    		req.URL.Path == minioReservedBucketPath+prometheusMetricsV2ClusterPath ||
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    type note struct {
    	// Futex-based impl treats it as uint32 key,
    	// while sema-based impl as M* waitm.
    	// Used to be a union, but unions break precise GC.
    	key uintptr
    }
    
    type funcval struct {
    	fn uintptr
    	// variable-size, fn-specific data here
    }
    
    type iface struct {
    	tab  *itab
    	data unsafe.Pointer
    }
    
    type eface struct {
    	_type *_type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		aType := string(a.Type)
    		if aType == "" {
    			allErrs = append(allErrs, field.Required(fldPath.Child("type"), ""))
    			continue
    		}
    		if !knownTypes.Has(aType) {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("type"), aType, knownTypes.List()))
    			continue
    		}
    		if seenAuthorizerTypes.Has(aType) && !repeatableTypes.Has(aType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    				t.Errorf("wrong names result: %v", names)
    			}
    			for i, err := range errs {
    				expErr := tc.errs[i]
    				if err.Type != expErr.etype {
    					t.Errorf("unexpected error type:\n\twant: %q\n\t got: %q", expErr.etype, err.Type)
    				}
    				if !strings.HasSuffix(err.Field, "."+expErr.field) {
    					t.Errorf("unexpected error field:\n\twant: %q\n\t got: %q", expErr.field, err.Field)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  10. src/runtime/slice.go

    }
    
    func panicmakeslicecap() {
    	panic(errorString("makeslice: cap out of range"))
    }
    
    // makeslicecopy allocates a slice of "tolen" elements of type "et",
    // then copies "fromlen" elements of type "et" into that new allocation from "from".
    func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
    	var tomem, copymem uintptr
    	if uintptr(tolen) > uintptr(fromlen) {
    		var overflow bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top