Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 301 for typeOf (0.23 sec)

  1. misc/wasm/wasm_exec.js

    					return f;
    				}
    
    				const id = this.mem.getUint32(addr, true);
    				return this._values[id];
    			}
    
    			const storeValue = (addr, v) => {
    				const nanHead = 0x7FF80000;
    
    				if (typeof v === "number" && v !== 0) {
    					if (isNaN(v)) {
    						this.mem.setUint32(addr + 4, nanHead, true);
    						this.mem.setUint32(addr, 0, true);
    						return;
    					}
    					this.mem.setFloat64(addr, v, true);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/html/template/js.go

    		return true
    	}
    	return false
    }
    
    // isJSType reports whether the given MIME type should be considered JavaScript.
    //
    // It is used to determine whether a script tag with a type attribute is a javascript container.
    func isJSType(mimeType string) bool {
    	// per
    	//   https://www.w3.org/TR/html5/scripting-1.html#attr-script-type
    	//   https://tools.ietf.org/html/rfc7231#section-3.1.1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/config/common.go

    	var mutator *migrateMutator
    	for idx, m := range mutators {
    		if len(m.in) != len(in) {
    			continue
    		}
    		inputMatch := true
    		for idx := range m.in {
    			if reflect.TypeOf(m.in[idx]) != reflect.TypeOf(in[idx]) {
    				inputMatch = false
    				break
    			}
    		}
    		if inputMatch {
    			mutator = &mutators[idx]
    			break
    		}
    	}
    	if mutator == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. src/context/context.go

    //
    // The provided key must be comparable and should not be of type
    // string or any other built-in type to avoid collisions between
    // packages using context. Users of WithValue should define their own
    // types for keys. To avoid allocating when assigning to an
    // interface{}, context keys often have concrete type
    // struct{}. Alternatively, exported context key variables' static
    // type should be a pointer or interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  5. helm/minio/templates/statefulset.yaml

              securityContext:
                readOnlyRootFilesystem: {{ .Values.securityContext.readOnlyRootFilesystem | default false }}
              {{- end }}
            {{- with .Values.extraContainers }}
              {{- if eq (typeOf .) "string" }}
                {{- tpl . $ | nindent 8 }}
              {{- else }}
                {{- toYaml . | nindent 8 }}
              {{- end }}
            {{- end }}
          {{- with .Values.nodeSelector }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/v2beta2/defaults_test.go

    			stabilizationSeconds:         utilpointer.Int32(25),
    			selectPolicy:                 &maxPolicy,
    			expectedPolicies: []autoscalingv2.HPAScalingPolicy{
    				{Type: autoscalingv2.PodsScalingPolicy, Value: 1, PeriodSeconds: 2},
    				{Type: autoscalingv2.PercentScalingPolicy, Value: 3, PeriodSeconds: 4},
    			},
    			expectedStabilization: utilpointer.Int32(25),
    			expectedSelectPolicy:  string(autoscalingv2.MaxPolicySelect),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. src/internal/abi/type.go

    	// versions of types with GC programs.
    	// These types need to be deallocated when the underlying object
    	// is freed.
    	TFlagUnrolledBitmap TFlag = 1 << 4
    )
    
    // NameOff is the offset to a name from moduledata.types.  See resolveNameOff in runtime.
    type NameOff int32
    
    // TypeOff is the offset to a type from moduledata.types.  See resolveTypeOff in runtime.
    type TypeOff int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. src/runtime/arena_test.go

    	"testing"
    	"time"
    	"unsafe"
    )
    
    type smallScalar struct {
    	X uintptr
    }
    type smallPointer struct {
    	X *smallPointer
    }
    type smallPointerMix struct {
    	A *smallPointer
    	B byte
    	C *smallPointer
    	D [11]byte
    }
    type mediumScalarEven [8192]byte
    type mediumScalarOdd [3321]byte
    type mediumPointerEven [1024]*smallPointer
    type mediumPointerOdd [1023]*smallPointer
    
    type largeScalar [UserArenaChunkBytes + 1]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/api.go

    func (info *Info) recordTypes() bool {
    	return info.Types != nil || info.StoreTypesInSyntax
    }
    
    // TypeOf returns the type of expression e, or nil if not found.
    // Precondition 1: the Types map is populated or StoreTypesInSyntax is set.
    // Precondition 2: Uses and Defs maps are populated.
    func (info *Info) TypeOf(e syntax.Expr) Type {
    	if info.Types != nil {
    		if t, ok := info.Types[e]; ok {
    			return t.Type
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. src/fmt/print.go

    	}
    
    	// Special processing considerations.
    	// %T (the value's type) and %p (its address) are special; we always do them first.
    	switch verb {
    	case 'T':
    		p.fmt.fmtS(reflect.TypeOf(arg).String())
    		return
    	case 'p':
    		p.fmtPointer(reflect.ValueOf(arg), 'p')
    		return
    	}
    
    	// Some types can be done without reflection.
    	switch f := arg.(type) {
    	case bool:
    		p.fmtBool(f, verb)
    	case float32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
Back to top