Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 395 for typeOf (0.15 sec)

  1. pkg/controlplane/instance_test.go

    	}
    
    	g := 0 // generic index
    	for k := range kube {
    		kt := reflect.TypeOf(kube[k])
    		var gt reflect.Type
    		if g < len(generic) {
    			gt = reflect.TypeOf(generic[g])
    		}
    
    		// special case: we identify full core and generic core
    		if kt.Kind() == reflect.Ptr && kt.Elem().PkgPath() == reflect.TypeOf(corerest.Config{}).PkgPath() {
    			kt = reflect.TypeOf(&corerest.GenericConfig{})
    		}
    
    		if kt == gt {
    			g++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. operator/pkg/manifest/shared.go

    					for key, value := range originMap[subPath].(map[string]any) {
    						if reflect.TypeOf(value).Kind() == reflect.Int {
    							convertedProxyMetadata[key] = strconv.FormatInt(value.(int64), 10)
    						}
    						if reflect.TypeOf(value).Kind() == reflect.Bool {
    							convertedProxyMetadata[key] = strconv.FormatBool(value.(bool))
    						}
    						if reflect.TypeOf(value).Kind() == reflect.Float64 {
    							convertedProxyMetadata[key] = fmt.Sprint(value)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. src/unique/handle_test.go

    	"runtime"
    	"testing"
    )
    
    // Set up special types. Because the internal maps are sharded by type,
    // this will ensure that we're not overlapping with other tests.
    type testString string
    type testIntArray [4]int
    type testEface any
    type testStringArray [3]string
    type testStringStruct struct {
    	a string
    }
    type testStringStructArrayStruct struct {
    	s [2]testStringStruct
    }
    type testStruct struct {
    	z float64
    	b string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/custom-docs-ui-assets.md

     * -------------------------------------------------------------
     *   Version: "2.0.0-rc.18"
     *   Repo: https://github.com/Redocly/redoc
     */
    !function(e,t){"object"==typeof exports&&"object"==typeof m
    
    ...
    ```
    
    That confirms that you are being able to serve static files from your app, and that you placed the static files for the docs in the correct place.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/helpers_test.go

    //lint:file-ignore U1000 Ignore dummy types, used by tests.
    
    // dummy helper types
    type foo struct {
    	foo int
    }
    type bar struct {
    	str    string
    	strptr *string
    
    	ints      []int
    	stringMap map[string]string
    
    	foo    foo
    	fooptr *foo
    
    	bars   []foo
    	barMap map[string]foo
    
    	skipRecurseStruct  foo
    	skipRecursePointer *foo
    	skipRecurseList1   []foo
    	skipRecurseList2   []foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyHandlerTest.groovy

    import org.gradle.api.internal.artifacts.query.ArtifactResolutionQueryFactory
    import org.gradle.api.internal.artifacts.type.ArtifactTypeRegistry
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.api.plugins.ExtensionContainer
    import org.gradle.api.reflect.TypeOf
    import org.gradle.util.AttributeTestUtil
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    import java.util.concurrent.Callable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 10:37:21 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. src/encoding/gob/type.go

    	ut, err := validUserType(rt)
    	if err != nil {
    		error_(err)
    	}
    	return ut
    }
    
    // A typeId represents a gob Type as an integer that can be passed on the wire.
    // Internally, typeIds are used as keys to a map to recover the underlying type info.
    type typeId int32
    
    var typeLock sync.Mutex // set while building a type
    const firstUserId = 64  // lowest id number granted to user
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. docs/de/docs/how-to/custom-docs-ui-assets.md

     * -------------------------------------------------------------
     *   Version: "2.0.0-rc.18"
     *   Repo: https://github.com/Redocly/redoc
     */
    !function(e,t){"object"==typeof exports&&"object"==typeof m
    
    ...
    ```
    
    Das zeigt, dass Sie statische Dateien aus Ihrer Anwendung bereitstellen können und dass Sie die statischen Dateien für die Dokumentation an der richtigen Stelle platziert haben.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/encoding/binary/binary.go

    		size := sizeof(t)
    		structSize.Store(t, size)
    		return size
    
    	default:
    		if v.IsValid() {
    			return sizeof(v.Type())
    		}
    	}
    
    	return -1
    }
    
    // sizeof returns the size >= 0 of variables for the given type or -1 if the type is not acceptable.
    func sizeof(t reflect.Type) int {
    	switch t.Kind() {
    	case reflect.Array:
    		if s := sizeof(t.Elem()); s >= 0 {
    			return s * t.Len()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. 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)
Back to top