Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkModel (0.09 sec)

  1. src/os/os_test.go

    		t.Fatalf("chmod %s %#o: %s", f.Name(), fm, err)
    	}
    	checkMode(t, f.Name(), fm)
    
    	fm = FileMode(0123)
    	if runtime.GOOS == "windows" {
    		fm = FileMode(0666) // read-write file
    	}
    	if err := f.Chmod(fm); err != nil {
    		t.Fatalf("chmod %s %#o: %s", f.Name(), fm, err)
    	}
    	checkMode(t, f.Name(), fm)
    }
    
    func checkSize(t *testing.T, f *File, size int64) {
    	t.Helper()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	stopCh := make(chan struct{})
    	obj := config.NewFunc()
    	// Give this error when it is constructed rather than when you get the
    	// first watch item, because it's much easier to track down that way.
    	if err := runtime.CheckCodec(config.Codec, obj); err != nil {
    		return nil, fmt.Errorf("storage codec doesn't seem to match given type: %v", err)
    	}
    
    	var indexedTrigger *indexedTriggerFunc
    	if config.IndexerFuncs != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top