Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 987 for typeOf (0.13 sec)

  1. test/fixedbugs/issue15439.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "reflect"
    
    func main() {
    	a := &struct{ x int }{}
    	b := &struct{ x int "" }{}
    
    	ta := reflect.TypeOf(a)
    	tb := reflect.TypeOf(b)
    
    	// Ensure cmd/compile treats absent and empty tags as equivalent.
    	a = b
    
    	// Ensure package reflect treats absent and empty tags as equivalent.
    	if !tb.AssignableTo(ta) {
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 21:28:45 UTC 2016
    - 514 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/testdata/issue18584/plugin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "reflect"
    
    type C struct {
    }
    
    func F(c *C) *C {
    	return nil
    }
    
    func G() bool {
    	var c *C
    	return reflect.TypeOf(F).Out(0) == reflect.TypeOf(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 326 bytes
    - Viewed (0)
  3. operator/pkg/util/reflect.go

    }
    
    // IsTypeSlicePtr reports whether v is a slice ptr type.
    func IsTypeSlicePtr(t reflect.Type) bool {
    	if t == reflect.TypeOf(nil) {
    		return false
    	}
    	return t.Kind() == reflect.Ptr && t.Elem().Kind() == reflect.Slice
    }
    
    // IsTypeMap reports whether v is a map type.
    func IsTypeMap(t reflect.Type) bool {
    	if t == reflect.TypeOf(nil) {
    		return false
    	}
    	return t.Kind() == reflect.Map
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  4. src/main/webapp/js/bootstrap.min.js

    ._element).trigger(u);h&&this.cycle()}},r._jQueryInterface=function(i){return this.each(function(){var t=g(this).data(x),e=l({},q,{},g(this).data());"object"==typeof i&&(e=l({},e,{},i));var n="string"==typeof i?i:e.slide;if(t||(t=new r(this,e),g(this).data(x,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},r._dataApiClickHandler=function(t){var e=_.getSele...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
  5. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/internal/DefaultEarPluginConvention.java

    import org.gradle.api.reflect.TypeOf;
    import org.gradle.internal.deprecation.DeprecationLogger;
    import org.gradle.plugins.ear.descriptor.DeploymentDescriptor;
    import org.gradle.plugins.ear.descriptor.internal.DefaultDeploymentDescriptor;
    import org.gradle.util.internal.ConfigureUtil;
    
    import javax.inject.Inject;
    import java.io.File;
    
    import static org.gradle.api.reflect.TypeOf.typeOf;
    
    @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. test/fixedbugs/gcc65755.go

    // PR65755: Incorrect type descriptor for type defined within method.
    
    package main
    
    import "reflect"
    
    type S1 struct{}
    
    func (S1) Fix() string {
    	type s struct {
    		f int
    	}
    	return reflect.TypeOf(s{}).Field(0).Name
    }
    
    type S2 struct{}
    
    func (S2) Fix() string {
    	type s struct {
    		g bool
    	}
    	return reflect.TypeOf(s{}).Field(0).Name
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 605 bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/jquery-3.6.3.min.js

    function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){E.event.remove(this,e,n,t)})}});var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 87.8K bytes
    - Viewed (0)
  8. pkg/ctrlz/assets/static/js/jquery-3.2.1.slim.min.js

    null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 68K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/SettingsExtensionsSchemaTest.kt

                        on { elements }.thenReturn(listOf<ExtensionSchema>(object : ExtensionSchema {
                            override fun getName(): String = "myExtension"
                            override fun getPublicType(): TypeOf<*> = TypeOf.typeOf(MyExtension::class.java)
                        }))
                    }
                    mock<ExtensionContainer> {
                        on { extensionsSchema }.thenReturn(extensionsSchemaMock)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 09:57:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/bootstrap.min.js

    ._element).trigger(u);h&&this.cycle()}},r._jQueryInterface=function(i){return this.each(function(){var t=g(this).data(x),e=l({},q,{},g(this).data());"object"==typeof i&&(e=l({},e,{},i));var n="string"==typeof i?i:e.slide;if(t||(t=new r(this,e),g(this).data(x,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},r._dataApiClickHandler=function(t){var e=_.getSele...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
Back to top