- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,918 for f$ (0.03 sec)
-
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) -
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) -
src/internal/types/testdata/fixedbugs/issue62157.go
b = f(a, b) b = f(b, a) // Defined directed channels win over defined bidirectional channels. A = f(A, a) A = f(a, A) B = f(B, b) B = f(b, B) f(a, b, B) f(a, B, b) f(b, B, a) f(b, a, B) f(B, a, b) f(B, b, a) // Differently named channel types conflict irrespective of channel direction. f(A, B /* ERROR "type namedB of B does not match inferred type namedA for T" */)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 23:22:35 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/mfixalloc.go
if f.zero { memclrNoHeapPointers(v, f.size) } return v } if uintptr(f.nchunk) < f.size { f.chunk = uintptr(persistentalloc(uintptr(f.nalloc), 0, f.stat)) f.nchunk = f.nalloc } v := unsafe.Pointer(f.chunk) if f.first != nil { f.first(f.arg, v) } f.chunk = f.chunk + f.size f.nchunk -= uint32(f.size) f.inuse += f.size return v } func (f *fixalloc) free(p unsafe.Pointer) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 24 20:28:25 UTC 2023 - 3.1K bytes - Viewed (0) -
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) -
src/go/token/position_test.go
// add file and verify name and size f := fset.AddFile(test.filename, fset.Base()+delta, test.size) if f.Name() != test.filename { t.Errorf("got filename %q; want %q", f.Name(), test.filename) } if f.Size() != test.size { t.Errorf("%s: got file size %d; want %d", f.Name(), f.Size(), test.size) } if fset.File(f.Pos(0)) != f { t.Errorf("%s: f.Pos(0) was not found in f", f.Name()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 14.3K bytes - Viewed (0) -
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) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go
overrides.AuthInfo.Token = *f.BearerToken } if f.Impersonate != nil { overrides.AuthInfo.Impersonate = *f.Impersonate } if f.ImpersonateUID != nil { overrides.AuthInfo.ImpersonateUID = *f.ImpersonateUID } if f.ImpersonateGroup != nil { overrides.AuthInfo.ImpersonateGroups = *f.ImpersonateGroup } if f.Username != nil { overrides.AuthInfo.Username = *f.Username } if f.Password != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 11 15:04:11 UTC 2023 - 16.9K bytes - Viewed (0) -
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) -
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)