Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for typeOf (0.14 sec)

  1. pkg/volume/csi/csi_attacher_test.go

    					if err != nil {
    						t.Errorf("failed to modify permissions after test: %v", err)
    					}
    				}
    				if tc.exitError != nil && reflect.TypeOf(tc.exitError) != reflect.TypeOf(err) {
    					t.Fatalf("expected exitError type: %v got: %v (%v)", reflect.TypeOf(tc.exitError), reflect.TypeOf(err), err)
    				}
    				return
    			}
    			if tc.shouldFail {
    				t.Errorf("test should fail, but no error occurred")
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.lang.reflect.WildcardType;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Callable;
    
    import static org.gradle.api.reflect.TypeOf.typeOf;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  3. src/html/template/exec_test.go

    	// Ideal constants.
    	{"ideal int", "{{typeOf 3}}", "int", 0, true},
    	{"ideal float", "{{typeOf 1.0}}", "float64", 0, true},
    	{"ideal exp float", "{{typeOf 1e1}}", "float64", 0, true},
    	{"ideal complex", "{{typeOf 1i}}", "complex128", 0, true},
    	{"ideal int", "{{typeOf " + bigInt + "}}", "int", 0, true},
    	{"ideal too big", "{{typeOf " + bigUint + "}}", "", 0, false},
    	{"ideal nil without type", "{{nil}}", "", 0, false},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    	// Ideal constants.
    	{"ideal int", "{{typeOf 3}}", "int", 0, true},
    	{"ideal float", "{{typeOf 1.0}}", "float64", 0, true},
    	{"ideal exp float", "{{typeOf 1e1}}", "float64", 0, true},
    	{"ideal complex", "{{typeOf 1i}}", "complex128", 0, true},
    	{"ideal int", "{{typeOf " + bigInt + "}}", "int", 0, true},
    	{"ideal too big", "{{typeOf " + bigUint + "}}", "", 0, false},
    	{"ideal nil without type", "{{nil}}", "", 0, false},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/adminlte.min.js.map

    $.extend({}, Default, $(this).data())\n\n      if (!data) {\n        data = new CardWidget($(this), _options)\n        $(this).data(DATA_KEY, typeof config === 'string' ? data: config)\n      }\n\n      if (typeof config === 'string' && config.match(/collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/)) {\n        data[config]()\n      } else if (typeof config === 'object') {\n        data._init($(this))\n      }\n    }\n  }\n\n  /**\n   * Data API\n   * ==================================...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Wed Feb 12 07:55:41 UTC 2020
    - 77K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    		return obj, true
    	} else if typedV, ok := obj.(map[string]interface{}); ok {
    		if _, hasDirective := typedV[directiveMarker]; hasDirective {
    			return nil, false
    		}
    
    		for k, v := range typedV {
    			var keep bool
    			typedV[k], keep = removeDirectives(v)
    			if !keep {
    				delete(typedV, k)
    			}
    		}
    		return typedV, true
    	} else if typedV, ok := obj.([]interface{}); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  7. src/html/template/escape_test.go

    			`<button onclick='alert( true )'>`,
    		},
    		{
    			"jsNilValueTyped",
    			"<button onclick='alert(typeof{{.Z}})'>",
    			`<button onclick='alert(typeof null )'>`,
    		},
    		{
    			"jsNilValueUntyped",
    			"<button onclick='alert(typeof{{.U}})'>",
    			`<button onclick='alert(typeof null )'>`,
    		},
    		{
    			"jsObjValue",
    			"<button onclick='alert({{.A}})'>",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/runtime/framework.go

    func getScoreWeights(f *frameworkImpl, plugins []config.Plugin) error {
    	var totalPriority int64
    	scorePlugins := reflect.ValueOf(&f.scorePlugins).Elem()
    	pluginType := scorePlugins.Type().Elem()
    	for _, e := range plugins {
    		pg := f.pluginsMap[e.Name]
    		if !reflect.TypeOf(pg).Implements(pluginType) {
    			continue
    		}
    
    		// We append MultiPoint plugins to the list of Score plugins. So if this plugin has already been
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 interface{}) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
    // Example usage:
    //
    //	s := StartTestServer(t,"Erasure")
    //	defer s.Stop()
    type TestServer struct {
    	Root         string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit-icons.min.js

    /*! UIkit 3.3.2 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 62.5K bytes
    - Viewed (0)
Back to top