Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 987 for typeOf (0.29 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		// Error on map keys that don't map to a field in the destination struct.
    		ExtraReturnErrors: cbor.ExtraDecErrorUnknownField,
    
    		// Decode maps into concrete type map[string]interface{} when the destination is an
    		// interface{}.
    		DefaultMapType: reflect.TypeOf(map[string]interface{}(nil)),
    
    		// A CBOR text string whose content is not a valid UTF-8 sequence is well-formed but
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/main/webapp/js/advance.js

      $("#searchForm").on("submit", function(e) {
        $searchButton.attr("disabled", true);
        setTimeout(function() {
          $searchButton.attr("disabled", false);
        }, 3000);
        return true;
      });
    
      if (typeof $.fn.suggestor === "function") {
        $("#as_q").suggestor({
          ajaxinfo: {
            url: contextPath + "/api/v1/suggest-words",
            fn: ["_default", "content", "title"],
            num: 10,
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/sizeof_test.go

    	var tests = []struct {
    		val    interface{} // type as a value
    		_32bit uintptr     // size on 32bit platforms
    		_64bit uintptr     // size on 64bit platforms
    	}{
    		{Addr{}, 32, 48},
    		{LSym{}, 72, 120},
    		{Prog{}, 132, 200},
    	}
    
    	for _, tt := range tests {
    		want := tt._32bit
    		if _64bit {
    			want = tt._64bit
    		}
    		got := reflect.TypeOf(tt.val).Size()
    		if want != got {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 13 23:38:08 UTC 2020
    - 824 bytes
    - Viewed (0)
  4. test/fixedbugs/issue16331.go

    // Perform tracebackdefers with a deferred reflection method.
    
    package main
    
    import "reflect"
    
    type T struct{}
    
    func (T) M() {
    }
    
    func F(args []reflect.Value) (results []reflect.Value) {
    	return nil
    }
    
    func main() {
    	done := make(chan bool)
    	go func() {
    		// Test reflect.makeFuncStub.
    		t := reflect.TypeOf((func())(nil))
    		f := reflect.MakeFunc(t, F).Interface().(func())
    		defer f()
    		growstack(10000)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 17 18:57:01 UTC 2016
    - 839 bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

                ?: RuntimeFunctionResolver.Resolution.Unresolved
        }
    
        /**
         * Gradle decoration does not generate correct Kotlin metadata for decorated Kotlin types.
         * Because of that, decorated types do not appear as subtypes of the original types when inspected with Kotlin reflection.
         * Workaround: use Java reflection to determine the supertypes.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/initialization/ProjectPropertySettingBuildLoader.java

                if (isPossibleProperty(name)) {
                    assert project.getClass() == projectClass;
                    PropertyMutator propertyMutator = propertyMutatorFor(name, typeOf(value));
                    if (propertyMutator != null) {
                        propertyMutator.setValue(project, value);
                    } else {
                        setExtraPropertyOf(project, name, value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go

    func (v *ObjectVal) ConvertToType(typeValue ref.Type) ref.Val {
    	switch typeValue {
    	case v.typeRef:
    		return v
    	case types.TypeType:
    		return v.typeRef.CELType()
    	}
    	return types.NewErr("unsupported conversion into %v", typeValue)
    }
    
    // Equal returns true if the `other` value has the same type and content as the implementing struct.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 21:55:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue27695c.go

    	// That return slot starts out holding a bad pointer.
    	return d(io.EOF)
    }
    
    //go:noinline
    func g(x, y, z, w uintptr) {
    }
    
    type T struct {
    }
    
    func (t *T) Foo(e error) error {
    	runtime.GC()
    	return e
    }
    
    func main() {
    	// Functions
    	d := reflect.MakeFunc(reflect.TypeOf(func(e error) error { return e }),
    		func(args []reflect.Value) []reflect.Value {
    			runtime.GC()
    			return args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 13 22:52:09 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    m,l=0;m=h[l++];)m(g)}}},d=c.Token=function(f,g,h,l,m){this.type=f,this.content=g,this.alias=h,this.length=0|(l||'').length,this.greedy=!!m};if(d.stringify=function(f,g,h){if('string'==typeof f)return f;if('Array'===c.util.type(f))return f.map(function(q){return d.stringify(q,g,f)}).join('');var l={type:f.type,content:d.stringify(f.content,g,h),tag:'span',classes:['token',f.type],attributes:{},language:g,parent:h};if(f.alias){var m='Array'===c.util.type(f.alias)?f.alias:[f.alias];Array.prototype.push.app...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    var V int = 1
    
    var HasMask []string = []string{"hi"}
    
    type HasProg struct {
    	array [1024]*byte
    }
    
    type Dep struct {
    	X int
    }
    
    func (d *Dep) Method() int {
    	// This code below causes various go.itab.* symbols to be generated in
    	// the shared library. Similar code in ../exe/exe.go results in
    	// exercising https://golang.org/issues/17594
    	reflect.TypeOf(os.Stdout).Elem()
    	return 10
    }
    
    func F() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top