Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 763 for typeOff (0.47 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h.pump

    namespace gtest_internal {
    
    // ByRef<T>::type is T if T is a reference; otherwise it's const T&.
    template <typename T>
    struct ByRef { typedef const T& type; };  // NOLINT
    template <typename T>
    struct ByRef<T&> { typedef T& type; };  // NOLINT
    
    // A handy wrapper for ByRef.
    #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. test/fixedbugs/issue32595.dir/b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import "reflect"
    
    func B() {
    	t1 := reflect.TypeOf([0]byte{})
    	t2 := reflect.TypeOf(new([0]byte)).Elem()
    	if t1 != t2 {
    		panic("[0]byte types do not match")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 25 21:30:39 UTC 2019
    - 334 bytes
    - Viewed (0)
  3. security/pkg/pki/util/generate_csr_test.go

    				t.Errorf("%s: Only ECDSA signature algorithms are currently supported", id)
    			}
    			if reflect.TypeOf(csr.PublicKey) != reflect.TypeOf(&ecdsa.PublicKey{}) {
    				t.Errorf("%s: decoded PKCS#8 returned unexpected key type: %T", id, csr.PublicKey)
    			}
    		} else if reflect.TypeOf(csr.PublicKey) != reflect.TypeOf(&rsa.PublicKey{}) {
    			t.Errorf("%s: decoded PKCS#8 returned unexpected key type: %T", id, csr.PublicKey)
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 09:40:13 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt

                is DocumentResolution.UnsuccessfulResolution -> "(${resolution.reasons.joinToString()})"
            }
    
        private
        fun typeString(typeRef: DataTypeRef) = when (typeRef) {
            is DataTypeRef.Type -> typeRef.dataType.toString()
            is DataTypeRef.Name -> typeRef.fqName.simpleName
        }
    
        private
        fun functionSignatureString(function: SchemaFunction) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/mergepatch/errors.go

    	return fmt.Errorf("expected a %s, but received a %s",
    		reflect.TypeOf(expected),
    		reflect.TypeOf(actual))
    }
    
    func ErrBadArgKind(expected, actual interface{}) error {
    	var expectedKindString, actualKindString string
    	if expected == nil {
    		expectedKindString = "nil"
    	} else {
    		expectedKindString = reflect.TypeOf(expected).Kind().String()
    	}
    	if actual == nil {
    		actualKindString = "nil"
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 13:12:11 UTC 2017
    - 3.1K bytes
    - Viewed (0)
  6. pkg/kubelet/container/testing/mockdirentry.go

    	return ret0, ret1
    }
    
    // Info indicates an expected call of Info.
    func (mr *MockDirEntryMockRecorder) Info() *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Info", reflect.TypeOf((*MockDirEntry)(nil).Info))
    }
    
    // IsDir mocks base method.
    func (m *MockDirEntry) IsDir() bool {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "IsDir")
    	ret0, _ := ret[0].(bool)
    	return ret0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields_test.go

    	}
    	outer := &Outer{}
    	elemType, patchStrategies, patchMergeKey, err := LookupPatchMetadataForStruct(reflect.TypeOf(outer), "inner")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if elemType != reflect.TypeOf([]Elem{}) {
    		t.Errorf("elemType = %v, want: %v", elemType, reflect.TypeOf([]Elem{}))
    	}
    	if !reflect.DeepEqual(patchStrategies, []string{"merge"}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 22:35:14 UTC 2017
    - 769 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9026/issue9026.go

    package issue9026
    
    // This file appears in its own package since the assertion tests the
    // per-package counter used to create fresh identifiers.
    
    /*
    typedef struct { int i; } git_merge_file_input;
    
    typedef struct { int j; } git_merge_file_options;
    
    void git_merge_file(
            git_merge_file_input *in,
            git_merge_file_options *opts) {}
    */
    import "C"
    import (
    	"fmt"
    	"testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. pkg/ctrlz/assets/static/js/bootstrap-4.0.0.min.js

    this._element).trigger(I)),C&&this.cycle()}},o._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(n),s=r({},a,t(this).data());"object"==typeof e&&(s=r({},s,e));var l="string"==typeof e?e:s.slide;if(i||(i=new o(this,s),t(this).data(n,i)),"number"==typeof e)i.to(e);else if("string"==typeof l){if("undefined"==typeof i[l])throw new TypeError('No method named "'+l+'"');i[l]()}else s.interval&&(i.pause(),i.cycle())})},o._dataApiClickHandler=function(e){var i=P.getSelectorFromE...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 47.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/management/DefaultVersionCatalogBuilderContainer.java

    import org.gradle.api.model.ObjectFactory;
    import org.gradle.api.reflect.TypeOf;
    import org.gradle.internal.code.UserCodeApplicationContext;
    import org.gradle.internal.reflect.Instantiator;
    
    import javax.inject.Inject;
    import java.util.function.Supplier;
    import java.util.regex.Pattern;
    
    import static org.gradle.api.reflect.TypeOf.typeOf;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 13:02:33 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top