Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,993 for f$ (0.03 sec)

  1. pkg/kubelet/container/testing/fake_runtime.go

    }
    
    func (f *FakeRuntime) AssertKilledContainers(containers []string) bool {
    	f.Lock()
    	defer f.Unlock()
    	return f.assertList(containers, f.KilledContainers)
    }
    
    func (f *FakeRuntime) Type() string {
    	return f.RuntimeType
    }
    
    func (f *FakeRuntime) Version(_ context.Context) (kubecontainer.Version, error) {
    	f.Lock()
    	defer f.Unlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    	Value   interface{}
    }
    
    func (f *fakeResourceManager) Expect() ResourceManager {
    	return &f.expect
    }
    
    func (f *fakeResourceManager) HasExpectedNumberActions() bool {
    	f.lock.RLock()
    	defer f.lock.RUnlock()
    
    	f.expect.lock.RLock()
    	defer f.expect.lock.RUnlock()
    
    	return len(f.Actions) >= len(f.expect.Actions)
    }
    
    func (f *fakeResourceManager) Validate() error {
    	f.lock.RLock()
    	defer f.lock.RUnlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    	defer f.Unlock()
    	f.Stopped = false
    	f.result = make(chan Event, DefaultChanSize)
    }
    
    func (f *RaceFreeFakeWatcher) ResultChan() <-chan Event {
    	f.Lock()
    	defer f.Unlock()
    	return f.result
    }
    
    // Add sends an add event.
    func (f *RaceFreeFakeWatcher) Add(obj runtime.Object) {
    	f.Lock()
    	defer f.Unlock()
    	if !f.Stopped {
    		select {
    		case f.result <- Event{Added, obj}:
    			return
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  4. src/cmd/compile/internal/syntax/type.go

    func (f exprFlags) Assignable() bool      { return f&64 != 0 }
    func (f exprFlags) HasOk() bool           { return f&128 != 0 }
    func (f exprFlags) IsRuntimeHelper() bool { return f&256 != 0 } // a runtime function called from transformed syntax
    
    func (f *exprFlags) SetIsVoid()          { *f |= 1 }
    func (f *exprFlags) SetIsType()          { *f |= 2 }
    func (f *exprFlags) SetIsBuiltin()       { *f |= 4 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_test.cc

      collector.Collect(
          /*min=*/1.f, /*max=*/16.f, /*histogram=*/{1, 0, 3, 5, 7, 6, 5, 0});
    
      std::optional<CalibrationStatistics> statistics = collector.GetStatistics();
      EXPECT_TRUE(statistics.has_value());
      EXPECT_EQ(statistics.value().histogram_statistics().lower_bound(), 0.f);
      EXPECT_EQ(statistics.value().histogram_statistics().bin_width(), 2.f);
      // Trailing zeros should be removed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. pkg/controller/deployment/deployment_controller_test.go

    		pods = append(pods, p1, p2)
    		objects = append(objects, p1, p2)
    	}
    
    	f.dLister = append(f.dLister, d)
    	f.rsLister = append(f.rsLister, rs1, rs2)
    	f.podLister = append(f.podLister, pods...)
    	f.objects = append(f.objects, d, rs1, rs2)
    	f.objects = append(f.objects, objects...)
    
    	// Start the fixture.
    	c, informers, err := f.newController(ctx)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/match/matchers_test.go

    }
    
    func (f fakeInstance) PortForName(name string) echo.Port {
    	return f.Config().Ports.MustForName(name)
    }
    
    func (f fakeInstance) Config() echo.Config {
    	cfg := echo.Config(f)
    	_ = cfg.FillDefaults(nil)
    	return cfg
    }
    
    func (f fakeInstance) ServiceName() string {
    	return f.Config().Service
    }
    
    func (f fakeInstance) NamespaceName() string {
    	return f.Config().NamespaceName()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/go/types/generate_test.go

    	"lookup.go":           func(f *ast.File) { fixTokenPos(f) },
    	"main_test.go":        nil,
    	"map.go":              nil,
    	"mono.go": func(f *ast.File) {
    		fixTokenPos(f)
    		insertImportPath(f, `"go/ast"`)
    		renameSelectorExprs(f, "syntax.Expr->ast.Expr")
    	},
    	"named.go":  func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/fmt/format.go

    func (f *fmt) pad(b []byte) {
    	if !f.widPresent || f.wid == 0 {
    		f.buf.write(b)
    		return
    	}
    	width := f.wid - utf8.RuneCount(b)
    	if !f.minus {
    		// left padding
    		f.writePadding(width)
    		f.buf.write(b)
    	} else {
    		// right padding
    		f.buf.write(b)
    		f.writePadding(width)
    	}
    }
    
    // padString appends s to f.buf, padded on left (!f.minus) or right (f.minus).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. pkg/volume/testing/volume_host.go

    }
    
    func (f *fakeVolumeHost) GetKubeClient() clientset.Interface {
    	return f.kubeClient
    }
    
    func (f *fakeVolumeHost) GetMounter(pluginName string) mount.Interface {
    	return f.mounter
    }
    
    func (f *fakeVolumeHost) GetSubpather() subpath.Interface {
    	return f.subpather
    }
    
    func (f *fakeVolumeHost) GetPluginMgr() *VolumePluginMgr {
    	return f.pluginMgr
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top