Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 171 for typeOff (0.24 sec)

  1. pkg/volume/csi/csi_block_test.go

    	_, err = csiMapper.SetUpDevice()
    	if err == nil {
    		t.Errorf("test should fail, but no error occurred")
    	} else if reflect.TypeOf(transientError) != reflect.TypeOf(err) {
    		t.Fatalf("expected exitError type: %v got: %v (%v)", reflect.TypeOf(transientError), reflect.TypeOf(err), err)
    	}
    }
    
    func TestBlockMapperMapPodDevice(t *testing.T) {
    	plug, tmpDir := newTestPlugin(t, nil)
    	defer os.RemoveAll(tmpDir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                    else -> false
                }
    
            fun createFor(typeRef: FirResolvedTypeRef): TypeQualifier? {
                if (!typeRef.isPresentInSource) return null
    
                val wholeClassId = typeRef.resolvedClassId ?: return null
                val psi = typeRef.psi as? KtTypeReference ?: return null
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    	}
    	key := key{pkg: pkg, t: reflect.TypeOf(ptr)}
    	s.mu.Lock()
    	defer s.mu.Unlock()
    	if v, ok := s.m[key]; ok {
    		reflect.ValueOf(ptr).Elem().Set(reflect.ValueOf(v).Elem())
    		return true
    	}
    	return false
    }
    
    // ExportPackageFact implements analysis.Pass.ExportPackageFact.
    func (s *Set) ExportPackageFact(fact analysis.Fact) {
    	key := key{pkg: s.pkg, t: reflect.TypeOf(fact)}
    	s.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows_test.go

    			cArgs[i] = fmt.Sprintf("(uint8Pair_t){%d,1}", i)
    		} else {
    			cArgs[i] = fmt.Sprintf("%d", i+1)
    		}
    	}
    	fmt.Fprintf(w, `
    typedef uintptr_t %s (*%s)(%s);
    uintptr_t %s(%s f) {
    	return f(%s);
    }
    	`, attr, typename, strings.Join(cTypes, ","), funcname, typename, strings.Join(cArgs, ","))
    }
    
    func (f cbFunc) testOne(t *testing.T, dll *syscall.DLL, cdecl bool, cb uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                is FirDelegatedConstructorCall -> fir.constructedTypeRef.coneType.asKtType()
                is FirTypeProjectionWithVariance -> {
                    when (val typeRef = fir.typeRef) {
                        is FirResolvedTypeRef -> typeRef.coneType.asKtType()
                        else -> throwUnexpectedFirElementError(fir, ktTypeReference)
                    }
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GenerateVersionCatalogAccessors.kt

            )
        }
    
    
    private
    fun pluginsBlockFactorySourceNameFor(publicType: TypeOf<*>): String =
        "${publicType.simpleName}$IN_PLUGINS_BLOCK_FACTORIES_SUFFIX"
    
    
    private
    fun pluginsBlockFactoryInternalNameFor(publicType: TypeOf<*>): InternalName =
        InternalName.from("${publicType.concreteClass.internalName.value}$IN_PLUGINS_BLOCK_FACTORIES_SUFFIX")
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    				return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form",
    					reflect.TypeOf(condt).String(), condt)
    			}
    		default:
    			return parsedPolicy, fmt.Errorf("Unknown field %s of type %s found in POST policy form",
    				condt, reflect.TypeOf(condt).String())
    		}
    	}
    	return parsedPolicy, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 10:52:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go

    			t.Errorf("expected forbidden field validation errors for: %#v", s)
    		}
    	}
    
    	// check that anything other than name and generateName of ObjectMeta in metadata properties is forbidden
    	tt := reflect.TypeOf(metav1.ObjectMeta{})
    	for i := 0; i < tt.NumField(); i++ {
    		property := tt.Field(i).Name
    		s := &Structural{
    			Generic: Generic{
    				Type: "object",
    			},
    			Properties: map[string]Structural{
    				property: {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. security/pkg/pki/util/crypto_test.go

    		},
    		"Parse RSA key": {
    			pem:     keyRSA,
    			keyType: reflect.TypeOf(&rsa.PrivateKey{}),
    		},
    		"Parse invalid RSA key": {
    			pem:    keyInvalidRSA,
    			errMsg: "failed to parse the RSA private key",
    		},
    		"Parse ECDSA key": {
    			pem:     keyECDSA,
    			keyType: reflect.TypeOf(&ecdsa.PrivateKey{}),
    		},
    		"Parse invalid ECDSA key": {
    			pem:    keyInvalidECDSA,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. operator/cmd/mesh/test-util_test.go

    	pv := m.expected.(PathValue)
    	node := actual.(map[string]any)
    	got, f, err := tpath.GetPathContext(node, util.PathFromString(pv.path), false)
    	if err != nil || !f {
    		return false, err
    	}
    	if reflect.TypeOf(got.Node) != reflect.TypeOf(pv.value) {
    		return false, fmt.Errorf("comparison types don't match: got %v(%T), want %v(%T)", got.Node, got.Node, pv.value, pv.value)
    	}
    	if !reflect.DeepEqual(got.Node, pv.value) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top