Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for typeOff (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		return schema.GroupVersionKind{}, err
    	}
    	gvk, ok := storageVersioner.KindForGroupVersionKinds(fqKinds)
    	if !ok {
    		return schema.GroupVersionKind{}, fmt.Errorf("cannot find the storage version kind for %v", reflect.TypeOf(object))
    	}
    	return gvk, nil
    }
    
    // GetResourceKind returns the external group version kind registered for the given storage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		}
    		for key, value := range config.IndexerFuncs {
    			if value != nil {
    				indexedTrigger = &indexedTriggerFunc{
    					indexName:   key,
    					indexerFunc: value,
    				}
    			}
    		}
    	}
    
    	if config.Clock == nil {
    		config.Clock = clock.RealClock{}
    	}
    	objType := reflect.TypeOf(obj)
    	cacher := &Cacher{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. tensorflow/c/kernels_test.cc

        EXPECT_EQ(expected_list_size, list_size);                              \
        EXPECT_EQ(expected_total_size, total_size);                            \
      } while (0)
    
    typedef void* (*MyCreateFuncWithAttr)(TF_OpKernelConstruction*);
    class TestKernelAttr : public ::testing::Test {
     public:
      TestKernelAttr() {}
      ~TestKernelAttr() override {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  4. src/encoding/json/decode_test.go

    				if !equalError(err, tt.err) {
    					t.Fatalf("%s: checkValid error: %#v", tt.Where, err)
    				}
    			}
    			if tt.ptr == nil {
    				return
    			}
    
    			typ := reflect.TypeOf(tt.ptr)
    			if typ.Kind() != reflect.Pointer {
    				t.Fatalf("%s: unmarshalTest.ptr %T is not a pointer type", tt.Where, tt.ptr)
    			}
    			typ = typ.Elem()
    
    			// v = new(right-type)
    			v := reflect.New(typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    			}
    			// Failed as expected, but does it fail for the expected reason.
    			if actualErr != nil && !testCase.shouldPass {
    				if reflect.TypeOf(actualErr) != reflect.TypeOf(testCase.expectedErr) {
    					t.Errorf("%s: Expected to fail with error \"%s\", but instead failed with error \"%s\"", instanceType, testCase.expectedErr, actualErr)
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                val typeArgument = typeArguments[index]
                if (typeArgument !is FirTypeProjectionWithVariance || typeArgument.variance != Variance.INVARIANT) return emptyMap()
                result[typeParameter] = typeArgument.typeRef.coneType.asKtType()
            }
    
            return result
        }
    
        private fun FirArrayLiteral.toTypeArgumentsMapping(
            partiallyAppliedSymbol: KaPartiallyAppliedSymbol<*, *>,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  7. src/sync/atomic/atomic_test.go

    		_ uint32
    		i Int64
    	}
    	if o := reflect.TypeOf(&signed).Elem().Field(1).Offset; o != 8 {
    		t.Fatalf("Int64 offset = %d, want 8", o)
    	}
    	if p := reflect.ValueOf(&signed).Elem().Field(1).Addr().Pointer(); p&7 != 0 {
    		t.Fatalf("Int64 pointer = %#x, want 8-aligned", p)
    	}
    
    	var unsigned struct {
    		_ uint32
    		i Uint64
    	}
    	if o := reflect.TypeOf(&unsigned).Elem().Field(1).Offset; o != 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  8. src/regexp/testdata/testregex.c

    #ifdef REG_DISCIPLINE
    
    
    #include <stk.h>
    
    typedef struct Disc_s
    {
    	regdisc_t	disc;
    	int		ordinal;
    	Sfio_t*		sp;
    } Disc_t;
    
    static void*
    compf(const regex_t* re, const char* xstr, size_t xlen, regdisc_t* disc)
    {
    	Disc_t*		dp = (Disc_t*)disc;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    		t.Fatalf("unexpected response: %v %t %#v", err, singleItemImplied, test.Infos)
    	}
    
    	errs, ok := err.(utilerrors.Aggregate)
    	if !ok {
    		t.Fatalf("unexpected error: %v", reflect.TypeOf(err))
    	}
    	if len(errs.Errors()) != 2 {
    		t.Errorf("unexpected errors %v", errs)
    	}
    }
    
    func TestHasNames(t *testing.T) {
    	basename := filepath.Base(os.Args[0])
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/elf.go

    	sh.Off = resoff - uint64(n)
    	sh.Size = uint64(n)
    	sh.Type = uint32(elf.SHT_MIPS_ABIFLAGS)
    	sh.Flags = uint64(elf.SHF_ALLOC)
    
    	return n
    }
    
    // Layout is given by this C definition:
    //
    //	typedef struct
    //	{
    //	  /* Version of flags structure.  */
    //	  uint16_t version;
    //	  /* The level of the ISA: 1-5, 32, 64.  */
    //	  uint8_t isa_level;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top