Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 252 for typeOff (0.17 sec)

  1. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    i.content.files)){if(!i.content.files.every(t=>typeof t=="string"?!0:!(typeof t?.raw!="string"||t?.extension&&typeof t?.extension!="string")))return!1;if(typeof i.content.extract=="object"){for(let t of Object.values(i.content.extract))if(typeof t!="function")return!1}else if(!(i.content.extract===void 0||typeof i.content.extract=="function"))return!1;if(typeof i.content.transform=="object"){for(let t of Object.values(i.content.transform))if(typeof t!="function")return!1}else if(!(i.content.transform===void...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val_test.go

    				// we will need to filter out optional.none() before this conversion.
    				"absent": nil,
    			},
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			v := &ObjectVal{
    				typeRef: nil, // safe in this test, otherwise put a mock
    				fields:  tc.fields,
    			}
    			converted := v.Value()
    			if !reflect.DeepEqual(tc.expected, converted) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. test/fixedbugs/issue65957.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"./a"
    	"reflect"
    )
    
    var s = []rune{0, 1, 2, 3}
    
    func main() {
    	m := map[any]int{}
    	k := reflect.New(reflect.ArrayOf(4, reflect.TypeOf(int32(0)))).Elem().Interface()
    	m[k] = 1
    	a.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 05:32:14 UTC 2024
    - 368 bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/ConfigureLambdaHandler.kt

    import kotlin.reflect.KVariance
    import kotlin.reflect.full.createType
    import kotlin.reflect.full.declaredMemberFunctions
    import kotlin.reflect.full.instanceParameter
    import kotlin.reflect.full.isSubtypeOf
    import kotlin.reflect.typeOf
    
    
    interface ConfigureLambdaHandler {
        fun getTypeConfiguredByLambda(type: KType): KType?
        fun isConfigureLambdaForType(configuredType: KType, maybeLambdaType: KType): Boolean
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/c/tf_tensor.h

    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Allocator Attributes used for tensor allocation.
    typedef struct TF_AllocatorAttributes {
      size_t struct_size;
      // Set boolean to 1 for CPU allocation, else 0.
      TF_Bool on_host;
    } TF_AllocatorAttributes;
    
    #define TF_ALLOCATOR_ATTRIBUTES_STRUCT_SIZE \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 16:40:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/sizeof_test.go

    		{FuncArgs{}, 4, 8},
    		{ChanArgs{}, 4, 8},
    		{Ptr{}, 4, 8},
    		{Slice{}, 4, 8},
    	}
    
    	for _, tt := range tests {
    		want := tt._32bit
    		if _64bit {
    			want = tt._64bit
    		}
    		got := reflect.TypeOf(tt.val).Size()
    		if want != got {
    			t.Errorf("unsafe.Sizeof(%T) = %d, want %d", tt.val, got, want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:08:44 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. src/unique/clone_test.go

    }
    
    func cSeq(stringOffsets ...uintptr) cloneSeq {
    	return cloneSeq{stringOffsets: stringOffsets}
    }
    
    func testCloneSeq[T any](t *testing.T, want cloneSeq) {
    	typName := reflect.TypeFor[T]().Name()
    	typ := abi.TypeOf(*new(T))
    	t.Run(typName, func(t *testing.T) {
    		got := makeCloneSeq(typ)
    		if !reflect.DeepEqual(got, want) {
    			t.Errorf("unexpected cloneSeq for type %s: got %#v, want %#v", typName, got, want)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/shape_inference.h

      PartialTensorShape shape;
    
      // If the argument is a resource variable, the type and shape of the
      // variable's value.
      DataType handle_type = DT_INVALID;
      PartialTensorShape handle_shape;
    };
    typedef std::unordered_map<string, std::vector<InferredShape>> GraphShapeInfo;
    
    // Infer shapes for all Tensors in a graph, and save them in a map.  The vector
    // for a Node contains the information about each of its outputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top